pluh 🗣
This commit is contained in:
parent
668140531b
commit
516b647ed4
35 changed files with 204 additions and 119 deletions
|
@ -10,6 +10,7 @@
|
|||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
port = 3021;
|
||||
enabledCollectors = ["systemd"];
|
||||
};
|
||||
|
@ -22,7 +23,7 @@
|
|||
{
|
||||
targets = let
|
||||
target = lib.formatHostPort {
|
||||
host = config.services.prometheus.exporters.node.listenAddr;
|
||||
host = config.services.prometheus.exporters.node.listenAddress;
|
||||
inherit (config.services.prometheus.exporters.node) port;
|
||||
};
|
||||
in [target];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue