mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-18 00:26:04 -04:00
This change deprecates the `target_groups` option in favor of `static_configs`. The old configuration is still accepted but prints a warning. Configuration loading errors if both options are set.
5 lines
87 B
YAML
5 lines
87 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets:
|
|
- http://bad
|