Commit 938276af authored by Julius Volz's avatar Julius Volz

Fix usage of anchored regex in federation example.

parent 7368d745
...@@ -71,7 +71,7 @@ Prometheus: ...@@ -71,7 +71,7 @@ Prometheus:
params: params:
'match[]': 'match[]':
- '{job="prometheus"}' - '{job="prometheus"}'
- '{__name__=~"^job:"}' - '{__name__=~"job:.*"}'
static_configs: static_configs:
- targets: - targets:
......
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