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

Support non-numeric metrics and a "compact" format of /admin/metrics

    Details

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

      Description

      Metrics API currently supports only numeric values. However, it's useful also to report non-numeric values such as eg. version, disk type, component state, some system properties, etc.

      Codahale Gauge<T> metric type can be used for this purpose, and convenience methods can be added to SolrMetricManager to make it easier to use.

        Attachments

        1. SOLR-10247.patch
          42 kB
          Andrzej Bialecki
        2. SOLR-10247.patch
          43 kB
          Andrzej Bialecki
        3. currentFormat.png
          143 kB
          Andrzej Bialecki
        4. compactFormat.png
          241 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: