diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-01-30 19:32:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 19:32:50 -0500 |
commit | 4006079f95da5fcf5266b0e09381cf7235fa517e (patch) | |
tree | 91288813df2a69f455a966df93edf721afaf32d2 /nixos/tests | |
parent | 2c8e8030c3426aa7bda267715d788be662de754b (diff) | |
parent | 096f6d6c00a33a5565ffdee6094691eda0d6ab15 (diff) |
Merge pull request #276177 from aaronjheng/prometheus-openvpn-exporter
prometheus-openvpn-exporter: remove
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/prometheus-exporters.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index 0bb9b6fcc8d5e..0f8e355b2f4c6 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -942,31 +942,6 @@ let ''; }; - openvpn = { - exporterConfig = { - enable = true; - group = "openvpn"; - statusPaths = [ "/run/openvpn-test" ]; - }; - metricProvider = { - users.groups.openvpn = { }; - services.openvpn.servers.test = { - config = '' - dev tun - status /run/openvpn-test - status-version 3 - ''; - up = "chmod g+r /run/openvpn-test"; - }; - systemd.services."openvpn-test".serviceConfig.Group = "openvpn"; - }; - exporterTest = '' - wait_for_unit("openvpn-test.service") - wait_for_unit("prometheus-openvpn-exporter.service") - succeed("curl -sSf http://localhost:9176/metrics | grep 'openvpn_up{.*} 1'") - ''; - }; - pgbouncer = { exporterConfig = { enable = true; |