diff --git a/common/config/root.go b/common/config/root.go index 57ecf1c69..adae1e3fc 100644 --- a/common/config/root.go +++ b/common/config/root.go @@ -149,7 +149,7 @@ func getBasicConfig(memoryLimiterConfig GenericMap) (*Config, []string) { "protocols": GenericMap{ "grpc": GenericMap{ // setting it to a large value to avoid dropping batches. - "max_recv_msg_size_mib": 128 * 1024 * 1024, + "max_recv_msg_size_mib": 128, "endpoint": "0.0.0.0:4317", }, // Node collectors send in gRPC, so this is probably not needed diff --git a/common/config/testdata/debugexporter.yaml b/common/config/testdata/debugexporter.yaml index 4090a8ebb..35d114505 100644 --- a/common/config/testdata/debugexporter.yaml +++ b/common/config/testdata/debugexporter.yaml @@ -3,7 +3,7 @@ receivers: protocols: grpc: endpoint: 0.0.0.0:4317 - max_recv_msg_size_mib: 134217728 + max_recv_msg_size_mib: 128 http: endpoint: 0.0.0.0:4318 exporters: diff --git a/common/config/testdata/minimal.yaml b/common/config/testdata/minimal.yaml index a15637882..925a48b47 100644 --- a/common/config/testdata/minimal.yaml +++ b/common/config/testdata/minimal.yaml @@ -3,7 +3,7 @@ receivers: protocols: grpc: endpoint: 0.0.0.0:4317 - max_recv_msg_size_mib: 134217728 + max_recv_msg_size_mib: 128 http: endpoint: 0.0.0.0:4318 exporters: {}