mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00: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"
|
|
}
|
|
}
|