Package org.apache.solr.opentelemetry
Class OtelTracerConfigurator
- java.lang.Object
-
- org.apache.solr.core.TracerConfigurator
-
- org.apache.solr.opentelemetry.OtelTracerConfigurator
-
- All Implemented Interfaces:
NamedListInitializedPlugin
public class OtelTracerConfigurator extends TracerConfigurator
OpenTracing TracerConfigurator implementation which exports spans to OpenTelemetry in OTLP format. This impl re-uses the existing OpenTracing instrumentation through a shim, and takes care of properly closing the backing Tracer when Solr shuts down.
-
-
Constructor Summary
Constructors Constructor Description OtelTracerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opentracing.Tracer
getTracer()
-
Methods inherited from class org.apache.solr.core.TracerConfigurator
loadTracer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
-
-
-
Method Detail
-
getTracer
public io.opentracing.Tracer getTracer()
- Specified by:
getTracer
in classTracerConfigurator
-
-