From 607a6d47c77a5675d9530ecc4b884f956d5c472a Mon Sep 17 00:00:00 2001 From: tdakkota Date: Tue, 24 Sep 2024 05:45:37 +0300 Subject: [PATCH] fix(oteldb): bind OTLP receivers on all interfaces by default --- cmd/oteldb/config.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/oteldb/config.go b/cmd/oteldb/config.go index 36d5dbc4..100236da 100644 --- a/cmd/oteldb/config.go +++ b/cmd/oteldb/config.go @@ -57,8 +57,12 @@ func (cfg *Config) setDefaults() { "receivers": map[string]any{ "otlp": map[string]any{ "protocols": map[string]any{ - "grpc": nil, - "http": nil, + "grpc": map[string]any{ + "endpoint": "0.0.0.0:4317", + }, + "http": map[string]any{ + "endpoint": "0.0.0.0:4318", + }, }, }, "prometheusremotewrite": map[string]any{},