From e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 19 Jun 2022 11:33:19 +0200 Subject: [PATCH] nixos/grafana-agent: drop server.{grpc,http}_listen_address,http_listen_port According to https://grafana.com/docs/agent/latest/upgrade-guide/#v0240, this has been deprecated/moved to -server.http.address and -server.grpc.address (accepting ip and port) config options in v0.24.0, and already listens on localhost and not port 80 by default. --- nixos/modules/services/monitoring/grafana-agent.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nixos/modules/services/monitoring/grafana-agent.nix b/nixos/modules/services/monitoring/grafana-agent.nix index c8d45c37b4d2..887dce0113a3 100644 --- a/nixos/modules/services/monitoring/grafana-agent.nix +++ b/nixos/modules/services/monitoring/grafana-agent.nix @@ -49,13 +49,6 @@ in }; default = { - server = { - # Don't bind on 0.0.0.0 - grpc_listen_address = "127.0.0.1"; - http_listen_address = "127.0.0.1"; - # Don't bind on the default port 80 - http_listen_port = 9090; - }; metrics = { wal_directory = "\${STATE_DIRECTORY}"; global.scrape_interval = "5s";