This repository was archived by the owner on Sep 30, 2024. It is now read-only.
opentelemetry: upgrade all packages to v1.16/v0.81#54969
Merged
Conversation
Contributor
|
I've rebuild the base image with the updated version of opentelemetry-collector. Running the image locally, I see the updated package: |
…lemetry-1-13-0-81
davejrt
approved these changes
Jul 14, 2023
Member
Author
|
Encountering a pretty cryptic error, something to do with Bazel patches for back-compat tests? https://buildkite.com/sourcegraph/sourcegraph/builds/234601#0189565e-f31a-4cb1-9a64-81b8b37546da/41-82 |
Member
Author
|
Turns out most of the upgrade was done in https://github.com/sourcegraph/sourcegraph/pull/54999, but this change still handles the upgrade of OpenTelemetry collector and some third-party deps that were missed in #54999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenTelemetry versioning scheme is a bit convoluted but this upgrades all OpenTelemetry-related packages together to around v1.16 (for Go SDK packages) and v0.81 (for Collector packages, and the Collector itself) - thankfully there were fewer breaking changes this time around. Big diff is almost entirely
deps.bzlOne of the more significant changes is we now have access to the finalized OpenTelemetry Metrics API, which will come in handy for https://github.com/sourcegraph/sourcegraph/issues/53775, as well as various Collector improvements from recent releases: https://github.com/open-telemetry/opentelemetry-collector-contrib/releases I skimmed through the recent breaking changes and I don't think there's anything that affects us
Update: https://github.com/sourcegraph/sourcegraph/pull/54969#issuecomment-1638557302
Test plan
See v0.81 collector running:
Do a trace, get a result from multiple services: