feat(storage01): Init victoria-metrics DB
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
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
This commit is contained in:
parent
969f59fbc4
commit
4a102117a4
2 changed files with 17 additions and 0 deletions
|
@ -18,6 +18,7 @@ lib.extra.mkConfig {
|
|||
"peertube"
|
||||
"prometheus"
|
||||
"redirections"
|
||||
"victoria-metrics"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
|
|
16
machines/storage01/victoria-metrics.nix
Normal file
16
machines/storage01/victoria-metrics.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue