e2e: Account for non-default region in Prometheus scrape config. (#24807)

This commit is contained in:
James Rasell
2025-01-08 15:08:17 +01:00
committed by GitHub
parent 34a34e7233
commit 359571df01

View File

@@ -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(.*)'