Class OpenTelemetrySpanContext
java.lang.Object
io.prometheus.metrics.tracer.otel.OpenTelemetrySpanContext
-
Field Details
-
EXEMPLAR_ATTRIBUTE_NAME
- See Also:
-
EXEMPLAR_ATTRIBUTE_VALUE
- See Also:
-
-
Constructor Details
-
OpenTelemetrySpanContext
public OpenTelemetrySpanContext()
-
-
Method Details
-
isAvailable
public static boolean isAvailable() -
getCurrentTraceId
-
getCurrentSpanId
-
isCurrentSpanSampled
public boolean isCurrentSpanSampled() -
markCurrentSpanAsExemplar
public void markCurrentSpanAsExemplar()
-