Merge pull request #296759 from jpds/thanos-grpc-compression-opt

nixos/thanos: Added grpc-compression option
This commit is contained in:
Aleksana 2024-04-08 00:43:07 +08:00 committed by GitHub
commit 48a26791f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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.
'';