otel_batch_processor (opentelemetry v1.0.0-rc.3) View Source
This module has the behaviour that each exporter must implement and creates the buffer of trace spans to be exported.
The exporter process can be configured to export the current finished spans based on timeouts and the size of the finished spans table.
Timeouts: exporting_timeout_ms: How long to let the exports run before killing. check_table_size_ms: Timeout to check the size of the export table. scheduled_delay_ms: How often to trigger running the exporters.
The size limit of the current table where finished spans are stored can be configured with themax_queue_size
option.
Link to this section Summary
Link to this section Functions
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
.