Add home assistant to prometheus
Some checks failed
Run nix flake check / flake-check (push) Failing after 15m18s
Some checks failed
Run nix flake check / flake-check (push) Failing after 15m18s
This commit is contained in:
parent
8d47d0a70c
commit
aa2cbcda60
@ -165,6 +165,16 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "home-assistant";
|
||||||
|
scrape_interval = "60s";
|
||||||
|
metrics_path = "/api/prometheus";
|
||||||
|
static_configs = [
|
||||||
|
{
|
||||||
|
targets = [ "ha1.home.2rjus.net:8123" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user