View Source otel_simple_processor (opentelemetry v1.0.5)
This Span Processor synchronously exports each ended Span.
Use this processor if ending a Span should block until it has been exported. This is useful for cases like a serverless environment where the application will possibly be suspended after handling a request.Link to this section Summary
Link to this section Functions
Specs
force_flush(otel_span_processor:processor_config()) -> ok.
Specs
on_end(opentelemetry:span(), otel_span_processor:processor_config()) -> true | dropped | {error, invalid_span} | {error, no_export_buffer}.
Specs
on_start(otel_ctx:t(), opentelemetry:span(), otel_span_processor:processor_config()) -> opentelemetry:span().
Equivalent to set_exporter(Exporter, []).
Specs
set_exporter(module(), term()) -> ok.
Exporter
.