From d24c2942cbac2ed0b2fb995185c60c47ab43f861 Mon Sep 17 00:00:00 2001 From: Alan West <3676547+alanwest@users.noreply.github.com> Date: Mon, 21 Mar 2022 23:08:08 -0700 Subject: [PATCH] Specify MetricReader defaults for stdout MetricExporter (#2415) --- CHANGELOG.md | 3 +++ specification/metrics/sdk_exporters/stdout.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd9a836c88..72ecbf69dc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,9 @@ release. ([#2379](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2379)). - Clarify that MetricReader has one-to-one mapping to MeterProvider. ([#2406](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2406)). +- Specify default configuration for a periodic metric reader that is associated with + the stdout metric exporter. + ([#2415](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2415)). - Clarify the manner in which aggregation and temporality preferences are encoded via MetricReader parameters "on the basis of instrument kind". Rename the environment variable diff --git a/specification/metrics/sdk_exporters/stdout.md b/specification/metrics/sdk_exporters/stdout.md index 1dc187cb18a..ac81923da74 100644 --- a/specification/metrics/sdk_exporters/stdout.md +++ b/specification/metrics/sdk_exporters/stdout.md @@ -18,4 +18,5 @@ If a language provides a mechanism to automatically configure a exporter (e.g., using the [`OTEL_METRICS_EXPORTER` environment variable](../../sdk-environment-variables.md#exporter-selection)), by default the exporter MUST be paired with a [periodic exporting -MetricReader](../sdk.md#periodic-exporting-metricreader). +MetricReader](../sdk.md#periodic-exporting-metricreader) +with a default `exportIntervalMilliseconds` of 10000.