Class TracingMetadata


  • @Experimental("Tracer metadata is a SmallRye specific feature for integrating with OpenTelemetry")
    public class TracingMetadata
    extends Object
    • Method Detail

      • empty

        public static TracingMetadata empty()
        Returns an empty tracing metadata.
        Returns:
        the empty instance
      • withPrevious

        public static TracingMetadata withPrevious​(io.opentelemetry.trace.Span span)
      • withSpan

        public TracingMetadata withSpan​(io.opentelemetry.trace.Span span)
      • getCurrentSpanContext

        public io.opentelemetry.trace.SpanContext getCurrentSpanContext()
      • getPreviousSpanContext

        public io.opentelemetry.trace.SpanContext getPreviousSpanContext()