Skip to main content

rama/
telemetry.rs

1//! Rama telemetry modules.
2
3#[cfg(feature = "dial9")]
4#[cfg_attr(docsrs, doc(cfg(feature = "dial9")))]
5pub mod dial9 {
6    //! dial9 runtime telemetry re-exports.
7
8    pub use ::rama_core::telemetry::dial9::*;
9}
10
11#[cfg(feature = "opentelemetry")]
12#[cfg_attr(docsrs, doc(cfg(feature = "opentelemetry")))]
13pub mod opentelemetry {
14    //! openelemetry module re-exports
15    //!
16    //! This module re-exports the crates supported and used by rama for (open) telemetry,
17    //! such that you can make use of it for custom metrics, registries and more.
18
19    pub use ::rama_core::telemetry::opentelemetry::*;
20
21    #[cfg(feature = "grpc")]
22    #[cfg_attr(docsrs, doc(cfg(feature = "grpc")))]
23    pub mod collector {
24        //! OTLP exporter integrations supported by rama.
25
26        pub use ::rama_grpc::service::opentelemetry::OtelExporter;
27    }
28}
29
30pub mod tracing;