Package co.elastic.apm.opentracing
Class ElasticApmTracer
java.lang.Object
co.elastic.apm.opentracing.ElasticApmTracer
- All Implemented Interfaces:
io.opentracing.Tracer,Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.opentracing.Tracer
io.opentracing.Tracer.SpanBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentracing.ScopeactivateSpan(io.opentracing.Span span) io.opentracing.Spanio.opentracing.Tracer.SpanBuildervoidclose()<C> io.opentracing.SpanContextextract(io.opentracing.propagation.Format<C> format, C carrier) <C> voidinject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier) co.elastic.apm.opentracing.ApmScopeManager
-
Constructor Details
-
ElasticApmTracer
public ElasticApmTracer()
-
-
Method Details
-
scopeManager
public co.elastic.apm.opentracing.ApmScopeManager scopeManager()- Specified by:
scopeManagerin interfaceio.opentracing.Tracer
-
activeSpan
- Specified by:
activeSpanin interfaceio.opentracing.Tracer
-
activateSpan
public io.opentracing.Scope activateSpan(io.opentracing.Span span) - Specified by:
activateSpanin interfaceio.opentracing.Tracer
-
buildSpan
- Specified by:
buildSpanin interfaceio.opentracing.Tracer
-
inject
public <C> void inject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier) - Specified by:
injectin interfaceio.opentracing.Tracer
-
extract
@Nullable public <C> io.opentracing.SpanContext extract(io.opentracing.propagation.Format<C> format, C carrier) - Specified by:
extractin interfaceio.opentracing.Tracer
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceio.opentracing.Tracer
-