about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/grafana-agent.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-06-19 11:33:19 +0200
committerFlorian Klink <flokli@flokli.de>2022-06-19 11:50:31 +0200
commite578b4d3ed8068b85a27c5c7b9e135f2af2d7f21 (patch)
treee98dd19b283473cbc5b98c550a731cb893cf16f5 /nixos/modules/services/monitoring/grafana-agent.nix
parent2cca676e6962cb3618c91ba4103b6a03ff66d9e8 (diff)
downloadnixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar.gz
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar.bz2
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar.lz
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar.xz
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.tar.zst
nixlib-e578b4d3ed8068b85a27c5c7b9e135f2af2d7f21.zip
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.
Diffstat (limited to 'nixos/modules/services/monitoring/grafana-agent.nix')
-rw-r--r--nixos/modules/services/monitoring/grafana-agent.nix7
1 files changed, 0 insertions, 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";