Commit 2db4059e authored by Fabian Reinartz's avatar Fabian Reinartz

Merge pull request #168 from brian-brazil/anchor-consul

Anchor tags in consul SD example.
parents 84bc9730 11c6bea2
...@@ -208,7 +208,7 @@ scrape_configs: ...@@ -208,7 +208,7 @@ scrape_configs:
target_label: 'instance' target_label: 'instance'
replacement: '$1' replacement: '$1'
- source_labels: ['__meta_consul_tags'] - source_labels: ['__meta_consul_tags']
regex: '(production|canary)' regex: ',(production|canary),'
target_label: 'group' target_label: 'group'
replacement: '$1' replacement: '$1'
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment