View Source otel_span_processor behaviour (opentelemetry v1.0.3)
Link to this section Summary
Link to this section Types
Specs
processor_config() :: term().
Link to this section Callbacks
Specs
force_flush(processor_config()) -> ok | {error, term()}.
Specs
on_end(opentelemetry:span(), processor_config()) -> true | dropped | {error, invalid_span} | {error, no_export_buffer}.
Specs
on_start(otel_ctx:t(), opentelemetry:span(), processor_config()) -> opentelemetry:span().