Skip to content

Commit

Permalink
Update observability-with-otel.md prometheus yaml error (dotnet#37039)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored and IEvangelist committed Oct 2, 2023
1 parent 85c7cce commit 0d71c33
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0d71c33

Please sign in to comment.