porcorosso/blast: update IPs, add hl2prom
This commit is contained in:
parent
7d752e9871
commit
46c0e2713a
1 changed files with 9 additions and 4 deletions
|
@ -30,12 +30,12 @@
|
||||||
labels.host = name;
|
labels.host = name;
|
||||||
};
|
};
|
||||||
workers = [
|
workers = [
|
||||||
(staticConfig "worker1" "10.200.69.10")
|
(staticConfig "worker1" "10.200.109.10")
|
||||||
(staticConfig "worker2" "10.200.69.11")
|
(staticConfig "worker2" "10.200.109.11")
|
||||||
];
|
];
|
||||||
gameservers = [
|
gameservers = [
|
||||||
(staticConfig "csgo1" "10.200.69.12")
|
(staticConfig "csgo1" "10.200.109.12")
|
||||||
(staticConfig "csgo2" "10.200.69.13")
|
(staticConfig "csgo2" "10.200.109.13")
|
||||||
];
|
];
|
||||||
allHosts = workers ++ gameservers;
|
allHosts = workers ++ gameservers;
|
||||||
withPort' = port: { targets, ... }@f: (f // {
|
withPort' = port: { targets, ... }@f: (f // {
|
||||||
|
@ -47,6 +47,11 @@
|
||||||
job_name = "node_exporter";
|
job_name = "node_exporter";
|
||||||
static_configs = withPort 9100 allHosts;
|
static_configs = withPort 9100 allHosts;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "hl2prom";
|
||||||
|
static_configs = withPort 22000 gameservers;
|
||||||
|
scrape_interval = "1s";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue