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

Add per-stage RequestHandler metrics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, 8.0
    • Component/s: metrics
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: