monitoring
This commit is contained in:
parent
f5a5dca445
commit
8c829762d0
1 changed files with 10 additions and 6 deletions
|
@ -28,14 +28,18 @@
|
||||||
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 ]
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue