1
0
Fork 0

Watch hera-user with prometheus

This commit is contained in:
Malte Brandy 2021-08-03 23:23:15 +02:00
parent 4836d77fb7
commit 8bee6fca2e
3 changed files with 7 additions and 2 deletions

View file

@ -16,6 +16,11 @@ with lib;
name = "apollo-user";
flaky = true;
}
{
host = "hera:9558";
name = "hera-user";
flaky = true;
}
{
host = "zeus:9100";
name = "zeus";

View file

@ -46,6 +46,7 @@ let
./roles/khard.nix
./roles/khal.nix
./roles/mode-switching.nix
./roles/systemd-exporter.nix
];
daily-driver = name: extra:
let
@ -67,7 +68,6 @@ let
./roles/pythia.nix
./roles/research.nix
./roles/sleep-nag.nix
./roles/systemd-exporter.nix
./roles/tinkering.nix
./roles/update_tasks.nix
];

View file

@ -226,7 +226,7 @@
"steppedLine": false,
"targets": [
{
"expr": "up{instance!=\"apollo:9100\"} +1 == 1",
"expr": "up{flaky!=\"true\"} +1 == 1",
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"