opentelemetry-java-contrib/processors
jack-berg f183c87b95
Fix compilation errors due to declarative config breaking changes (#1784)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2025-03-14 09:17:53 -07:00
..
src Fix compilation errors due to declarative config breaking changes (#1784) 2025-03-14 09:17:53 -07:00
README.md processors: remove {} as #6891 follow-up (#1783) 2025-03-06 08:15:33 -08:00
build.gradle.kts Fix compilation errors due to declarative config breaking changes (#1784) 2025-03-14 09:17:53 -07:00

README.md

Processors

Interceptable exporters

This module provides tools to intercept and process signals globally:

  • InterceptableSpanExporter
  • InterceptableMetricExporter
  • InterceptableLogRecordExporter

Event to SpanEvent Bridge

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 where Span.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:
      - event_to_span_event_bridge:

Component owners

Learn more about component owners in component_owners.yml.