Expand description
OpenTelemetry integration (otel feature): W3C trace-context propagation, OTLP export, and
per-handler dispatch metrics.
Every public item is re-exported here; the two submodules organize the source, not the API.
- Observability: logs, metrics and traces of a running service, and the feature behind each.
- Propagation:
OpenTelemetry::consume_layeropens a span per delivery andOpenTelemetry::propagationcarries its trace context onto the replies; no SDK setup. - Export:
Otel::builderinstalls the OTLP exporters and thetracingbridge, andOtel::consume_layerandOtel::publish_layerrecord the dispatch metrics listed onOtel.
Re-exports§
pub use export::Otel;pub use export::OtelBuilder;pub use export::OtelConsumeHandler;pub use export::OtelConsumeLayer;pub use export::OtelInitError;pub use export::OtelPublishLayer;pub use export::PUBLISH_TIME_HEADER;pub use propagation::OpenTelemetry;pub use propagation::OpenTelemetryHandler;pub use propagation::OpenTelemetryLayer;pub use propagation::TracePropagation;
Modules§
- export
- OpenTelemetry SDK integration (
otelfeature): OTLP export for traces and metrics, and per-handler dispatch metrics after the messaging semantic conventions. - propagation
- W3C Trace Context propagation and consumer spans (part of the
otelfeature).