Skip to content

Commit

Permalink
try pinning the sink to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanjunming committed Nov 19, 2024
1 parent 65a2bde commit 8888cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otel-integration/k8s-helm/e2e-test/sinks.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ type ReceiverPorts struct {
func StartUpSinks(t *testing.T, mc *consumertest.MetricsSink, tc *consumertest.TracesSink) func() {
f := otlpreceiver.NewFactory()
cfg := f.CreateDefaultConfig().(*otlpreceiver.Config)
// cfg.HTTP = nil
// cfg.GRPC.NetAddr.Endpoint = "0.0.0.0:4317"
cfg.HTTP = nil
cfg.GRPC.NetAddr.Endpoint = "0.0.0.0:4317"

_, err := f.CreateMetrics(context.Background(), receivertest.NewNopSettings(), cfg, mc)
require.NoError(t, err, "failed creating metrics receiver")
Expand Down

0 comments on commit 8888cc2

Please sign in to comment.