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

Import error sdk/metric/aggregation #726

Closed
maciejrozanski opened this issue Sep 27, 2023 · 1 comment · Fixed by #728
Closed

Import error sdk/metric/aggregation #726

maciejrozanski opened this issue Sep 27, 2023 · 1 comment · Fixed by #728
Assignees
Labels
bug Something isn't working priority: p1

Comments

@maciejrozanski
Copy link

After trying to run example from:
https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/tree/main/exporter/metric

go: finding module for package go.opentelemetry.io/otel/sdk/metric/aggregation
go: xxx imports
        github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric imports
        go.opentelemetry.io/otel/sdk/metric/aggregation: module go.opentelemetry.io/otel/sdk/metric@latest found (v0.41.0), but does not contain package go.opentelemetry.io/otel/sdk/metric/aggregation
@dashpole dashpole added bug Something isn't working priority: p1 labels Sep 27, 2023
@dashpole dashpole self-assigned this Sep 27, 2023
@dashpole
Copy link
Contributor

We just need to update to the latest version to fix this (#728). If you want to work around this, you can downgrade your sdk/metric package version in your go.mod to v0.41.0

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

Successfully merging a pull request may close this issue.

2 participants