change tag name

This commit is contained in:
vincent 2022-06-19 08:43:31 +02:00
parent 66276c543f
commit 5990f2178c

View File

@ -73,7 +73,7 @@ scrape_configs:
replacement: '$1'
- source_labels: [__meta_consul_service_id]
regex: '_nomad-task-([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})-.*'
target_label: 'task_id'
target_label: 'alloc_id'
replacement: '$1'
- source_labels: [__meta_consul_service]
target_label: job