diff --git a/src/core/attributes.rs b/src/core/attributes.rs index 9c774ab..ab065e1 100755 --- a/src/core/attributes.rs +++ b/src/core/attributes.rs @@ -197,6 +197,7 @@ pub trait Observe { /// common. type Inner; /// Provide a source for a metric's values. + #[must_use = "must specify when to observe"] fn observe( &self, metric: impl Deref,