Add prometheus #118

Merged
esy merged 27 commits from prometheus2 into main 2024-05-23 21:52:10 +00:00
Showing only changes of commit 889bb0dab6 - Show all commits

View file

@ -47,7 +47,7 @@ in {
{ {
services.prometheus.exporters.node = { services.prometheus.exporters.node = {
enable = true; enable = true;
# most collectors are on by default see docs for more options # most collectors are on by default see https://github.com/prometheus/node_exporter for more options
enabledCollectors = ["systemd"]; enabledCollectors = ["systemd"];
port = cfg.port_collecter; port = cfg.port_collecter;
}; };