This module provides tools to intercept and process signals globally:
InterceptableSpanExporter
InterceptableMetricExporter
InterceptableLogRecordExporter
EventToSpanEventBridge
is a LogRecordProcessor
which records events (i.e. log records with an event.name
attribute) as span events for the current span if:
- The log record has a valid span context
Span.current()
returns a span whereSpan.isRecording()
is true
For details of how the event log record is translated to span event, see EventToSpanEventBridge Javadoc.
EventToSpanEventBridge
can be referenced in declarative configuration as follows:
# Configure tracer provider as usual, omitted for brevity
tracer_provider: ...
logger_provider:
processors:
# TODO(jack-berg): remove "{}" after releasing [opentelemetry-java#6891](https://github.com/open-telemetry/opentelemetry-java/pull/6891/files)
- event_to_span_event_bridge: {}
- Cesar Munoz, Elastic
- Jack Berg, New Relic
- Jason Plumb, Splunk
Learn more about component owners in component_owners.yml.