infrastructure/machines/nixos/storage01/victorialogs.nix
catvayor b09a0e8b10
All checks were successful
Build all the nodes / netcore00 (push) Successful in 27s
Build all the nodes / netcore01 (push) Successful in 26s
Build all the nodes / netaccess01 (push) Successful in 27s
Build all the nodes / netcore02 (push) Successful in 26s
Run pre-commit on all files / pre-commit (push) Successful in 32s
Build all the nodes / ap01 (push) Successful in 39s
Build all the nodes / bridge01 (push) Successful in 47s
Build all the nodes / hypervisor01 (push) Successful in 59s
Build all the nodes / geo02 (push) Successful in 1m0s
Build all the nodes / lab-router01 (push) Successful in 1m1s
Build all the nodes / hypervisor03 (push) Successful in 1m4s
Build all the nodes / geo01 (push) Successful in 1m5s
Build all the nodes / cof02 (push) Successful in 1m6s
Build all the nodes / hypervisor02 (push) Successful in 1m5s
Build all the nodes / build01 (push) Successful in 1m11s
Build all the nodes / iso (push) Successful in 1m15s
Build all the nodes / compute01 (push) Successful in 1m19s
Build all the nodes / tower01 (push) Successful in 45s
Build the shell / build-shell (push) Successful in 24s
Build all the nodes / rescue01 (push) Successful in 1m6s
Build all the nodes / krz01 (push) Successful in 1m36s
Build all the nodes / vault01 (push) Successful in 57s
Build all the nodes / storage01 (push) Successful in 1m19s
Build all the nodes / web02 (push) Successful in 48s
Build all the nodes / web03 (push) Successful in 51s
Build all the nodes / web01 (push) Successful in 1m3s
fix(storage01/victorialogs): bump maxConcurrentInserts to keepup log flow
2025-05-26 00:37:09 +02:00

23 lines
448 B
Nix

# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ meta, name, ... }:
let
port = 9428;
in
{
services.victorialogs = {
enable = true;
flags = {
retentionPeriod = "4w";
httpListenAddr = "${meta.network.${name}.netbirdIp}:${builtins.toString port}";
maxConcurrentInserts = "200";
};
};
networking.firewall.interfaces.wt0.allowedTCPPorts = [ port ];
}