Commit 11c6bea2 authored by Brian Brazil's avatar Brian Brazil

Anchor tags in consul SD example.

parent 8bf820ff
...@@ -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