metrics: document Runtime::metrics (#6496)

This commit is contained in:
Kenny
2024-04-19 10:07:55 +02:00
committed by GitHub
parent 5ba12a7145
commit f3bfed30eb
+2 -1
View File
@@ -491,7 +491,8 @@ impl std::panic::RefUnwindSafe for Runtime {}
cfg_metrics! {
impl Runtime {
/// TODO
/// Returns a view that lets you get information about how the runtime
/// is performing.
pub fn metrics(&self) -> crate::runtime::RuntimeMetrics {
self.handle.metrics()
}