Skip to content

Commit ff27296

Browse files
authored
[all] Promote component.UseLocalHostAsDefaultHost feature gate to beta (#33658)
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Counterpart to open-telemetry/opentelemetry-collector/pull/10352. **Link to tracking Issue:** open-telemetry/opentelemetry-collector/issues/8510
1 parent 49c1863 commit ff27296

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func TestE2E(t *testing.T) {
4949
f := otlpreceiver.NewFactory()
5050
cfg := f.CreateDefaultConfig().(*otlpreceiver.Config)
5151
cfg.HTTP = nil
52+
cfg.GRPC.NetAddr.Endpoint = "0.0.0.0:4317"
5253
logsConsumer := new(consumertest.LogsSink)
5354
rcvr, err := f.CreateLogsReceiver(context.Background(), receivertest.NewNopSettings(), cfg, logsConsumer)
5455
require.NoError(t, rcvr.Start(context.Background(), componenttest.NewNopHost()))

testdata/e2e/collector/configmap.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ data:
1111
tls:
1212
insecure: true
1313
extensions:
14-
health_check: {}
14+
health_check:
15+
endpoint: 0.0.0.0:13133
1516
processors:
1617
transform/k8sobjectsNS:
1718
error_mode: ignore

0 commit comments

Comments
 (0)