Skip to content

chore(deps): Updating otel/metric and fixing breaking changes #2569

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

Merged
merged 2 commits into from
May 1, 2023
Merged

chore(deps): Updating otel/metric and fixing breaking changes #2569

merged 2 commits into from
May 1, 2023

Conversation

ViBiOh
Copy link
Contributor

@ViBiOh ViBiOh commented Apr 29, 2023

Related to the recent changes in the opentelemetry-go package https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.15.0, we cannot use directly "go.opentelemetry.io/otel/attribute".KeyValue but need to wrap them with the option pattern

vmihailenco
vmihailenco previously approved these changes Apr 30, 2023
@vmihailenco
Copy link
Collaborator

@ViBiOh thanks, but looks like unit package is gone but still referenced in some packages...

@ViBiOh
Copy link
Contributor Author

ViBiOh commented Apr 30, 2023

@ViBiOh thanks, but looks like unit package is gone but still referenced in some packages...

Hi @vmihailenco , thanks for your reply. It seems that the issue is related to the uptrace-go library. I made a pull-request to update it, but it seems that otel/trace use the atomic.Pointer type, which is a go1.19 feature, so it won't compile in 1.18.

@vmihailenco
Copy link
Collaborator

@ViBiOh okay, I've just tagged uptrace-go v1.15. Could you update dependencies again and remove Go 1.18 from the build list?

Latest otel version use atomic.Pointer which is a go1.19 feature, so we have to drop support for the go 1.18

Signed-off-by: Vincent Boutour <[email protected]>
@vmihailenco vmihailenco merged commit e2fabdf into redis:master May 1, 2023
@vmihailenco
Copy link
Collaborator

@ViBiOh Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants