1 import ./make-test-python.nix ({ lib, pkgs, ... }:
6 services.grafana-agent = {
13 name = "grafana-agent";
15 meta = with lib.maintainers; {
16 maintainers = [ zimbatm ];
24 with subtest("Grafana-agent is running"):
25 machine.wait_for_unit("grafana-agent.service")
26 machine.wait_for_open_port(12345)
28 "curl -sSfN http://127.0.0.1:12345/-/healthy"