[sdk-node] implement enviornment configuration for auto-paired PeriodicExportingMetricReader
#4655
Labels
needs:refinement
This issue needs to be refined/broken apart into sub-issues before implementation
pkg:sdk-node
spec-feature
This is a request to implement a new feature which is already specified by the OTel specification
type:feature
A feature with no sub-issues to address
Description
The specification defines that
PeriodicExporingMetricReader
s that are auto-paired with an exporter can be configured via environment variables.For this issue to be considered done we need to:
@opentelmetry/sdk-node
, where the automatic pairing from [sdk-node] automatically configure metrics exporter based on enviornment variables #4551 is implemented, read the env vars fromOTEL_METRIC_EXPORT_INTERVAL
/OTEL_METRIC_EXPORT_TIMEOUT
and configure the auto-pairedPeriodicExportingMetricReader
accordingly. Use defaults if the env vars are unset.Additional infomation
Original feature-request:
The text was updated successfully, but these errors were encountered: