View Source otel_simple_processor (opentelemetry v1.4.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

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.
-spec start_link(#{name := atom() | list()}) -> {ok, pid(), map()}.
Starts a Simple Span Processor.