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

MetricsHandler should support multiple prefixes.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4, 7.0
    • Fix Version/s: 6.4, 7.0
    • Component/s: metrics
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Some consumers of the /admin/metrics API need to retrieve only a number of specific metrics they are interested in, which don't share the same prefix. Additionally, selecting by "group" or "type" is insufficient when users need to retrieve metrics for a specific collection (all collections handled by a node belong to the same group "core").

      Concrete examples of this kind of use are in SOLR-9857 and SOLR-9858.

      The modification needed to support this in MetricsHandler is simple:

      • support multiple "prefix" parameters
      • support also "registryPrefix" parameter as an alternative to "group".

        Attachments

        1. SOLR-9960.patch
          11 kB
          Andrzej Bialecki

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: