From c3d768998eef31a942dc910c3b0cd1d11b24dc29 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Fri, 8 Dec 2023 15:12:13 +0000 Subject: [PATCH] restore comment --- sdk/metric/meter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/metric/meter.go b/sdk/metric/meter.go index 6f31fa03c60..423cba8bdf9 100644 --- a/sdk/metric/meter.go +++ b/sdk/metric/meter.go @@ -115,6 +115,7 @@ func (m *meter) int64ObservableInstrument(id Instrument, callbacks []metric.Int6 if err != nil { return inst, err } + // Drop aggregation if len(in) == 0 { continue } @@ -230,6 +231,7 @@ func (m *meter) float64ObservableInstrument(id Instrument, callbacks []metric.Fl if err != nil { return inst, err } + // Drop aggregation if len(in) == 0 { continue }