Class AttributesExtractorUtil
java.lang.Object
io.opentelemetry.instrumentation.api.internal.AttributesExtractorUtil
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> voidinternalSet(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.api.common.AttributeKey<T> key, T value) Sets thevaluewith the givenkeyto theAttributesBuilderifvalueis notnull.
-
Method Details
-
internalSet
public static <T> void internalSet(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.api.common.AttributeKey<T> key, @Nullable T value) Sets thevaluewith the givenkeyto theAttributesBuilderifvalueis notnull.
-