nixos/thanos: Added query.grpc-compression and receive.grpc-compression option.

This commit is contained in:
Jonathan Davies 2024-03-17 21:22:21 +00:00
parent b9195e3aad
commit 50fcbfbe26
1 changed files with 8 additions and 0 deletions

View File

@ -353,6 +353,10 @@ let
See <https://tools.ietf.org/html/rfc4366#section-3.1>
'';
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.
'';