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

MetricsHandler should support multiple prefixes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.4, 7.0
    • 6.4, 7.0
    • metrics
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: