Skip to content

Commit

Permalink
fix(oteldb): bind OTLP receivers on all interfaces by default
Browse files Browse the repository at this point in the history
Maintain zero configuration compatibility with previous versions.
  • Loading branch information
tdakkota committed Sep 24, 2024
1 parent d10c7fd commit a806327
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmd/oteldb/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down

0 comments on commit a806327

Please sign in to comment.