Class GenAiExceptionEventExtractors
java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.genai.internal.GenAiExceptionEventExtractors
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 <REQUEST> voidsetGenAiClientExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the GenAI client operation exception event name and severity.
-
Method Details
-
setGenAiClientExceptionEventExtractor
public static <REQUEST> void setGenAiClientExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the GenAI client operation exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via theotel.semconv.exception.signal.previewflag.
-