change tag name
This commit is contained in:
parent
66276c543f
commit
5990f2178c
@ -73,7 +73,7 @@ scrape_configs:
|
|||||||
replacement: '$1'
|
replacement: '$1'
|
||||||
- source_labels: [__meta_consul_service_id]
|
- 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})-.*'
|
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'
|
replacement: '$1'
|
||||||
- source_labels: [__meta_consul_service]
|
- source_labels: [__meta_consul_service]
|
||||||
target_label: job
|
target_label: job
|
||||||
|
Loading…
Reference in New Issue
Block a user