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

MetricsHandler should support multiple prefixes.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment