diff --git a/metric/meter.go b/metric/meter.go index 8e1917c3214..2520bc74af1 100644 --- a/metric/meter.go +++ b/metric/meter.go @@ -157,6 +157,8 @@ type Meter interface { // // If no instruments are passed, f should not be registered nor called // during collection. + // + // The function f needs to be concurrent safe. RegisterCallback(f Callback, instruments ...Observable) (Registration, error) }