summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2021-04-04 22:25:12 +0200
committerMartin Milata <martin@martinmilata.cz>2021-04-04 22:25:12 +0200
commit6840746f2d155f564030a7270924eadda6b5aa52 (patch)
tree925ed562b418756f547f2a2c93c5eba0b2e5af20 /pkgs/servers/monitoring/prometheus
parent2c76567af391a2d0fa5a5b6909285a54368e7156 (diff)
downloadnixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar.gz
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar.bz2
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar.lz
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar.xz
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.tar.zst
nixpkgs-6840746f2d155f564030a7270924eadda6b5aa52.zip
nixos/prometheus-domain-exporter: init
Diffstat (limited to 'pkgs/servers/monitoring/prometheus')
-rw-r--r--pkgs/servers/monitoring/prometheus/domain-exporter.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/domain-exporter.nix b/pkgs/servers/monitoring/prometheus/domain-exporter.nix
index 1d8417f2f9c..a0bc409a7fc 100644
--- a/pkgs/servers/monitoring/prometheus/domain-exporter.nix
+++ b/pkgs/servers/monitoring/prometheus/domain-exporter.nix
@@ -15,6 +15,8 @@ buildGoModule rec {
 
   doCheck = false; # needs internet connection
 
+  passthru.tests = { inherit (nixosTests.prometheus-exporters) domain; };
+
   meta = with lib; {
     homepage = "https://github.com/caarlos0/domain_exporter";
     description = "Exports the expiration time of your domains as prometheus metrics";