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

Expose Metrics in Prometheus format DIRECTLY from Solr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • metrics
    • None

    Description

      Expose metrics via a `wt=prometheus` response type.

      Example scape_config in prometheus.yml:

      scrape_configs:
      
        - job_name: 'solr'
      
          metrics_path: '/solr/admin/metrics'
      
          params:
            wt: ["prometheus"]
      
          static_configs:
            - targets: ['localhost:8983']
      
      

      Attachments

        1. prometheus_metrics.txt
          188 kB
          Matthew Biscocho

        Issue Links

          Activity

            People

              Unassigned Unassigned
              k317h Keith Laban
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m