metrics: Add domain monitoring
This commit is contained in:
parent
3de03a32ac
commit
eb539f6ee7
|
@ -49,6 +49,19 @@ in {
|
|||
};
|
||||
|
||||
services.prometheus.exporters = {
|
||||
domain = {
|
||||
enable = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
extraFlags = let
|
||||
conf.domains = [
|
||||
"tlater.net"
|
||||
"tlater.com"
|
||||
];
|
||||
in [
|
||||
"--config=${yaml.generate "domains.yml" conf}"
|
||||
];
|
||||
};
|
||||
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = ["systemd"];
|
||||
|
|
Loading…
Reference in a new issue