Skip to content

Commit d2cc056

Browse files
authored
Update the example config so that it works
`labels` -> `external_labels` `target_groups` -> `static_configs`
1 parent 7c7160d commit d2cc056

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/prometheus/prometheus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ global:
22
scrape_interval: 10s
33
evaluation_interval: 10s
44

5-
labels:
5+
external_labels:
66
monitor: django-monitor
77

88
rule_files:
99
- "django.rules"
1010

1111
scrape_configs:
1212
- job_name: "django"
13-
target_groups:
14-
- targets: ["localhost:8000"]
13+
static_configs:
14+
- targets: ["localhost:8000"]

0 commit comments

Comments
 (0)