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

Incompatible issue between the latest OT collector version 0.22 with AOC #391

Closed
JohnWu20 opened this issue Mar 10, 2021 · 1 comment
Closed

Comments

@JohnWu20
Copy link
Contributor

Background
The contrib repo just updated the newest version 0.22.0 yesterday. And it seems that there are some breaking compatibility updates made for version 0.22.0 compared to V 0.21.0.

Issues

When I updated all components version from V0.21.0 to V0.22.0, AOC failed to build with below error:

pkg/defaultcomponents/defaults.go:99:35: CombineErrors not declared by package componenterror (compile)
pkg/config/config_factory_test.go:24:2: module go.opentelemetry.io/collector@latest found (v0.22.0), but does not contain package go.opentelemetry.io/collector/service/builder (compile)

make: *** [lint-static-check] Error 1

From https://pkg.go.dev/go.opentelemetry.io/collector/service, the builder package moved to internal, and we can't import internal package.

Describe the solution you'd like
The AOC repo should make some changes for the latest version 0.22.0.

Additional context
Here is the go.mod file I used to update to the latest version:
https://paste.amazon.com/show/jialiawu/1615412749

@mxiamxia
Copy link
Member

Issue resolved. Closed

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

No branches or pull requests

2 participants