monitoring

This commit is contained in:
41666 2024-02-10 20:27:11 -05:00
parent f5a5dca445
commit 8c829762d0

View file

@ -28,13 +28,17 @@
enable = true; enable = true;
port = 4000; port = 4000;
scrapeConfigs = [ scrapeConfigs = let
{ static = name: ports: {
job_name = "aerial"; job_name = name;
static_configs = [ static_configs = [
{ targets = ["100.111.27.103:14200"]; } {
targets = map (port: "${name}.hoki-porgy.ts.net:${toString port}") ports;
}
]; ];
} };
in [
static "aerial" [ 14200 ]
]; ];
}; };