infrastructure/machines/storage01/victoria-metrics.nix
Tom Hubrecht 4a102117a4
All checks were successful
build configuration / build_and_cache_compute01 (push) Successful in 1m33s
build configuration / build_and_cache_storage01 (push) Successful in 1m11s
build configuration / build_and_cache_rescue01 (push) Successful in 1m14s
build configuration / build_and_cache_geo01 (push) Successful in 1m4s
build configuration / build_and_cache_geo02 (push) Successful in 1m1s
build configuration / build_and_cache_vault01 (push) Successful in 1m17s
build configuration / build_and_cache_web01 (push) Successful in 1m42s
build configuration / build_and_cache_web02 (push) Successful in 1m8s
build configuration / build_and_cache_web03 (push) Successful in 1m5s
build configuration / build_and_cache_bridge01 (push) Successful in 1m0s
lint / check (push) Successful in 24s
feat(storage01): Init victoria-metrics DB
2024-10-22 13:07:07 +02:00

16 lines
254 B
Nix

let
host = "victoria-metrics.dgnum.eu";
port = 9099;
in
{
services.victoriametrics = {
enable = true;
listenAddress = "127.0.0.1:${builtins.toString port}";
};
dgn-web.simpleProxies.victoria-metrics = {
inherit host port;
};
}