Skip to content

Commit

Permalink
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp fr…
Browse files Browse the repository at this point in the history
…om 0.48.0 to 0.49.0 (#411)

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.48.0 to 0.49.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/releases">go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases</a>.</em></p>
<blockquote>
<h2>Release v1.24.0/v0.49.0/v0.18.0/v0.4.0</h2>
<p>This release is the last to support <a href="https://go.dev/doc/go1.20">Go 1.20</a>. The next release will require at least <a href="https://go.dev/doc/go1.21">Go 1.21</a>.</p>
<h3>Added</h3>
<ul>
<li>Support <a href="https://go.dev/doc/go1.22">Go 1.22</a>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5082">#5082</a>)</li>
<li>Add support for Summary metrics to <code>go.opentelemetry.io/contrib/bridges/prometheus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5089">#5089</a>)</li>
<li>Add support for Exponential (native) Histograms in <code>go.opentelemetry.io/contrib/bridges/prometheus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5093">#5093</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>The deprecated <code>RequestCount</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>RequestContentLength</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>ResponseContentLength</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>ServerLatency</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Retrieving the body bytes count in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> does not cause a data race anymore. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5080">#5080</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/arvindbr8"><code>@​arvindbr8</code></a> made their first contribution in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/4897">open-telemetry/opentelemetry-go-contrib#4897</a></li>
<li><a href="https://github.com/wushujames"><code>@​wushujames</code></a> made their first contribution in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5135">open-telemetry/opentelemetry-go-contrib#5135</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v1.23.0...v1.24.0">https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v1.23.0...v1.24.0</a></p>
<h2>Release v1.23.0/v0.48.0/v0.17.0/v0.3.0</h2>
<h3>Added</h3>
<ul>
<li>Add client metric support to <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4707">#4707</a>)</li>
<li>Add peer attributes to spans recorded by <code>NewClientHandler</code>, <code>NewServerHandler</code> in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4873">#4873</a>)</li>
<li>Add support for <code>cloud.account.id</code>, <code>cloud.availability_zone</code> and <code>cloud.region</code> in the AWS ECS detector. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4860">#4860</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The fallback options in  <code>go.opentelemetry.io/contrib/exporters/autoexport</code> now accept factory functions. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4891">#4891</a>)
<ul>
<li><code>WithFallbackMetricReader(metric.Reader) MetricOption</code> is replaced with <code>func WithFallbackMetricReader(func(context.Context) (metric.Reader, error)) MetricOption</code>.</li>
<li><code>WithFallbackSpanExporter(trace.SpanExporter) SpanOption</code> is replaced with <code>WithFallbackSpanExporter(func(context.Context) (trace.SpanExporter, error)) SpanOption</code>.</li>
</ul>
</li>
<li>The <code>http.server.request_content_length</code> metric in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is changed to <code>http.server.request.size</code>.(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4707">#4707</a>)</li>
<li>The <code>http.server.response_content_length</code> metric in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is changed to <code>http.server.response.size</code>.(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4707">#4707</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>The <code>RequestCount</code>, <code>RequestContentLength</code>, <code>ResponseContentLength</code>, <code>ServerLatency</code> constants in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> are deprecated. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4707">#4707</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md">go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog</a>.</em></p>
<blockquote>
<h2>[1.24.0/0.49.0/0.18.0/0.4.0] - 2024-02-23</h2>
<p>This release is the last to support [Go 1.20].
The next release will require at least [Go 1.21].</p>
<h3>Added</h3>
<ul>
<li>Support [Go 1.22]. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5082">#5082</a>)</li>
<li>Add support for Summary metrics to <code>go.opentelemetry.io/contrib/bridges/prometheus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5089">#5089</a>)</li>
<li>Add support for Exponential (native) Histograms in <code>go.opentelemetry.io/contrib/bridges/prometheus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5093">#5093</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>The deprecated <code>RequestCount</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>RequestContentLength</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>ResponseContentLength</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
<li>The deprecated <code>ServerLatency</code> constant in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4894">#4894</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Retrieving the body bytes count in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> does not cause a data race anymore. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5080">#5080</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/e22317fbf7064156425695d7b5002bd0b63f1305"><code>e22317f</code></a> Release v1.24.0/v0.49.0/v0.18.0/v0.4.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5141">#5141</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/b39c37112e11b24fdcdef1f55482bdbd70cf1a03"><code>b39c371</code></a> Add links checking actions (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5136">#5136</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/1dc457c23fffb8d6413a9b986daeee0527d9eb92"><code>1dc457c</code></a> Fix broken link (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5135">#5135</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/65f36677bddcf44657ae66c14534261870f66d1e"><code>65f3667</code></a> support exponential histograms in the prometheus bridge (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5093">#5093</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/c78da11ffb011a5f9aea8f60e1356648c74ffc66"><code>c78da11</code></a> Add support for summary metrics in the prometheus bridge (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5089">#5089</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/dabfd130d3c00cb444769b1537e851df6cd1824c"><code>dabfd13</code></a> fix httpconv changes in docs from semconv 1.17 to 1.20 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4799">#4799</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/4e9ecc22177a018594d1f7c72c4d1d115851a60b"><code>4e9ecc2</code></a> add package comment to otelgrpc/internal/test (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5085">#5085</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/72f859cff96a457ff735790f7ecbb73f502dcf90"><code>72f859c</code></a> Support and test Go 1.22 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5082">#5082</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/43ec73bacdc66259c3761d0376847fb2e927e0e2"><code>43ec73b</code></a> Use an atomic.Int64 as bodyWrapper read bytes counter (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5080">#5080</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/ee763301e93046a3a17f46bfc892ea62d8874aa3"><code>ee76330</code></a> fork a subset of google.golang.org/grpc/interop to otelgrpc (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/4897">#4897</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.48.0...zpages/v0.49.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp&package-manager=go_modules&previous-version=0.48.0&new-version=0.49.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
mergify[bot] authored Feb 27, 2024
2 parents 180ac19 + 09ab892 commit 5c65858
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ require (
github.com/prometheus/client_golang v1.18.0
github.com/tinkerbell/ipxedust v0.0.0-20231215220341-a535c5deb47a
github.com/tinkerbell/tink v0.10.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0
go.opentelemetry.io/otel v1.23.1
go.opentelemetry.io/otel/trace v1.23.1
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go.opentelemetry.io/otel v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/zap v1.27.0
golang.org/x/net v0.21.0
golang.org/x/sync v0.6.0
Expand Down Expand Up @@ -79,7 +79,7 @@ require (
github.com/u-root/uio v0.0.0-20230305220412-3e8cd9d6bf63 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 // indirect
go.opentelemetry.io/otel/metric v1.23.1 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/sdk v1.21.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,20 @@ github.com/u-root/uio v0.0.0-20230305220412-3e8cd9d6bf63/go.mod h1:eLL9Nub3yfAho
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 h1:doUP+ExOpH3spVTLS0FcWGLnQrPct/hD/bCPbDRUEAU=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0/go.mod h1:rdENBZMT2OE6Ne/KLwpiXudnAsbdrdBaqBvTN8M8BgA=
go.opentelemetry.io/otel v1.23.1 h1:Za4UzOqJYS+MUczKI320AtqZHZb7EqxO00jAHE0jmQY=
go.opentelemetry.io/otel v1.23.1/go.mod h1:Td0134eafDLcTS4y+zQ26GE8u3dEuRBiBCTUIRHaikA=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 h1:cl5P5/GIfFh4t6xyruOgJP5QiA1pw4fYYdv6nc6CBWw=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0/go.mod h1:zgBdWWAu7oEEMC06MMKc5NLbA/1YDXV1sMpSqEeLQLg=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 h1:tIqheXEFWAZ7O8A7m+J0aPTmpJN3YQ7qetUAdkkkKpk=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0/go.mod h1:nUeKExfxAQVbiVFn32YXpXZZHZ61Cc3s3Rn1pDBGAb0=
go.opentelemetry.io/otel/metric v1.23.1 h1:PQJmqJ9u2QaJLBOELl1cxIdPcpbwzbkjfEyelTl2rlo=
go.opentelemetry.io/otel/metric v1.23.1/go.mod h1:mpG2QPlAfnK8yNhNJAxDZruU9Y1/HubbC+KyH8FaCWI=
go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI=
go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco=
go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8=
go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E=
go.opentelemetry.io/otel/trace v1.23.1 h1:4LrmmEd8AU2rFvU1zegmvqW7+kWarxtNOPyeL6HmYY8=
go.opentelemetry.io/otel/trace v1.23.1/go.mod h1:4IpnpJFwr1mo/6HL8XIPJaE9y0+u1KcVmuW7dwFSVrI=
go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI=
go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU=
go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I=
go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
Expand Down

0 comments on commit 5c65858

Please sign in to comment.