Skip to content

fix(instrumentation): restore deleted net/http/pattern package (#4017 backport)#4019

Merged
darccio merged 5 commits into
release-v2.3.xfrom
nick.ripley/restore-net-http-pattern-backport
Oct 7, 2025
Merged

fix(instrumentation): restore deleted net/http/pattern package (#4017 backport)#4019
darccio merged 5 commits into
release-v2.3.xfrom
nick.ripley/restore-net-http-pattern-backport

Conversation

@nsrip-dd

@nsrip-dd nsrip-dd commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

The instrumentation/net/http/pattern package was moved by #3853. The
contrib/net/http/v2 module depends on that package at version v2.2.3. As a
result, that verison of contrib/net/http/v2 won't be able to use newer
versions of the main module. This is a breaking change. This commit restores the
deleted package. While the current contrib/net/http/v2 package doesn't use it
any more, this maintains compatibility with previous versions.

In this backport, we don't have the NewSafeError functionality for
telemetry logging. Rather than bring it back to this branch, this commit
just uses the %T formatter to get roughly the same functionality.

Backports #4017

…backport)

The instrumentation/net/http/pattern package was moved by #3853. The
contrib/net/http/v2 module depends on that package at version v2.2.3. As a
result, that verison of contrib/net/http/v2 won't be able to use newer
versions of the main module. This is a breaking change. This commit restores the
deleted package. While the current contrib/net/http/v2 package doesn't use it
any more, this maintains compatibility with previous versions.

In this backport, we don't have the NewSafeError functionality for
telemetry logging. Rather than bring it back to this branch, this commit
just uses the `%T` formatter to get roughly the same functionality.

Backports #4017
@pr-commenter

pr-commenter Bot commented Oct 2, 2025

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2025-10-07 13:01:13

Comparing candidate commit fabb10c in PR branch nick.ripley/restore-net-http-pattern-backport with baseline commit d3a28ba in branch release-v2.3.x.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 24 metrics, 0 unstable metrics.

@nsrip-dd
nsrip-dd marked this pull request as ready for review October 6, 2025 14:39
@nsrip-dd
nsrip-dd requested a review from a team as a code owner October 6, 2025 14:39
@datadog-official

datadog-official Bot commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: fabb10c | Docs | Was this helpful? Give us feedback!

@darccio
darccio merged commit e284f3c into release-v2.3.x Oct 7, 2025
237 checks passed
@darccio
darccio deleted the nick.ripley/restore-net-http-pattern-backport branch October 7, 2025 13:06
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.

3 participants