monitoring

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

View file

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