diff --git a/testbed/datareceivers/zipkin.go b/testbed/datareceivers/zipkin.go index 0b60098e30fa..504302537e4d 100644 --- a/testbed/datareceivers/zipkin.go +++ b/testbed/datareceivers/zipkin.go @@ -31,7 +31,7 @@ func NewZipkinDataReceiver(port int) testbed.DataReceiver { func (zr *zipkinDataReceiver) Start(tc consumer.Traces, _ consumer.Metrics, _ consumer.Logs) error { factory := zipkinreceiver.NewFactory() cfg := factory.CreateDefaultConfig().(*zipkinreceiver.Config) - cfg.Endpoint = fmt.Sprintf("127.0.0.1:%d", zr.Port) + cfg.Protocols.HTTP.Endpoint = fmt.Sprintf("127.0.0.1:%d", zr.Port) set := receivertest.NewNopSettings() var err error