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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • metrics
    • 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
          43 kB
          Andrzej Bialecki
        2. currentFormat.png
          143 kB
          Andrzej Bialecki
        3. compactFormat.png
          241 kB
          Andrzej Bialecki
        4. SOLR-10247.patch
          42 kB
          Andrzej Bialecki

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: