SimpleSpanProcessor that exports each span immediately on
end (trace/sdk.md §Simple processor L1076-L1084).
Uses a GenServer to serialize export calls — the exporter is never called concurrently (spec L1146-L1147).
Public API
| Function | Role |
|---|---|
start_link/1 | SDK (lifecycle) |
on_start/3, on_end/2, shutdown/2, force_flush/2 | SDK (Simple implementation) |
References
- OTel Trace SDK §Simple processor:
opentelemetry-specification/specification/trace/sdk.mdL1076-L1084 - Parent behaviour:
Otel.SDK.Trace.SpanProcessor
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(config :: Otel.SDK.Trace.SpanProcessor.config()) :: GenServer.on_start()