[ https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838265#comment-17838265 ]
Matthew Biscocho commented on SOLR-10654: ----------------------------------------- Created a draft [PR|https://github.com/apache/solr/pull/2405] for exposing prometheus metrics. Going to work on writing tests, but put up the draft to get some initial feedback on implementation. Output looks similar to the prometheus exporter. > 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: 20m > Remaining Estimate: 0h > > 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} -- 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