From 50fcbfbe26ef6fedd867f0f5a2ea681dec780e56 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Sun, 17 Mar 2024 21:22:21 +0000 Subject: [PATCH] nixos/thanos: Added query.grpc-compression and receive.grpc-compression option. --- nixos/modules/services/monitoring/thanos.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/monitoring/thanos.nix b/nixos/modules/services/monitoring/thanos.nix index 02502816ef5d..f9ec271c6ef5 100644 --- a/nixos/modules/services/monitoring/thanos.nix +++ b/nixos/modules/services/monitoring/thanos.nix @@ -353,6 +353,10 @@ let See ''; + grpc-compression = mkParam types.str '' + Compression algorithm to use for gRPC requests to other clients. + ''; + web.route-prefix = mkParam types.str '' Prefix for API and UI endpoints. @@ -642,6 +646,10 @@ let receive = params.common cfg.receive // params.objstore cfg.receive // { + receive.grpc-compression = mkParam types.str '' + Compression algorithm to use for gRPC requests to other receivers. + ''; + remote-write.address = mkParamDef types.str "0.0.0.0:19291" '' Address to listen on for remote write requests. '';