prometheus: import from weather exporter
This commit is contained in:
parent
3b8a40fe95
commit
26d06a2ebf
@ -361,6 +361,11 @@ in
|
||||
metrics_path = "/api/prometheus";
|
||||
static_configs = [ { targets = [ "127.0.0.1:${toString myData.ports.hass}" ]; } ];
|
||||
}
|
||||
{
|
||||
job_name = "weather";
|
||||
scrape_interval = "1m";
|
||||
static_configs = [ { targets = [ "127.0.0.1:${toString myData.ports.exporters.weather}" ]; } ];
|
||||
}
|
||||
{
|
||||
job_name = "vno1-vinc.vincentas.jakst";
|
||||
static_configs = [ { targets = [ "${myData.hosts."vno1-vinc.vincentas.jakst".jakstIP}:9100" ]; } ];
|
||||
|
Loading…
Reference in New Issue
Block a user