prometheus-knot-exporter: reference vm test
This commit is contained in:
parent
43c560fc4b
commit
c62eef5675
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, lib, python3 }:
|
{ stdenv, fetchFromGitHub, lib, python3, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "knot-exporter";
|
pname = "knot-exporter";
|
||||||
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) knot; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/ghedo/knot_exporter";
|
homepage = "https://github.com/ghedo/knot_exporter";
|
||||||
description = " Prometheus exporter for Knot DNS";
|
description = " Prometheus exporter for Knot DNS";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user