Crate reth_tracing_otlp

Crate reth_tracing_otlp 

Source
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§

OtlpConfig
Configuration for OTLP trace export.
OtlpLogsConfig
Configuration for OTLP logs export.

Enums§

OtlpProtocol
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.