ForceFlush and Shutdown do not collect pending measurements #3209
Labels
area:metrics
Part of OpenTelemetry Metrics
bug
Something isn't working
pkg:SDK
Related to an SDK package
Milestone
Both the
MeterProvider
'sForceFlush
andShutdown
methods say they flush pending telemetry:opentelemetry-go/sdk/metric/provider.go
Line 90 in 038248b
opentelemetry-go/sdk/metric/provider.go
Lines 105 to 106 in 038248b
They currently do not do this for
PeriodicReader
s.Example
main.go
:go.mod
:This outputs:
What I would expect to see:
The text was updated successfully, but these errors were encountered: