Skip to main content

Crate reth_tracing_otlp

Crate reth_tracing_otlp 

Source
Expand description

With the otlp feature, 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.
SdkTracerProvider
Creator and registry of named [SdkTracer] instances.

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.
span_layer_with_provider
Creates an OTLP span layer and returns its provider for explicit flush and shutdown.