Package 

Class OtelSpanContext

  • All Implemented Interfaces:
    io.opentelemetry.api.trace.SpanContext

    
    public class OtelSpanContext
     implements SpanContext
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      OtelSpanContext(AgentSpan.Context delegate, boolean sampled, boolean remote, TraceState traceState)
    • Method Summary

      Modifier and Type Method Description
      AgentSpan.Context getDelegate()
      TraceState getTraceState()
      String getTraceId()
      String getSpanId()
      static SpanContext fromLocalSpan(AgentSpan span)
      static SpanContext fromRemote(AgentSpan.Context extracted, TraceState traceState)
      TraceFlags getTraceFlags()
      boolean isRemote()
      String toString()
      • Methods inherited from class io.opentelemetry.api.trace.SpanContext

        create, createFromRemoteParent, getInvalid, getSpanId, getSpanIdBytes, getTraceFlags, getTraceId, getTraceIdBytes, getTraceState, isRemote, isSampled, isValid
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait