2026-08-29 16:04:50 +07:00
|
|
|
//! # mytheclipse-tracing
|
|
|
|
|
//!
|
|
|
|
|
//! Pre-built tracing layers combining all mytheclipse primitives with
|
|
|
|
|
//! optional export backends (OTLP, Jaeger, Zipkin).
|
|
|
|
|
|
2026-08-30 00:33:08 +07:00
|
|
|
#[cfg(any(
|
|
|
|
|
feature = "env",
|
|
|
|
|
feature = "otel",
|
|
|
|
|
feature = "jaeger",
|
|
|
|
|
feature = "zipkin"
|
|
|
|
|
))]
|
2026-08-29 16:04:50 +07:00
|
|
|
pub mod fmt;
|
|
|
|
|
pub mod otel;
|
|
|
|
|
|
2026-08-30 00:33:08 +07:00
|
|
|
#[cfg(any(
|
|
|
|
|
feature = "env",
|
|
|
|
|
feature = "otel",
|
|
|
|
|
feature = "jaeger",
|
|
|
|
|
feature = "zipkin"
|
|
|
|
|
))]
|
2026-08-29 16:04:50 +07:00
|
|
|
pub use fmt::TracingLayer;
|
|
|
|
|
#[cfg(any(feature = "otel", feature = "jaeger", feature = "full"))]
|
|
|
|
|
pub use otel::OtelLayer;
|