aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/mo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/mo')
-rw-r--r--modules/by-name/mo/monitoring/components/prometheus.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/by-name/mo/monitoring/components/prometheus.nix b/modules/by-name/mo/monitoring/components/prometheus.nix
index 8086a72..dbe6c06 100644
--- a/modules/by-name/mo/monitoring/components/prometheus.nix
+++ b/modules/by-name/mo/monitoring/components/prometheus.nix
@@ -189,6 +189,13 @@ in {
enable = true;
port = 9116;
listenAddress = "127.0.0.1";
+ extraFlags = [
+ "--systemd.collector.enable-restart-count"
+ "--systemd.collector.enable-file-descriptor-size"
+ "--systemd.collector.enable-ip-accounting"
+ "--log.level=info"
+ "--systemd.collector.unit-include=.*.service|.*.timer"
+ ];
};
};
};