mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
service/navidrome: add alert if nothing found
This commit is contained in:
parent
d8167a55ab
commit
10ed6d0ec4
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
my.services.prometheus.rules = {
|
||||||
|
navidrome_not_enough_albums = {
|
||||||
|
condition = ''http_navidrome_album_count != 1'';
|
||||||
|
description = "navidrome: not enough albums as expected: {{$value}}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
webapps.apps.navidrome = {
|
webapps.apps.navidrome = {
|
||||||
dashboard = {
|
dashboard = {
|
||||||
name = "Music";
|
name = "Music";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue