Class RpcExceptionEventExtractors
java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.rpc.internal.RpcExceptionEventExtractors
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> voidsetRpcClientExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the RPC client exception event name and severity.static <REQUEST> voidsetRpcServerExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the RPC server exception event name and severity.
-
Method Details
-
setRpcClientExceptionEventExtractor
public static <REQUEST> void setRpcClientExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the RPC client exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via theotel.semconv.exception.signal.previewflag. -
setRpcServerExceptionEventExtractor
public static <REQUEST> void setRpcServerExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST, ?> builder) Configures the RPC server exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via theotel.semconv.exception.signal.previewflag.
-