Skip to main content

otel_connectivity_probe

Function otel_connectivity_probe 

Source
pub fn otel_connectivity_probe(cfg: &TracingConfig) -> Result<()>
Expand description

Build a tiny, separate OTLP pipeline and export a single span to verify connectivity. This does not depend on tracing_subscriber; it uses SDK directly.

ยงErrors

Returns an error if the OTLP exporter cannot be built or the probe fails.