diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-21 15:32:43 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-21 21:39:48 +0200 |
commit | 543ef567d9787f3979058fe00780992ab2ef0a6d (patch) | |
tree | 66ee5eee12408c2587badab04be9e559ce52b7af /nixos | |
parent | 31a6c5a7b507847221598b0d14dd41e935afea4e (diff) | |
download | nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar.gz nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar.bz2 nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar.lz nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar.xz nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.tar.zst nixlib-543ef567d9787f3979058fe00780992ab2ef0a6d.zip |
prometheus-wireguard-exporter: 2.0.1 -> 3.0.0
Two new releases are available: * https://github.com/MindFlavor/prometheus_wireguard_exporter/releases/tag/3.0.0 * https://github.com/MindFlavor/prometheus_wireguard_exporter/releases/tag/2.0.2 The main new feature is that the exporter exposes all allowed ips and subnets.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/prometheus-exporters.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index 90c7c9701f60..9a85501d15f8 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -331,11 +331,12 @@ let inherit (snakeoil.peer1) publicKey; }; }; + systemd.services.prometheus-wireguard-exporter.after = [ "wireguard-wg0.service" ]; }; exporterTest = '' waitForUnit("prometheus-wireguard-exporter.service"); waitForOpenPort(9586); - succeed("curl -sSf http://localhost:9586/metrics | grep '${snakeoil.peer1.publicKey}'"); + waitUntilSucceeds("curl -sSf http://localhost:9586/metrics | grep '${snakeoil.peer1.publicKey}'"); ''; }; }; |