alpine: prometheus: use hostnames not IPs
This commit is contained in:
parent
61749486f3
commit
52276c72f1
1 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{config, ...}: let
|
||||
inherit (config.services) prometheus;
|
||||
nodes = [
|
||||
"100.65.29.110"
|
||||
"100.106.241.122"
|
||||
"alpine"
|
||||
"fcs-tristan-nixbook"
|
||||
"zenix"
|
||||
];
|
||||
addPort = ip: "${ip}:${toString prometheus.exporters.node.port}";
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue