metrics: Add size limit to victoriametrics

pull/92/head
Tristan Daniël Maat 2023-10-13 03:43:03 +02:00
parent 759a9c7c0c
commit eb3bd485c4
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 3 additions and 0 deletions

View File

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