mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -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"]
|
|
}
|
|
]
|