You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "janhoy (via GitHub)" <gi...@apache.org> on 2026/03/04 22:02:36 UTC

[I] Support new /api/metrics prometheus endpoints [solr-operator]

janhoy opened a new issue, #820:
URL: https://github.com/apache/solr-operator/issues/820

   In Solr 10.0, released today, the Prometheus exporter is gone. Instead each solr node exposes prometheus-format metrics individually on `/api/metrics` or `/solr/admin/metrics`. 
   
   Users on Solr 9.x should still be able to run PrometheusExporter as before which will work with Solr 9.
   
   Users moving to Solr 10, who want metrics, should upgrade to a new Solr Operator which supports this new format, and stop using the exporter, since it won't work with Solr 10, which no longer exposes the old JSON based metrics format.
   
   The `SolrClouds` CRD and thus also the `solr` helm chart should make metrics exporting simple to use OOTB
   * Default to open `/api/metrics` endpoints, document how to configure a BasicAuth user with access to this endpoint
   * Add a new CRD key to enable prometheus ServiceMonitor pointing to the metrics endpoint, and make this key exposed as helm value
   * Make the operator manage these ServiceMonitors
   
   Users who want to push metrics to OTEL collector over OTLP can probably do this without custom operator support, by simply setting some environment variables to configure the OTEL SDK. Point users to relevant Solr documentation for this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] Support new metrics format for 10.0 [solr-operator]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on issue #820:
URL: https://github.com/apache/solr-operator/issues/820#issuecomment-6474183205

   Note that #827 already handles parts of this, e.g. what will happen if you ask for a `PrometheusExporter` on a solr10 cloud.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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