add victoria logs, use both

This commit is contained in:
nora 2026-06-04 20:10:12 +02:00
parent b49a602213
commit 5a28c30d16
3 changed files with 22 additions and 1 deletions

View file

@ -117,6 +117,10 @@
};
};
declarativePlugins = [
pkgs.grafanaPlugins.victoriametrics-logs-datasource
];
provision = {
enable = true;
datasources.settings = {
@ -144,6 +148,12 @@
access = "proxy";
url = "http://pyroscope.internal:4040";
}
{
name = "victorialogs";
type = "victoriametrics-logs-datasource";
access = "proxy";
url = "http://loki.internal:9428";
}
];
};
};
@ -267,4 +277,8 @@
createHome = true;
};
users.groups.pyroscope = { };
services.victorialogs = {
enable = true;
};
}