grafana-agent: add NixOS passthru test

main
zimbatm 2 years ago
parent 31b47913f3
commit 1c7f2a67a0
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7
  1. 4
      pkgs/servers/monitoring/grafana-agent/default.nix

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, systemd }:
{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests }:
buildGoModule rec {
pname = "grafana-agent";
@ -36,6 +36,8 @@ buildGoModule rec {
$out/bin/agent
'';
passthru.tests.grafana-agent = nixosTests.grafana-agent;
meta = with lib; {
description = "A lightweight subset of Prometheus and more, optimized for Grafana Cloud";
license = licenses.asl20;

Loading…
Cancel
Save