Skip to content

Commit

Permalink
Change Prometheus Exporter default host to localhost (open-telemetry#…
Browse files Browse the repository at this point in the history
…2282)

* Change Prometheus Exporter default host to localhost

* update changelog

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
  • Loading branch information
reyang and jmacd authored Jan 25, 2022
1 parent d4a4991 commit 2e514e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ release.
([#2210](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2210))
- Use UCUM units in Metrics Semantic Conventions.
([#2199](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2199))
- Changed default Prometheus Exporter host from `0.0.0.0` to `localhost`.
([#2282](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2282))

### Logs

Expand Down
2 changes: 1 addition & 1 deletion specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ thrift or protobuf. As of 1.0 of the specification, there

| Name | Description | Default |
| ----------------------------- | --------------------------------| ---------------------------- |
| OTEL_EXPORTER_PROMETHEUS_HOST | Host used by the Prometheus exporter | All addresses: "0.0.0.0"|
| OTEL_EXPORTER_PROMETHEUS_HOST | Host used by the Prometheus exporter | "localhost" |
| OTEL_EXPORTER_PROMETHEUS_PORT | Port used by the Prometheus exporter | 9464 |

## Exporter Selection
Expand Down

0 comments on commit 2e514e1

Please sign in to comment.