[ https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004814#comment-16004814 ]
Keith Laban commented on SOLR-10654: ------------------------------------ Jan, I think the problem would still be that each handler would most likely need their own very specific custom response format. If we were to do this we would need to expose them as a raw Filter or Servlet instead of a SolrRequestHandler. I'm not aware of anywhere else in solr where this is happening. The other option would be to add a custom response writer format for each metrics type, kind of like Iike I did here. > Expose Metrics in Prometheus format > ----------------------------------- > > Key: SOLR-10654 > URL: https://issues.apache.org/jira/browse/SOLR-10654 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics > Reporter: Keith Laban > > 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 (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org