Class InstrumenterContext
java.lang.Object
io.opentelemetry.instrumentation.api.internal.InstrumenterContext
Helper class for sharing computed values between different
AttributesExtractors and
SpanNameExtractor called in the start phase of the Instrumenter.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TcomputeIfAbsent(String key, Function<String, T> function) static voidreset()
-
Method Details
-
computeIfAbsent
-
reset
public static void reset()
-