-
Notifications
You must be signed in to change notification settings - Fork 527
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
Update opentelemetry collector to v0.40.0 #1142
Update opentelemetry collector to v0.40.0 #1142
Conversation
Relates to #1102 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for the contribution! Overall the upgrade looks good.
Left a comment about the registered metrics.
88cd773
to
7f6e9f7
Compare
Signed-off-by: Miguel Sacristán Izcue <miguel_tete17@hotmail.com>
7f6e9f7
to
a748f53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good, many thanks for the contribution!
Hey @tete17, it seems that the CI failed at two checks
Thanks again! |
Signed-off-by: Miguel Sacristán Izcue <miguel_tete17@hotmail.com>
Hey @mapno sorry for the silly mistakes the vendor issue must have slipped me with the rebase and the deprecated function I saw in the first ci run and did nothing my bad. Should be fixed now 😄 |
I tried running the e2e tests locally and found no error. Are they run against what would be the result of the merge or the branch of the MR? Could it be just a fluke? can we run them again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome improvement! I was privately dreading this upgrade. Thanks!
What this PR does:
This PR updates the opentelemetry-collector dependency to 0.40.0
We can consider it a sibling of this PR grafana/helm-charts#855. The reason is the old version still had the wrong default port number for otel http endpoint. By upgrading the dependency we make sure to always use the port 4318 and avoid future confusion.
The changes are fairly minor, most of my work was going through the changelog and see the renaming of symbols they did. The biggest hurdles were the change they did in config parsing and the fact that the metrics for collectors are now hidden due under an internal package, see open-telemetry/opentelemetry-collector#3253.
Both changes are mostly reflected in the file
modules/distributor/receiver/shim.go
. That can be a good point of focus for anyone willing to review this change. Ignoring the vendor folder it shouldn't be that big.Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]