Skip to content

fix(deps): update module gopkg.in/datadog/dd-trace-go.v1 to v2 - #269

Open
self-hosted-renovatebot[bot] wants to merge 1 commit into
masterfrom
renovate/gopkg.in-datadog-dd-trace-go.v1-2.x
Open

fix(deps): update module gopkg.in/datadog/dd-trace-go.v1 to v2#269
self-hosted-renovatebot[bot] wants to merge 1 commit into
masterfrom
renovate/gopkg.in-datadog-dd-trace-go.v1-2.x

Conversation

@self-hosted-renovatebot

@self-hosted-renovatebot self-hosted-renovatebot Bot commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
gopkg.in/DataDog/dd-trace-go.v1 v1.71.1v2.9.2 age confidence

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@self-hosted-renovatebot
self-hosted-renovatebot Bot requested a review from a team as a code owner June 5, 2025 16:53
@self-hosted-renovatebot

self-hosted-renovatebot Bot commented Jun 5, 2025

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: gopkg.in/DataDog/dd-trace-go.v2@v2.9.2: parsing go.mod:
	module declares its path as: github.com/DataDog/dd-trace-go/v2
	        but was required as: gopkg.in/DataDog/dd-trace-go.v2

@gitops-autobot-reviewer-cresta gitops-autobot-reviewer-cresta Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: PR created by known bot user @self-hosted-renovatebot[bot]

@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from d3816ae to 601df24 Compare June 24, 2025 18:54
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 601df24 to ef1962b Compare July 11, 2025 14:53
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 2 times, most recently from d28d854 to 61cf45b Compare July 24, 2025 16:59
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 61cf45b to b1e9e1e Compare August 11, 2025 15:02
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from b1e9e1e to c53b509 Compare September 2, 2025 14:57
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from c53b509 to 4b5efaa Compare October 20, 2025 15:14
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 4b5efaa to 192182c Compare October 30, 2025 19:20
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 2 times, most recently from a9a2470 to f72dedc Compare November 20, 2025 01:25
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from f72dedc to 9296ef2 Compare December 15, 2025 13:24
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 9296ef2 to 745bedd Compare January 9, 2026 10:56
@coderabbitai

coderabbitai Bot commented Jan 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch renovate/gopkg.in-datadog-dd-trace-go.v1-2.x

Comment @coderabbitai help to get the list of available commands and usage tips.

@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 745bedd to 21c5466 Compare February 9, 2026 15:00
@cursor

cursor Bot commented Feb 9, 2026

Copy link
Copy Markdown

PR Summary

High Risk
Major version bump of the Datadog tracing library with a new module path; existing v1 imports are unchanged, so this can break builds and APM instrumentation until code is migrated.

Overview
Bumps the Datadog APM client from gopkg.in/DataDog/dd-trace-go.v1 (v1.71.1) to gopkg.in/DataDog/dd-trace-go.v2 (v2.9.2).

This is a major module-path change. Application imports in internal/gitdb/tracing/datadog still reference the v1 paths (contrib/gorilla/mux, contrib/net/http, ddtrace/tracer), so those will need a matching migration for the upgrade to build and run correctly.

Reviewed by Cursor Bugbot for commit 4388657. Bugbot is set up for automated code reviews on this repo. Configure here.

@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 21c5466 to 6441dd4 Compare March 23, 2026 15:12
@gitops-autobot-reviewer-cresta

Copy link
Copy Markdown

Codeowner Check

Status: ❌ Missing codeowner approvals

The following rules are missing approval. Request a review from the listed codeowners:

Pattern # Files Owners to approve
go.* 1 @cresta/infrastructure-squad

Please request a review from the listed codeowners to satisfy this check.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Module uses deprecated gopkg.in path for v2
    • Updated go.mod to use the official v2 module path github.com/DataDog/dd-trace-go/v2 instead of the deprecated gopkg.in path.

Create PR

Or push these changes by commenting:

@cursor push 420cb1758f
Preview (420cb1758f)
diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -15,7 +15,7 @@
 	github.com/signalfx/golib/v3 v3.4.2
 	github.com/stretchr/testify v1.11.1
 	go.uber.org/zap v1.27.1
-	gopkg.in/DataDog/dd-trace-go.v2 v2.7.0
+	github.com/DataDog/dd-trace-go/v2 v2.7.0
 )
 
 require (

Comment thread go.mod Outdated
github.com/stretchr/testify v1.11.1
go.uber.org/zap v1.27.1
gopkg.in/DataDog/dd-trace-go.v1 v1.71.1
gopkg.in/DataDog/dd-trace-go.v2 v2.7.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Module uses deprecated gopkg.in path for v2

Medium Severity

The go.mod declares gopkg.in/DataDog/dd-trace-go.v2 but DataDog's official v2 module path is github.com/DataDog/dd-trace-go/v2. Using the legacy gopkg.in domain creates inconsistency with official documentation, makes the codebase non-standard, and could cause confusion since the migration guide and all examples use the GitHub path. This also means import statements must use the deprecated gopkg.in path to match the module declaration.

Fix in Cursor Fix in Web

@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 3 times, most recently from 2488f22 to e27a57c Compare April 2, 2026 21:05
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 2 times, most recently from 2028cc0 to 74014e4 Compare April 22, 2026 15:29
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 3 times, most recently from 0ddf626 to b12fcda Compare May 10, 2026 19:07
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from b12fcda to 8aa5725 Compare May 20, 2026 16:23
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch 2 times, most recently from 3b44b23 to edb3534 Compare June 24, 2026 16:00
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from edb3534 to 79233b7 Compare July 1, 2026 10:21
@self-hosted-renovatebot
self-hosted-renovatebot Bot force-pushed the renovate/gopkg.in-datadog-dd-trace-go.v1-2.x branch from 79233b7 to 4388657 Compare August 12, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants