mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-15 10:04:07 -08:00
93548a8882
This commits adds file based service discovery which reads target groups from specified files. It detects changes based on file watches and regular refreshes.
12 lines
130 B
JSON
12 lines
130 B
JSON
[
|
|
{
|
|
"targets": ["localhost:9090", "example.org:443"],
|
|
"labels": {
|
|
"foo": "bar"
|
|
}
|
|
},
|
|
{
|
|
"targets": ["my.domain"]
|
|
}
|
|
]
|