aboutsummaryrefslogtreecommitdiff
path: root/modules/monitoring/prometheus.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/monitoring/prometheus.nix')
-rw-r--r--modules/monitoring/prometheus.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/modules/monitoring/prometheus.nix b/modules/monitoring/prometheus.nix
deleted file mode 100644
index adb5baa..0000000
--- a/modules/monitoring/prometheus.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ settings, ... }:
-let
- ports = settings.network.ports;
-in
-{
- services.prometheus = {
- enable = true;
- port = ports.prometheus;
-
- exporters.node = {
- enable = true;
- port = ports.prometheusNodeExporter;
- enabledCollectors = [ "systemd" ];
- extraFlags = [
- "--collector.ethtool"
- "--collector.softirqs"
- "--collector.tcpstat"
- "--collector.wifi"
- ];
- };
-
- scrapeConfigs = [
- {
- job_name = "system";
- scrape_interval = "10s";
- static_configs = [{
- targets = [ "127.0.0.1:${toString ports.prometheusNodeExporter}" ];
- }];
- }
- ];
- };
-}
-