porcorosso/blast: update IPs, add hl2prom

This commit is contained in:
Luke Granger-Brown 2022-12-19 07:54:48 +00:00
parent 7d752e9871
commit 46c0e2713a

View file

@ -30,12 +30,12 @@
labels.host = name;
};
workers = [
(staticConfig "worker1" "10.200.69.10")
(staticConfig "worker2" "10.200.69.11")
(staticConfig "worker1" "10.200.109.10")
(staticConfig "worker2" "10.200.109.11")
];
gameservers = [
(staticConfig "csgo1" "10.200.69.12")
(staticConfig "csgo2" "10.200.69.13")
(staticConfig "csgo1" "10.200.109.12")
(staticConfig "csgo2" "10.200.109.13")
];
allHosts = workers ++ gameservers;
withPort' = port: { targets, ... }@f: (f // {
@ -47,6 +47,11 @@
job_name = "node_exporter";
static_configs = withPort 9100 allHosts;
}
{
job_name = "hl2prom";
static_configs = withPort 22000 gameservers;
scrape_interval = "1s";
}
];
};