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

Link to this section Functions

Link to this function

exporting(EventType, Event, Data)

View Source
-spec force_flush(otel_span_processor:processor_config()) -> ok.
Link to this function

idle(EventType, Event, Data)

View Source
-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.
Link to this function

set_exporter(Exporter, Options)

View Source
This function is deprecated. Please use otel_tracer_provider.
-spec set_exporter(module(), term()) -> ok.
Link to this function

set_exporter(Name, Exporter, Options)

View Source
This function is deprecated. Please use otel_tracer_provider.
-spec set_exporter(atom(), module(), term()) -> ok.