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§
- Otlp
Tracing Config - OTLP trace export configuration.
- Telemetry
Guard - Flushes batched spans when dropped or explicitly shut down.
Functions§
- init_
otlp_ tracing - Install an OTLP/gRPC exporter and a W3C Trace Context propagator.