global:
  scrape_interval: 10s
  evaluation_interval: 10s

  labels:
    monitor: django-monitor

rule_files:
- "django.rules"

scrape_configs:
- job_name: "django"
  target_groups:
  - targets: ["localhost:8000"]	

global:
  scrape_interval: 10s
  evaluation_interval: 10s

  external_labels:
    monitor: django-monitor

rule_files:
- "django.rules"

scrape_configs:
- job_name: "django"
  static_configs:
  - targets: ["localhost:8000"]

Update the example config so that it works
Update the example config so that it works

`labels` -> `external_labels`
`target_groups` -> `static_configs`