Interface InternalExceptionEventExtractor<REQUEST>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Internal functional interface for exception event extraction.
This is temporary bridge API while exception event extraction is not available in the stable instrumentation API artifact. This interface should be revisited when a public API is added.
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 TypeMethodDescriptionvoidextract(io.opentelemetry.api.logs.LogRecordBuilder logRecordBuilder, io.opentelemetry.context.Context context, REQUEST request) Populates the exception eventLogRecordBuilderwith the event name, severity, and any additional attributes for the given context and request.
-
Method Details
-
extract
void extract(io.opentelemetry.api.logs.LogRecordBuilder logRecordBuilder, io.opentelemetry.context.Context context, REQUEST request) Populates the exception eventLogRecordBuilderwith the event name, severity, and any additional attributes for the given context and request.
-