diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b813bfbbb0..18158bcbb9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ New: - Clarify env variables in otlp exporter ([#975](https://github.com/open-telemetry/opentelemetry-specification/pull/975)) +- Add Prometheus exporter environment variables + ([#2021](https://github.com/open-telemetry/opentelemetry-specification/pull/1021)). - Default propagators in un-configured API must be no-op ([#930](https://github.com/open-telemetry/opentelemetry-specification/pull/930)). - Define resource mapping for Jaeger exporters diff --git a/specification/sdk-environment-variables.md b/specification/sdk-environment-variables.md index 3671f6f3d7e..9ee48d896eb 100644 --- a/specification/sdk-environment-variables.md +++ b/specification/sdk-environment-variables.md @@ -42,6 +42,13 @@ See [OpenTelemetry Protocol Exporter Configuration Options](./protocol/exporter. | ----------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------ | | OTEL_EXPORTER_ZIPKIN_ENDPOINT | Endpoint for Zipkin traces | "http://localhost:9411/api/v2/spans" | +## Prometheus Exporter + +| Name | Description | Default | +| ----------------------------- | --------------------------------| ---------------------------- | +| OTEL_EXPORTER_PROMETHEUS_HOST | Host used by the Prometheus exporter | All addresses: "0.0.0.0"| +| OTEL_EXPORTER_PROMETHEUS_PORT | Port used by the Prometheus exporter | 9464 | + ## Exporter Selection | Name | Description | Default |