Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11778

Add per-stage RequestHandler metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • metrics
    • None

    Description

      Currently RequestHandlerBase defines several metrics for keeping track of general-purpose requests. These metrics are also used in SearchHandler.

      However, query processing in SolrCloud consists of several (varying) stages, and each of these stages may result in additional shard requests. These details are not captured by the metrics, because they treat all requests the same way.

      In some applications it's important to know how many requests are user requests, and how many of them are generated internally by SolrCloud - for example, when diagnosing uneven distribution of requests across shards, or when autoscaling framework wants to detect "hot replicas". If we split the metrics at least into distributed vs. non-distributed requests then the numbers become more meaningful and representative of the global load vs. local load.

      Attachments

        1. SOLR-11778.patch
          7 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: