From 29536a6a5bb9900de1979d70532e250812027f6f Mon Sep 17 00:00:00 2001 From: Ning Yu Date: Fri, 23 Aug 2024 11:57:12 +0800 Subject: [PATCH 1/2] chore(telemetry): set the endpoint of otlp receiver manually Signed-off-by: Ning Yu --- docker/telemetry/otel/otel-collector-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/telemetry/otel/otel-collector-config.yaml b/docker/telemetry/otel/otel-collector-config.yaml index dccfeaee03..d0c4181f6b 100644 --- a/docker/telemetry/otel/otel-collector-config.yaml +++ b/docker/telemetry/otel/otel-collector-config.yaml @@ -2,7 +2,9 @@ receivers: otlp: protocols: grpc: + endpoint: 0.0.0.0:4317 http: + endpoint: 0.0.0.0:4318 zipkin: processors: memory_limiter: @@ -33,4 +35,3 @@ service: receivers: [otlp] processors: [batch, memory_limiter] exporters: [prometheus] - From cdd72e10e8760423ef29b7ca7bc2b0accf8ec17c Mon Sep 17 00:00:00 2001 From: Ning Yu Date: Fri, 23 Aug 2024 14:17:15 +0800 Subject: [PATCH 2/2] chore(telemetry): increase the buffer size of otlp receiver Signed-off-by: Ning Yu --- docker/telemetry/otel/otel-collector-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/telemetry/otel/otel-collector-config.yaml b/docker/telemetry/otel/otel-collector-config.yaml index d0c4181f6b..65b9d3315c 100644 --- a/docker/telemetry/otel/otel-collector-config.yaml +++ b/docker/telemetry/otel/otel-collector-config.yaml @@ -3,6 +3,10 @@ receivers: protocols: grpc: endpoint: 0.0.0.0:4317 + max_recv_msg_size_mib: 10943040 + read_buffer_size: 10943040 + max_concurrent_streams: 200 + write_buffer_size: 10943040 http: endpoint: 0.0.0.0:4318 zipkin: