[ 
https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated SOLR-10654:
--------------------------------
    Description: 
Expose metrics via a `wt=prometheus` response type.

Example scape_config in prometheus.yml:
{code:java}
scrape_configs:

  - job_name: 'solr'

    metrics_path: '/solr/admin/metrics'

    params:
      wt: ["prometheus"]

    static_configs:
      - targets: ['localhost:8983']

{code}
Rationale for having this despite the "Prometheus Exporter".  They have 
different strengths and weaknesses.

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

Example scape_config in prometheus.yml:

{code}
scrape_configs:

  - job_name: 'solr'

    metrics_path: '/solr/admin/metrics'

    params:
      wt: ["prometheus"]

    static_configs:
      - targets: ['localhost:8983']

{code}


> Expose Metrics in Prometheus format DIRECTLY from Solr
> ------------------------------------------------------
>
>                 Key: SOLR-10654
>                 URL: https://issues.apache.org/jira/browse/SOLR-10654
>             Project: Solr
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Keith Laban
>            Priority: Major
>         Attachments: prometheus_metrics.txt
>
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> Expose metrics via a `wt=prometheus` response type.
> Example scape_config in prometheus.yml:
> {code:java}
> scrape_configs:
>   - job_name: 'solr'
>     metrics_path: '/solr/admin/metrics'
>     params:
>       wt: ["prometheus"]
>     static_configs:
>       - targets: ['localhost:8983']
> {code}
> Rationale for having this despite the "Prometheus Exporter".  They have 
> different strengths and weaknesses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to