Add metrics

This commit is contained in:
Tristan Daniël Maat 2023-09-25 03:32:04 +02:00
parent 2413eb32fb
commit 612b63b4b3
Signed by: tlater
GPG key ID: 49670FD774E43268
6 changed files with 113 additions and 4 deletions

View file

@ -16,6 +16,12 @@
# that operation needs to be performed manually on the system as
# well.
ensureUsers = [
{
name = "grafana";
ensurePermissions = {
"DATABASE grafana" = "ALL PRIVILEGES";
};
}
{
name = "nextcloud";
ensurePermissions = {
@ -25,6 +31,7 @@
];
ensureDatabases = [
"grafana"
"nextcloud"
];
};