about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2021-12-20 10:57:31 -0500
committerGraham Christensen <graham@grahamc.com>2021-12-20 10:57:31 -0500
commit3907d19260520a2939d8463e0fe0a65bd6f60b37 (patch)
tree620dd7430b3eb02a191cfd1e5de5fda6c3bbcf8e /nixos/modules/services/monitoring
parentd3aee09b992c25f4788ca00e4654d055c0e553ac (diff)
downloadnixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar.gz
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar.bz2
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar.lz
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar.xz
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.tar.zst
nixlib-3907d19260520a2939d8463e0fe0a65bd6f60b37.zip
services.prometheus.exporters.fastly: add a smoke test
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/fastly.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/fastly.nix b/nixos/modules/services/monitoring/prometheus/exporters/fastly.nix
index 551c61ba9e44..55a61c4949ee 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/fastly.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/fastly.nix
@@ -33,7 +33,7 @@ in
       ${optionalString (cfg.tokenPath != null)
       "export FASTLY_API_TOKEN=$(cat ${toString cfg.tokenPath})"}
       ${pkgs.prometheus-fastly-exporter}/bin/fastly-exporter \
-        -endpoint http://${cfg.listenAddress}:${toString cfg.port}/metrics
+        -listen http://${cfg.listenAddress}:${toString cfg.port}
         ${optionalString cfg.debug "-debug true"} \
         ${optionalString (cfg.configFile != null) "-config-file ${cfg.configFile}"}
     '';