Skip to content

Commit 61a249e

Browse files
authored
Remove the deprecated otelhttp Client (#8266)
1 parent e5b89b0 commit 61a249e

File tree

3 files changed

+6
-172
lines changed

3 files changed

+6
-172
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1111
### Added
1212

1313
- Change `Version()` function in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` to a `const Version` string. (#8142)
14+
15+
### Removed
16+
17+
- The deprecated `DefaultClient`, `Get`, `Head`, `Post`, and `PostForm` in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`.
18+
Use a custom `*http.Client` with `otelhttp.NewTransport(http.DefaultTransport)` instead. (#8266)
19+
1420
<!-- Released section -->
1521
<!-- Don't change this section unless doing release -->
1622

instrumentation/net/http/otelhttp/client.go

Lines changed: 0 additions & 65 deletions
This file was deleted.

instrumentation/net/http/otelhttp/client_test.go

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)