Class SpanKey
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.instrumenter.SpanKey
-
public final class SpanKey extends Object
Makes span keys for specific instrumentation accessible to enrich and suppress spans.
-
-
Field Summary
Fields Modifier and Type Field Description static SpanKeyALL_CLIENTSstatic SpanKeyCONSUMER_PROCESSstatic SpanKeySERVER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable io.opentelemetry.api.trace.SpanfromContextOrNull(io.opentelemetry.context.Context context)io.opentelemetry.context.ContextstoreInContext(io.opentelemetry.context.Context context, io.opentelemetry.api.trace.Span span)
-