metrics: Add size limit to victoriametrics

This commit is contained in:
Tristan Daniël Maat 2023-10-13 03:43:03 +02:00
parent 759a9c7c0c
commit eb3bd485c4
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 = {