diff --git a/exporter/exporterhelper/internal/queue_sender.go b/exporter/exporterhelper/internal/queue_sender.go index 891338664cb..728ad8547ef 100644 --- a/exporter/exporterhelper/internal/queue_sender.go +++ b/exporter/exporterhelper/internal/queue_sender.go @@ -10,7 +10,6 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" "go.opentelemetry.io/otel/trace" - "go.uber.org/multierr" "go.uber.org/zap" "go.opentelemetry.io/collector/component" @@ -149,7 +148,7 @@ func (qs *QueueSender) Start(ctx context.Context, host component.Host) error { }) } - return multierr.Append(err1, err2) + return errors.Join(err1, err2) } // Shutdown is invoked during service shutdown.