1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-07 11:05:30 +03:00

nixos/grafana-agent: remove

As described in https://github.com/NixOS/nixpkgs/pull/394017,
grafana-agent does not build with Go 1.23 anymore, and Go 1.22 has been
removed.

grafana-agent has been deprecated by Grafana (in favour of Grafana
Alloy), and will be EOL on 2025-11-01, which would be part of the
upcoming 25.05 release.

Instead of leaving us with a broken package, drop it alltogether, and
add release notes.
This commit is contained in:
Florian Klink 2025-04-02 16:00:07 +01:00
parent 11ecec8be6
commit 28b1639d57
8 changed files with 14 additions and 352 deletions

View file

@ -546,7 +546,6 @@ in
gotify-server = handleTest ./gotify-server.nix { };
gotosocial = runTest ./web-apps/gotosocial.nix;
grafana = handleTest ./grafana { };
grafana-agent = handleTest ./grafana-agent.nix { };
graphite = handleTest ./graphite.nix { };
grav = runTest ./web-apps/grav.nix;
graylog = handleTest ./graylog.nix { };

View file

@ -1,34 +0,0 @@
import ./make-test-python.nix (
{ lib, pkgs, ... }:
let
nodes = {
machine = {
services.grafana-agent = {
enable = true;
};
};
};
in
{
name = "grafana-agent";
meta = with lib.maintainers; {
maintainers = [ zimbatm ];
};
inherit nodes;
testScript = ''
start_all()
with subtest("Grafana-agent is running"):
machine.wait_for_unit("grafana-agent.service")
machine.wait_for_open_port(12345)
machine.succeed(
"curl -sSfN http://127.0.0.1:12345/-/healthy"
)
machine.shutdown()
'';
}
)