Compare commits

...

2 commits

Author SHA1 Message Date
sinavir
d26370514a feat(garage): add banda's website
Some checks failed
build configuration / build_web02 (push) Successful in 1m3s
build configuration / build_vault01 (push) Successful in 1m7s
build configuration / build_compute01 (push) Successful in 1m15s
build configuration / build_storage01 (push) Successful in 1m27s
build configuration / build_web01 (push) Successful in 1m32s
lint / check (push) Successful in 25s
build configuration / build_rescue01 (push) Successful in 56s
build configuration / push_to_cache (push) Failing after 3m48s
2024-04-23 23:28:09 +02:00
sinavir
9b6536f529 feat(prometheus): monitor garage 2024-04-23 23:26:03 +02:00
5 changed files with 8 additions and 1 deletions

View file

@ -15,6 +15,7 @@ let
buckets = [ buckets = [
"castopod-dgnum" "castopod-dgnum"
"peertube-videos-dgnum" "peertube-videos-dgnum"
"banda-website"
] ++ domains; ] ++ domains;
mkHosted = host: builtins.map (b: "${b}.${host}"); mkHosted = host: builtins.map (b: "${b}.${host}");
@ -50,7 +51,7 @@ in
k2v_api.api_bind_addr = "[::]:3904"; k2v_api.api_bind_addr = "[::]:3904";
admin.api_bind_addr = "0.0.0.0:3903"; admin.api_bind_addr = "127.0.0.1:3903";
}; };
environmentFile = config.age.secrets."garage-environment_file".path; environmentFile = config.age.secrets."garage-environment_file".path;

View file

@ -69,6 +69,11 @@ in
metrics_path = "/ups_metrics"; metrics_path = "/ups_metrics";
static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ]; static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ];
} }
{
job_name = "garage";
static_configs = [ { targets = [ "localhost:3903" ]; } ];
bearer_token_file = config.age.secrets."prometheus-garage_api".path;
}
]; ];
}; };

Binary file not shown.

View file

@ -17,5 +17,6 @@ lib.setDefault { inherit publicKeys; } [
"peertube-service_environment_file" "peertube-service_environment_file"
"peertube-smtp_password_file" "peertube-smtp_password_file"
"prometheus-web_config_file" "prometheus-web_config_file"
"prometheus-garage_api"
"prometheus-uptime-kuma-apikey" "prometheus-uptime-kuma-apikey"
] ]