Skip to content

fix: update Go module path to github.com/grafana/tempo/v2#6865

Open
pathcl wants to merge 3 commits intografana:mainfrom
pathcl:develop
Open

fix: update Go module path to github.com/grafana/tempo/v2#6865
pathcl wants to merge 3 commits intografana:mainfrom
pathcl:develop

Conversation

@pathcl
Copy link
Copy Markdown

@pathcl pathcl commented Apr 7, 2026

Fixes #6063. Go requires a /vN suffix in the module path for major versions >= 2. Without it, only v1.5.1 and earlier are accessible via the Go module proxy, forcing users to pin commit hashes.

Changes:

  • go.mod: module github.com/grafana/tempo -> github.com/grafana/tempo/v2
  • tools/go.mod: module github.com/grafana/tempo/tools -> github.com/grafana/tempo/v2/tools
  • All internal imports in 573 .go files updated to use the /v2 path
  • Makefile proto generation sed command updated to use /v2/pkg/tempopb

What this PR does:

Which issue(s) this PR fixes:
Fixes #6063

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Apr 7, 2026

CLA assistant check
All committers have signed the CLA.

Fixes grafana#6063. Go requires a /vN suffix in the module path
for major versions >= 2. Without it, only v1.5.1 and earlier are
accessible via the Go module proxy, forcing users to pin commit hashes.

Changes:
- go.mod: module github.com/grafana/tempo -> github.com/grafana/tempo/v2
- tools/go.mod: module github.com/grafana/tempo/tools -> github.com/grafana/tempo/v2/tools
- All internal imports in 573 .go files updated to use the /v2 path
- Makefile proto generation sed command updated to use /v2/pkg/tempopb
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.

Fix Go based versioning

2 participants