mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 09:34:05 -08:00
0f21bd31ca
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.
8 lines
124 B
JSON
8 lines
124 B
JSON
{
|
|
"targets": ["1.2.3.4:9100"],
|
|
"labels": {
|
|
"some_valid_label": "foo",
|
|
"oops:this-label-is-invalid": "bar"
|
|
}
|
|
}
|