diff --git a/configuration/services/metrics/default.nix b/configuration/services/metrics/default.nix index 0c02556..4086ef2 100644 --- a/configuration/services/metrics/default.nix +++ b/configuration/services/metrics/default.nix @@ -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"];