Skip to content

Commit

Permalink
e2e: Account for non-default region in Prometheus scrape config. (#24807
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jrasell authored Jan 8, 2025
1 parent 34a34e7 commit 359571d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e/metrics/input/prometheus.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ scrape_configs:
- job_name: 'nomad_metrics'
nomad_sd_configs:
- server: 'http://127.0.0.1:6666'
region: '{{ env "NOMAD_REGION" }}'
relabel_configs:
- source_labels: ['__meta_nomad_tags']
regex: '(.*)monitor(.*)'
Expand Down

0 comments on commit 359571d

Please sign in to comment.