Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest OTEL v1.6.3 incompatible with v0.28.0 #2781

Closed
pkwarren opened this issue Apr 11, 2022 · 3 comments · Fixed by #2782
Closed

Latest OTEL v1.6.3 incompatible with v0.28.0 #2781

pkwarren opened this issue Apr 11, 2022 · 3 comments · Fixed by #2782
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pkwarren
Copy link
Contributor

pkwarren commented Apr 11, 2022

Description

We're attempting to upgrade dependencies from v1.6.0 to v1.6.3 and encountering this compilation failure during the upgrade:

# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/metrictransform
../../../../../go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/[email protected]/internal/metrictransform/metric.go:427:26: cannot use sum.CoerceToFloat64(desc.NumberKind()) (value of type float64) as type *float64 in struct literal

This appears to be fixed on the main branch, but there aren't yet compatible releases v0.29.0 (or later) of the unstable packages.

Environment

  • OS: Linux
  • Architecture: x86_64
  • Go Version: 1.17
  • opentelemetry-go version: v1.6.3 + v0.28.0

Steps To Reproduce

  1. Create a test program which pulls in v1.6.3 and v0.28.0 dependency versions.

Expected behavior

There should be compatible versions of opentelemetry-go (stable, unstable) and opentelemetry-go-contrib which can be used alongside each other.

@pkwarren pkwarren added the bug Something isn't working label Apr 11, 2022
@dmitryax
Copy link
Member

@Aneurysm9
Copy link
Member

I will prepare a new release of the metrics modules shortly that should address this issue.

@Aneurysm9 Aneurysm9 self-assigned this Apr 11, 2022
@dmitryax
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants