diff --git a/metric/instrument/asyncfloat64.go b/metric/instrument/asyncfloat64.go index e9ef2be26..cf0008e61 100644 --- a/metric/instrument/asyncfloat64.go +++ b/metric/instrument/asyncfloat64.go @@ -180,6 +180,7 @@ type Float64ObservableGaugeOption interface { // // Warning: methods may be added to this interface in minor releases. type Float64Observer interface { + // Observe records the float64 value with attributes. Observe(value float64, attributes ...attribute.KeyValue) } diff --git a/metric/instrument/asyncint64.go b/metric/instrument/asyncint64.go index e1f843ee3..752dcea0a 100644 --- a/metric/instrument/asyncint64.go +++ b/metric/instrument/asyncint64.go @@ -179,6 +179,7 @@ type Int64ObservableGaugeOption interface { // // Warning: methods may be added to this interface in minor releases. type Int64Observer interface { + // Observe records the int64 value with attributes. Observe(value int64, attributes ...attribute.KeyValue) }