janhoy commented on code in PR #3379:
URL: https://github.com/apache/solr/pull/3379#discussion_r2118268512
##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -465,6 +480,19 @@ public CoreContainer(NodeConfig config, CoresLocator
locator, boolean asyncSolrC
new SolrNamedThreadFactory("IndexFingerprintPool"));
}
+ private void initializeOpenTelemetrySdk() {
+ PluginInfo info = cfg.getTracerConfiguratorPluginInfo();
+
+ if (OpenTelemetryConfigurator.shouldAutoConfigOTEL()) {
+ OpenTelemetryConfigurator.autoConfigureOpenTelemetrySdk(loader);
+ } else if (info != null && info.isEnabled()) {
+ OpenTelemetryConfigurator.loadOpenTelemetrySdk(loader,
cfg.getTracerConfiguratorPluginInfo());
Review Comment:
Thanks. I like the similar naming better.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]