|
|
|
@ -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; |
|
|
|
|