Expand description
Provides tracing layers for OpenTelemetry that export spans, logs, and metrics to an OTLP
endpoint.
This module simplifies the integration of OpenTelemetry with OTLP export in Rust
applications. It allows for easily capturing and exporting distributed traces, logs,
and metrics to compatible backends like Jaeger, Zipkin, or any other
OpenTelemetry-compatible system.
Structs§
- Otlp
Config - Configuration for OTLP trace export.
- Otlp
Logs Config - Configuration for OTLP logs export.
Enums§
- Otlp
Protocol - OTLP transport protocol type
Functions§
- log_
layer - Creates a tracing layer that exports logs to an OTLP endpoint.
- span_
layer - Creates a tracing [
OpenTelemetryLayer] that exports spans to an OTLP endpoint.