1 2 3 4 5 6 7 8 9 10 11 12 13
//! Metrics Export #[cfg(feature = "metrics")] #[cfg_attr(docsrs, doc(cfg(feature = "metrics")))] pub mod metrics; #[cfg(feature = "trace")] #[cfg_attr(docsrs, doc(cfg(feature = "trace")))] pub mod trace; /// Marker trait for errors returned by exporters pub trait ExportError: std::error::Error + Send + Sync + 'static { /// The name of exporter that returned this error fn exporter_name(&self) -> &'static str; }