module OpenTelemetry::Exporter::BufferedExporter
Overview
A BufferedExporter provides a channel that can receive data to export,
defines a start
method that will spawn a fiber to consume data that
enters the channel, and a handle
method that will handle each data
element as it is received.
Included Modules
Direct including types
Defined in:
exporters/buffered_exporter.crInstance Method Summary
- #batch_interval
- #batch_interval=(batch_interval)
- #batch_latency
- #batch_latency=(batch_latency)
- #batch_threshold
- #batch_threshold=(batch_threshold)
- #loop_and_receive
Instance methods inherited from module OpenTelemetry::Exporter::UnbufferedExporter
do_reap
do_reap,
export(elements : Array(Elements))export(element : Elements) export, handle(elements : Array(Elements))
handle(element) handle, inject_telemetry_attributes(element) inject_telemetry_attributes, loop_and_receive loop_and_receive, reaped? reaped?, start start
Constructor methods inherited from module OpenTelemetry::Exporter::UnbufferedExporter
new(*_junk, **_kwjunk)new(&) new