metrics: Add size limit to victoriametrics
This commit is contained in:
parent
759a9c7c0c
commit
eb3bd485c4
|
@ -1,6 +1,9 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
config.services.victoriametrics = {
|
config.services.victoriametrics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraOptions = [
|
||||||
|
"-storage.minFreeDiskSpaceBytes=5GB"
|
||||||
|
];
|
||||||
|
|
||||||
scrapeConfigs = {
|
scrapeConfigs = {
|
||||||
gitea = {
|
gitea = {
|
||||||
|
|
Loading…
Reference in a new issue