Skip to content

chore(api): downgrade go.opentelemetry.io/otel to v1.39.0#4897

Closed
korniltsev-grafanista wants to merge 1 commit into
mainfrom
downgrade-otel
Closed

chore(api): downgrade go.opentelemetry.io/otel to v1.39.0#4897
korniltsev-grafanista wants to merge 1 commit into
mainfrom
downgrade-otel

Conversation

@korniltsev-grafanista
Copy link
Copy Markdown
Contributor

@korniltsev-grafanista korniltsev-grafanista commented Mar 13, 2026

Summary

  • Downgrade go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric from v1.40.0 to v1.39.0 in the api module
  • v1.40.0 was pulled in as a side-effect of go mod tidy during the Go 1.25.7 bump (e7cc2ff)
  • google.golang.org/grpc v1.78.0 only requires otel/sdk/metric v1.38.0, so v1.39.0 is sufficient

Why

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/... passes
  • go mod tidy clean

🤖 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 api module’s indirect OpenTelemetry dependencies (go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric) from v1.40.0 to v1.39.0.

Updates api/go.sum and go.work.sum accordingly to reflect the new module versions/checksums (including removing the previously-resolved newer pprof sum entry).

Written by Cursor Bugbot for commit e333796. This will update automatically on new commits. Configure here.

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>
@korniltsev-grafanista korniltsev-grafanista marked this pull request as ready for review March 13, 2026 05:55
@korniltsev-grafanista korniltsev-grafanista enabled auto-merge (squash) March 13, 2026 05:57
auto-merge was automatically disabled March 13, 2026 07:36

Pull request was 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

Successfully merging this pull request may close these issues.

1 participant