metrics: Add size limit to victoriametrics

This commit is contained in:
Tristan Daniël Maat 2023-10-13 03:43:03 +02:00
parent 6051151a08
commit 1c07fbec8f
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -1,6 +1,9 @@
{config, ...}: { {config, ...}: {
config.services.victoriametrics = { config.services.victoriametrics = {
enable = true; enable = true;
extraOptions = [
"-storage.minFreeDiskSpaceBytes=5GB"
];
scrapeConfigs = { scrapeConfigs = {
gitea = { gitea = {