Should PeriodicExportingMetricReader
call forceFlush
on shutdown
?
#3659
Labels
PeriodicExportingMetricReader
call forceFlush
on shutdown
?
#3659
More context on open-telemetry/opentelemetry-specification#2983
Although the OpenTelemetry Specification does not state it (see issue above), other language SDKs (e.g. Python or Java) perform the effects of a
forceFlush
as part of the call toshutdown
. Inopentelemetry-js
, theMeterProvider.shutdown()
has a comment indicating that a call toshutdown
will flush all buffered data, but the implementation of the PeriodicExportingMetricReader.shutdown() does not.I'd like to discuss if Node should follow the same implementation, or if maintainers of this repo have any opinions on the
opentelemetry-specification
issue above. Thanks.The text was updated successfully, but these errors were encountered: