Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

OpenTelemetry setup for exporting the request spans emitted by the SDK.

Enable the otel feature and call init_otlp_tracing once at process startup. The server request path is instrumented even when this feature is disabled, so applications may also install their own tracing subscriber.

Structs§

OtlpTracingConfig
OTLP trace export configuration.
TelemetryGuard
Flushes batched spans when dropped or explicitly shut down.

Functions§

init_otlp_tracing
Install an OTLP/gRPC exporter and a W3C Trace Context propagator.