Skip to content

Commit

Permalink
prometheus: honor_labels to have the right job and instance (#743)
Browse files Browse the repository at this point in the history
Co-authored-by: Carter Socha <[email protected]>
Co-authored-by: Juliano Costa <[email protected]>
  • Loading branch information
3 people authored Feb 13, 2023
1 parent 8a28923 commit a0cd6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prometheus/prometheus-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ global:
scrape_interval: 5s
scrape_configs:
- job_name: otel
honor_labels: true
static_configs:
- targets:
- 'otelcol:9464'
Expand Down

0 comments on commit a0cd6c9

Please sign in to comment.