[ 
https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866001#comment-17866001
 ] 

ASF subversion and git services commented on SOLR-10654:
--------------------------------------------------------

Commit fd7d44771e0c35edb5373d22a499929b3e828469 in solr's branch 
refs/heads/pr/2550 from Matthew Biscocho
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=fd7d44771e0 ]

SOLR-10654: Metrics: New wt=prometheus option (#2405)

An alternative to the "Prometheus Exporter" in which each Solr node can return 
the Prometheus format natively from the MetricsHandler using `wt=prometheus` 
param.  It's much faster and architecturally simpler, albeit less flexible.

Co-authored-by: mbiscocho <mbisco...@bloomberg.net>
Co-authored-by: Christine Poerschke <cpoersc...@apache.org>
Co-authored-by: David Smiley <dsmi...@salesforce.com>

> 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: 7h 20m
>  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|https://issues.apache.org/jira/browse/SOLR-11795?focusedCommentId=17261423&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17261423]
>  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