metrics: Add metrics with victoriametrics + grafana

This commit is contained in:
Tristan Daniël Maat 2023-10-07 22:14:43 +02:00
parent 78a9eac9bb
commit 55a4aaf48b
Signed by: tlater
GPG key ID: 49670FD774E43268
22 changed files with 580 additions and 26 deletions
configuration/services

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"
];
};