mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
Merge pull request #296759 from jpds/thanos-grpc-compression-opt
nixos/thanos: Added grpc-compression option
This commit is contained in:
commit
48a26791f1
@ -353,6 +353,10 @@ let
|
|||||||
See <https://tools.ietf.org/html/rfc4366#section-3.1>
|
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 ''
|
web.route-prefix = mkParam types.str ''
|
||||||
Prefix for API and UI endpoints.
|
Prefix for API and UI endpoints.
|
||||||
|
|
||||||
@ -642,6 +646,10 @@ let
|
|||||||
|
|
||||||
receive = params.common cfg.receive // params.objstore cfg.receive // {
|
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" ''
|
remote-write.address = mkParamDef types.str "0.0.0.0:19291" ''
|
||||||
Address to listen on for remote write requests.
|
Address to listen on for remote write requests.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user