Class TraceContextSpanContext

java.lang.Object
co.elastic.apm.opentracing.TraceContextSpanContext
All Implemented Interfaces:
ApmSpanContext, io.opentracing.SpanContext

public class TraceContextSpanContext extends Object implements ApmSpanContext
  • Method Details

    • toTraceId

      public String toTraceId()
      Specified by:
      toTraceId in interface io.opentracing.SpanContext
    • toSpanId

      public String toSpanId()
      Specified by:
      toSpanId in interface io.opentracing.SpanContext
    • baggageItems

      public Iterable<Map.Entry<String,String>> baggageItems()
      Specified by:
      baggageItems in interface io.opentracing.SpanContext
    • getTraceContext

      @Nullable public Object getTraceContext()
      Specified by:
      getTraceContext in interface ApmSpanContext