mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
e2e: Account for non-default region in Prometheus scrape config. (#24807)
This commit is contained in:
@@ -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(.*)'
|
||||
|
||||
Reference in New Issue
Block a user