prometheus: use pepe for hass data
This commit is contained in:
parent
576d694bcc
commit
7fca18371f
1 changed files with 7 additions and 4 deletions
|
@ -49,10 +49,10 @@
|
|||
scrape_interval = "5s";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [ "porani.private:19999" ];
|
||||
targets = [ "pepe.private:19999" ];
|
||||
labels = {
|
||||
service = "netdata";
|
||||
server = "porani";
|
||||
server = "pepe";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -88,11 +88,14 @@
|
|||
job_name = "home-assistant";
|
||||
scrape_interval = "60s";
|
||||
metrics_path = "/api/prometheus";
|
||||
# you can create this token on your user profile page
|
||||
# http://pepe.private:8123/profile
|
||||
bearer_token = lib.fileContents <secrets/prometheus/home-assistant/api_token>;
|
||||
static_configs = [{
|
||||
targets = [ "porani.private:8123" ];
|
||||
targets = [ "pepe.private:8123" ];
|
||||
labels = {
|
||||
service = "hass";
|
||||
server = "porani";
|
||||
server = "pepe";
|
||||
city = "essen";
|
||||
};
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue