Class OpenTelemetrySpanContext

java.lang.Object
io.prometheus.metrics.tracer.otel.OpenTelemetrySpanContext

public class OpenTelemetrySpanContext extends Object
  • Field Details

  • Constructor Details

    • OpenTelemetrySpanContext

      public OpenTelemetrySpanContext()
  • Method Details

    • isAvailable

      public static boolean isAvailable()
    • getCurrentTraceId

      @Nullable public String getCurrentTraceId()
    • getCurrentSpanId

      @Nullable public String getCurrentSpanId()
    • isCurrentSpanSampled

      public boolean isCurrentSpanSampled()
    • markCurrentSpanAsExemplar

      public void markCurrentSpanAsExemplar()