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
|
{config, ...}: let
|
||||||
inherit (config.services) prometheus;
|
inherit (config.services) prometheus;
|
||||||
nodes = [
|
nodes = [
|
||||||
"100.65.29.110"
|
"alpine"
|
||||||
"100.106.241.122"
|
"fcs-tristan-nixbook"
|
||||||
|
"zenix"
|
||||||
];
|
];
|
||||||
addPort = ip: "${ip}:${toString prometheus.exporters.node.port}";
|
addPort = ip: "${ip}:${toString prometheus.exporters.node.port}";
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue