Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update observability-with-otel.md prometheus yaml error #37039

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/core/diagnostics/observability-with-otel.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ Modify the Prometheus YAML configuration file to specify the port for your HTTP
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.

scrape_interval: 1s # poll very quickly for a more responsive demo
static_configs:
- targets: ["localhost:5212"]
- scrape_interval: 1s # poll very quickly for a more responsive demo
```

Start Prometheus, and look in the output for the port it's running on, typically 9090:
Expand Down