chore(api): downgrade go.opentelemetry.io/otel to v1.39.0#4897
Closed
korniltsev-grafanista wants to merge 1 commit into
Closed
chore(api): downgrade go.opentelemetry.io/otel to v1.39.0#4897korniltsev-grafanista wants to merge 1 commit into
korniltsev-grafanista wants to merge 1 commit into
Conversation
Alloy cannot use otel v1.40.0 yet (grafana/alloy#5779). grpc v1.78.0 only requires otel/sdk/metric v1.38.0, so v1.39.0 is sufficient for this module. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
auto-merge was automatically disabled
March 13, 2026 07:36
Pull request was closed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
go.opentelemetry.io/otelandgo.opentelemetry.io/otel/sdk/metricfrom v1.40.0 to v1.39.0 in theapimodulego mod tidyduring the Go 1.25.7 bump (e7cc2ff)google.golang.org/grpcv1.78.0 only requires otel/sdk/metric v1.38.0, so v1.39.0 is sufficientWhy
Alloy needs this downgrade to avoid a dependency conflict when consuming
github.com/grafana/pyroscope/api. See grafana/alloy#5779.Test plan
go build ./api/...passesgo mod tidyclean🤖 Generated with Claude Code
Note
Low Risk
Low risk dependency-only change; primary impact is potential subtle behavior differences in OpenTelemetry metrics/tracing due to the version downgrade.
Overview
Downgrades the
apimodule’s indirect OpenTelemetry dependencies (go.opentelemetry.io/otelandgo.opentelemetry.io/otel/sdk/metric) fromv1.40.0tov1.39.0.Updates
api/go.sumandgo.work.sumaccordingly to reflect the new module versions/checksums (including removing the previously-resolved newerpprofsum entry).Written by Cursor Bugbot for commit e333796. This will update automatically on new commits. Configure here.