You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "mlbiscoc (via GitHub)" <gi...@apache.org> on 2025/09/24 17:35:02 UTC

Re: [PR] SOLR-17798: Integrate SDK OTLP metric exporter [solr]

mlbiscoc commented on code in PR #3413:
URL: https://github.com/apache/solr/pull/3413#discussion_r2376531306


##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -1447,6 +1447,9 @@ public void shutdown() {
             SolrMetricManager.getRegistryName(SolrInfoBean.Group.jvm), metricTag);
         metricManager.unregisterGauges(
             SolrMetricManager.getRegistryName(SolrInfoBean.Group.jetty), metricTag);
+
+        // Close all OTEL meter providers and metrics
+        metricManager.closeAllRegistries();

Review Comment:
   Added this to close all the registries on core container shutdown.



-- 
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