David Smiley created SOLR-17432:
-----------------------------------
Summary: Enable use of OTEL Agent
Key: SOLR-17432
URL: https://issues.apache.org/jira/browse/SOLR-17432
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: tracing
Reporter: David Smiley
Assignee: David Smiley
The [OpenTelemetry Java Agent
|https://opentelemetry.io/docs/zero-code/java/agent/]is really powerful,
supporting {{WithSpan}} annotations and auto-instrumentation of many libraries
like the AWS SDK. It also isolates its transitive dependencies in another
classloader so as not to conflict with Solr's choices. Solr currently only
supports OTEL via Solr itself calling into OTEL to initialize. This ticket
proposes _also_ supporting recognizing that the OTEL agent is loaded, and if so
then using that without any change to solr.xml.
Without this, someone can write a trivial TracerConfigurator and configure it
in solr.xml but ideally Solr should detect the situation. If you want to run
tests with tracing (an overlooked use of tracing!), it's annoying to go touch
the pertinent solr.xml.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]