View Source otel_simple_processor (opentelemetry v1.3.0)
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
Functions
set_exporter(Exporter)
deprecated
set_exporter(Exporter, Options)
deprecated
set_exporter(Name, Exporter, Options)
deprecated
Link to this section Functions
-spec force_flush(otel_span_processor:processor_config()) -> ok.
-spec on_end(opentelemetry:span(), otel_span_processor:processor_config()) -> true | dropped | {error, invalid_span} | {error, no_export_buffer}.
-spec on_start(otel_ctx:t(), opentelemetry:span(), otel_span_processor:processor_config()) -> opentelemetry:span().
This function is deprecated. Please use otel_tracer_provider.
This function is deprecated. Please use otel_tracer_provider.
-spec set_exporter(module(), term()) -> ok.
This function is deprecated. Please use otel_tracer_provider.
-spec set_exporter(atom(), module(), term()) -> ok.