diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-16 18:44:19 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-17 06:31:42 +0100 |
commit | 2e1490682566a8670032c4765a50e625e11e6e32 (patch) | |
tree | 4c76a71808c1e5421dbe7140c9583284050681db /nixos/hosts/tente/monitoring.nix | |
parent | 01d329723f68f7828208be20accd6b5c3912536a (diff) |
refactor(tente): rename prometheusExporterPort
There are many different Prometheus exporters.
Diffstat (limited to 'nixos/hosts/tente/monitoring.nix')
-rw-r--r-- | nixos/hosts/tente/monitoring.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/hosts/tente/monitoring.nix b/nixos/hosts/tente/monitoring.nix index ce0d302..3916e74 100644 --- a/nixos/hosts/tente/monitoring.nix +++ b/nixos/hosts/tente/monitoring.nix @@ -14,7 +14,7 @@ in alloyUiPort = lib.mkOption { type = lib.types.int; }; - prometheusExporterPort = lib.mkOption { + prometheusNodeExporterPort = lib.mkOption { type = lib.types.int; }; }; @@ -53,14 +53,14 @@ in exporters.node = { enable = true; enabledCollectors = [ "systemd" ]; - port = cfg.prometheusExporterPort; + port = cfg.prometheusNodeExporterPort; }; scrapeConfigs = [ { job_name = "node"; static_configs = [{ - targets = [ "localhost:${toString cfg.prometheusExporterPort}" ]; + targets = [ "localhost:${toString cfg.prometheusNodeExporterPort}" ]; }]; } ]; |