Skip to content

Commit 066cbe5

Browse files
committed
fix: otel agent is not picking up traces
1 parent 2007ee3 commit 066cbe5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

charts/sourcegraph/templates/otel-collector/otel-agent.ConfigMap.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ data:
1212
receivers:
1313
otlp:
1414
protocols:
15-
grpc: # port 4317
16-
http: # port 4318
15+
grpc:
16+
# Bind to all interfaces. Since v0.104.0, the collector defaults the OTLP
17+
# receiver to 127.0.0.1 (CVE-2024-36129 hardening), which silently drops
18+
# traffic from other pods. See https://opentelemetry.io/blog/2024/hardening-the-collector-one/
19+
endpoint: "0.0.0.0:4317"
20+
http:
21+
endpoint: "0.0.0.0:4318"
1722
1823
exporters:
1924
otlp:

0 commit comments

Comments
 (0)