Skip to main content

SplunkAOOTLPExporter

OpenTelemetry OTLP span exporter preconfigured for Splunk AO. This exporter wraps the standard OTLPSpanExporter with deployment-aware configuration, authentication, and immutable routing. For most applications, use SplunkAOSpanProcessor instead, which provides a complete tracing solution. Routing is captured when the exporter is constructed and remains fixed for its lifetime. Applications that export to multiple destinations must use a separate exporter and span processor for each destination.

export

Export through the shared immutable normalization pipeline.

export_health

Return the current receiver-acknowledgement health snapshot.

force_flush

Flush the delegate exporter.

shutdown

Shut down the delegate exporter.

SplunkAOSpanProcessor

Complete OpenTelemetry span processor with integrated Splunk AO export functionality. This processor combines span processing and export capabilities into a single component that can be directly attached to any OpenTelemetry TracerProvider. It handles the complete lifecycle of spans from creation to export to Splunk AO. Project, agent-stream, and experiment routing is fixed when the processor’s exporter is constructed. Use separate processors and exporters for separate destinations. Examples

export_health

Return the current receiver-acknowledgement health snapshot.

exporter

Access to the underlying Splunk AO OTLP exporter instance.

force_flush

Force immediate export of all pending spans with specified timeout.

on_end

Handle span completion events by delegating to the underlying processor.

on_start

Handle span start events by delegating to the underlying processor.

processor

Access to the underlying OpenTelemetry span processor instance.

shutdown

Gracefully shutdown the processor and flush any remaining spans.

add_splunk_ao_span_processor

Construct or accept, register, and return a Splunk AO span processor.