diff --git a/CHANGELOG.md b/CHANGELOG.md index bad878d9ea7..36e67d49419 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ release. ([#1935](https://github.com/open-telemetry/opentelemetry-specification/pull/1935)) - Add clarifications on how to handle numerical limits. ([#2007](https://github.com/open-telemetry/opentelemetry-specification/pull/2007)) +- Add environment variables for Periodic exporting MetricReader. + ([#2038](https://github.com/open-telemetry/opentelemetry-specification/pull/2038)) ### Logs diff --git a/specification/sdk-environment-variables.md b/specification/sdk-environment-variables.md index 2e360272810..2e1a9bfe57f 100644 --- a/specification/sdk-environment-variables.md +++ b/specification/sdk-environment-variables.md @@ -192,6 +192,13 @@ Known values for `OTEL_METRICS_EXEMPLAR_FILTER` are: - `"all"`: All measurements are eligible for exemplar sampling. - `"with_sampled_trace"`: Only allow measurements with a sampled parent span in context. +### Periodic exporting MetricReader + +| Name | Description | Default | Notes | +| ----------------------------- | ----------------------------------------------------------------------------- | ------- | ----- | +| `OTEL_METRIC_EXPORT_INTERVAL` | The time interval (in milliseconds) between the start of two export attempts. | 60000 | | +| `OTEL_METRIC_EXPORT_TIMEOUT` | Maximum allowed time (in milliseconds) to export data. | 30000 | | + ## Language Specific Environment Variables To ensure consistent naming across projects, this specification recommends that language specific environment variables are formed using the following convention: