service/hedgedoc: add monitoring and dashboard

This commit is contained in:
Felix Buehler 2023-06-04 15:23:47 +02:00
parent 5f8f6f0263
commit ec4d6379d0
3 changed files with 834 additions and 0 deletions

View file

@ -67,6 +67,16 @@ in
src = ./navidrome.json; # sadly data source is not detected
});
# taken from https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/grafana/files/dashboards/Hedgedoc.json?ref_type=heads
hedgedoc = (buildGrafanaDashboard {
id = -1;
pname = "hedgedoc";
version = "1";
hash = lib.fakeSha256;
}).overrideAttrs (self: super: {
src = ./hedgedoc.json; # sadly data source is not detected
});
cadvisor = buildGrafanaDashboard {
id = 10619;
pname = "cadvisor";