We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77aba22 commit e4cd6b6Copy full SHA for e4cd6b6
src/lib.rs
@@ -169,9 +169,14 @@ cfg_rt! {
169
RuntimeMetrics,
170
RuntimeMonitor,
171
};
172
- #[cfg(feature = "metrics-rs-integration")]
173
- pub use runtime::metrics_rs_integration::{RuntimeMetricsReporterBuilder, RuntimeMetricsReporter};
174
}
175
+#[cfg(all(tokio_unstable, feature = "rt", feature = "metrics-rs-integration"))]
+#[cfg_attr(
176
+ docsrs,
177
+ doc(cfg(all(tokio_unstable, feature = "rt", feature = "metrics-rs-integration")))
178
+)]
179
+pub use runtime::metrics_rs_integration::{RuntimeMetricsReporter, RuntimeMetricsReporterBuilder};
180
+
181
mod task;
182
pub use task::{Instrumented, TaskMetrics, TaskMonitor};
0 commit comments