From 46c0e2713a5541dcf640db685a61e03adf8628ad Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 19 Dec 2022 07:54:48 +0000 Subject: [PATCH] porcorosso/blast: update IPs, add hl2prom --- ops/nixos/porcorosso/blast.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ops/nixos/porcorosso/blast.nix b/ops/nixos/porcorosso/blast.nix index ed567ee3f9..b5e36b8afd 100644 --- a/ops/nixos/porcorosso/blast.nix +++ b/ops/nixos/porcorosso/blast.nix @@ -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"; + } ]; };