Skip to content

Commit d106775

Browse files
drewrelmaschengchuanpeng
authored andcommitted
Upgrade otel-arrow dependencies to v0.32.0 (open-telemetry#37512)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Upgrade otel-arrow dependencies to v0.32.0 following [opentelemetry/otel-arrow's latest release](https://github.com/open-telemetry/otel-arrow/releases). This is mostly a chore upgrade, but also includes one code change in `otelarrowreceiver` to aid in resolution of [https://github.com/open-telemetry/otel-arrow/issues/280](https://github.com/open-telemetry/otel-arrow/issues/280).
1 parent 9aeea3b commit d106775

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

exporter/otelarrowexporter/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/apache/arrow/go/v16 v16.1.0
77
github.com/open-telemetry/opentelemetry-collector-contrib/internal/grpcutil v0.118.0
88
github.com/open-telemetry/opentelemetry-collector-contrib/internal/otelarrow v0.118.0
9-
github.com/open-telemetry/otel-arrow v0.31.0
9+
github.com/open-telemetry/otel-arrow v0.32.0
1010
github.com/stretchr/testify v1.10.0
1111
go.opentelemetry.io/collector/client v1.24.1-0.20250123125445-24f88da7b583
1212
go.opentelemetry.io/collector/component v0.118.1-0.20250123125445-24f88da7b583

exporter/otelarrowexporter/go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/otelarrow/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/klauspost/compress v1.17.11
77
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/otelarrowexporter v0.118.0
88
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/otelarrowreceiver v0.118.0
9-
github.com/open-telemetry/otel-arrow v0.31.0
9+
github.com/open-telemetry/otel-arrow v0.32.0
1010
github.com/stretchr/testify v1.10.0
1111
go.opentelemetry.io/collector/component v0.118.1-0.20250123125445-24f88da7b583
1212
go.opentelemetry.io/collector/component/componenttest v0.118.1-0.20250123125445-24f88da7b583

internal/otelarrow/go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/otelarrowreceiver/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/open-telemetry/opentelemetry-collector-contrib/internal/grpcutil v0.118.0
77
github.com/open-telemetry/opentelemetry-collector-contrib/internal/otelarrow v0.118.0
88
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.118.0
9-
github.com/open-telemetry/otel-arrow v0.31.0
9+
github.com/open-telemetry/otel-arrow v0.32.0
1010
github.com/stretchr/testify v1.10.0
1111
go.opentelemetry.io/collector/client v1.24.1-0.20250123125445-24f88da7b583
1212
go.opentelemetry.io/collector/component v0.118.1-0.20250123125445-24f88da7b583

receiver/otelarrowreceiver/go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/otelarrowreceiver/otelarrow.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ func (r *otelArrowReceiver) startProtocolServers(ctx context.Context, host compo
142142
opts = append(opts, arrowRecord.WithMemoryLimit(r.cfg.Arrow.MemoryLimitMiB<<20))
143143
}
144144
if r.settings.TelemetrySettings.MeterProvider != nil {
145-
opts = append(opts, arrowRecord.WithMeterProvider(r.settings.TelemetrySettings.MeterProvider, r.settings.TelemetrySettings.MetricsLevel))
145+
// This alt method call should be replaced once https://github.com/open-telemetry/otel-arrow/issues/280 is resolved.
146+
// The WithMeterProvider function will be updated in a future release cycle.
147+
opts = append(opts, arrowRecord.WithMeterProviderAlt(r.settings.TelemetrySettings.MeterProvider))
146148
}
147149
return arrowRecord.NewConsumer(opts...)
148150
}, r.boundedQueue, r.netReporter)

0 commit comments

Comments
 (0)