Skip to content

Commit

Permalink
build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/htt…
Browse files Browse the repository at this point in the history
…p/otelhttp from 0.53.0 to 0.54.0 (#3271)

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.53.0 to 0.54.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.29.0/v0.54.0/v0.23.0/v0.9.0/v0.4.0/v0.2.0/v0.1.0</h2>
<h2>Overview</h2>
<p>This release is the last to support <a href="https://go.dev/doc/go1.21">Go 1.21</a>. The next release will require at least <a href="https://go.dev/doc/go1.22">Go 1.22</a>.</p>
<h3>Added</h3>
<ul>
<li>Add the <code>WithSpanAttributes</code> and <code>WithMetricAttributes</code> methods to set custom attributes to the stats handler 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/5133">#5133</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/bridges/otelzap</code> module. This module provides an OpenTelemetry logging bridge for <code>go.uber.org/zap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5191">#5191</a>)</li>
<li>Support for the <code>OTEL_HTTP_CLIENT_COMPATIBILITY_MODE=http/dup</code> environment variable in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5401">#5401</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/bridges/otelzerolog</code> module. This module provides an OpenTelemetry logging bridge for <code>github.com/rs/zerolog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5405">#5405</a>)</li>
<li>Add <code>WithGinFilter</code> filter parameter in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code> to allow filtering requests with <code>*gin.Context</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5743">#5743</a>)</li>
<li>Support for stdoutlog exporter in <code>go.opentelemetry.io/contrib/config</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5850">#5850</a>)</li>
<li>Add macOS ARM64 platform to the compatibility testing suite. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5868">#5868</a>)</li>
<li>Add new runtime metrics to <code>go.opentelemetry.io/contrib/instrumentation/runtime</code>, which are still disabled by default. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5870">#5870</a>)</li>
<li>Add the <code>WithMetricsAttributesFn</code> option to allow setting dynamic, per-request metric attributes in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5876">#5876</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/config</code> package supports configuring <code>with_resource_constant_labels</code> for the prometheus exporter. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5890">#5890</a>)</li>
<li>Support <a href="https://go.dev/doc/go1.23">Go 1.23</a>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6017">#6017</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>The deprecated <code>go.opentelemetry.io/contrib/processors/baggagecopy</code> package is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5853">#5853</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Race condition when reading the HTTP body and writing the response in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5916">#5916</a>)</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Remove redundant otelhttp allocation by <a href="https://github.com/gaiaz-iusipov"><code>@​gaiaz-iusipov</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5842">open-telemetry/opentelemetry-go-contrib#5842</a></li>
<li>fix(deps): update module github.com/aws/aws-sdk-go to v1.54.14 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5856">open-telemetry/opentelemetry-go-contrib#5856</a></li>
<li>fix(deps): update aws-sdk-go-v2 monorepo by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5855">open-telemetry/opentelemetry-go-contrib#5855</a></li>
<li>chore(deps): update k8s.io/kube-openapi digest to 0aa61b4 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5854">open-telemetry/opentelemetry-go-contrib#5854</a></li>
<li>chore(deps): update module golang.org/x/sys to v0.22.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5858">open-telemetry/opentelemetry-go-contrib#5858</a></li>
<li>chore(deps): update module golang.org/x/term to v0.22.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5859">open-telemetry/opentelemetry-go-contrib#5859</a></li>
<li>chore(deps): update module golang.org/x/mod to v0.19.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5857">open-telemetry/opentelemetry-go-contrib#5857</a></li>
<li>config: Implement stdoutlog exporter by <a href="https://github.com/robinknaapen"><code>@​robinknaapen</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5850">open-telemetry/opentelemetry-go-contrib#5850</a></li>
<li>chore(deps): update module golang.org/x/crypto to v0.25.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5862">open-telemetry/opentelemetry-go-contrib#5862</a></li>
<li>chore(deps): update module golang.org/x/net to v0.27.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5863">open-telemetry/opentelemetry-go-contrib#5863</a></li>
<li>fix(deps): update module golang.org/x/tools to v0.23.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5866">open-telemetry/opentelemetry-go-contrib#5866</a></li>
<li>fix(deps): update module github.com/aws/aws-sdk-go to v1.54.15 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5864">open-telemetry/opentelemetry-go-contrib#5864</a></li>
<li>fix(deps): update golang.org/x/exp digest to 46b0784 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5867">open-telemetry/opentelemetry-go-contrib#5867</a></li>
<li>Remove baggagetrace by <a href="https://github.com/MrAlias"><code>@​MrAlias</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5853">open-telemetry/opentelemetry-go-contrib#5853</a></li>
<li>Use logtest.AssertRecordEqual in logrus bridge by <a href="https://github.com/dmathieu"><code>@​dmathieu</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5852">open-telemetry/opentelemetry-go-contrib#5852</a></li>
<li>chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ad9e85 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5870">open-telemetry/opentelemetry-go-contrib#5870</a></li>
<li>fix(deps): update google.golang.org/genproto/googleapis/api digest to 4ad9e85 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5871">open-telemetry/opentelemetry-go-contrib#5871</a></li>
<li>fix(deps): update module github.com/aws/aws-sdk-go to v1.54.16 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5873">open-telemetry/opentelemetry-go-contrib#5873</a></li>
</ul>
<!-- raw HTML omitted -->
</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.29.0/0.54.0/0.23.0/0.9.0/0.4.0/0.2.0/0.1.0] - 2024-08-23</h2>
<p>This release is the last to support [Go 1.21].
The next release will require at least [Go 1.22].</p>
<h3>Added</h3>
<ul>
<li>Add the <code>WithSpanAttributes</code> and <code>WithMetricAttributes</code> methods to set custom attributes to the stats handler 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/5133">#5133</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/bridges/otelzap</code> module.
This module provides an OpenTelemetry logging bridge for <code>go.uber.org/zap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5191">#5191</a>)</li>
<li>Support for the <code>OTEL_HTTP_CLIENT_COMPATIBILITY_MODE=http/dup</code> environment variable in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5401">#5401</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/bridges/otelzerolog</code> module.
This module provides an OpenTelemetry logging bridge for <code>github.com/rs/zerolog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5405">#5405</a>)</li>
<li>Add <code>WithGinFilter</code> filter parameter in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code> to allow filtering requests with <code>*gin.Context</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5743">#5743</a>)</li>
<li>Support for stdoutlog exporter in <code>go.opentelemetry.io/contrib/config</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5850">#5850</a>)</li>
<li>Add macOS ARM64 platform to the compatibility testing suite. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5868">#5868</a>)</li>
<li>Add new runtime metrics to <code>go.opentelemetry.io/contrib/instrumentation/runtime</code>, which are still disabled by default. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5870">#5870</a>)</li>
<li>Add the <code>WithMetricsAttributesFn</code> option to allow setting dynamic, per-request metric attributes in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5876">#5876</a>)</li>
<li>The <code>go.opentelemetry.io/contrib/config</code> package supports configuring <code>with_resource_constant_labels</code> for the prometheus exporter. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5890">#5890</a>)</li>
<li>Support [Go 1.23]. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6017">#6017</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>The deprecated <code>go.opentelemetry.io/contrib/processors/baggagecopy</code> package is removed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5853">#5853</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Race condition when reading the HTTP body and writing the response in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5916">#5916</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/fc25f67729cdfa5fa171d4d31595eac059322400"><code>fc25f67</code></a> Release v1.29.0/v0.54.0/v0.23.0/v0.9.0/v0.4.0/v0.2.0/v0.1.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6042">#6042</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/c42406aef2fc1018836bc68204213fe1acf1c898"><code>c42406a</code></a> fix(deps): update module github.com/golangci/golangci-lint to v1.60.3 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6039">#6039</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/fd2862021f8c434f2bf158b4d280a1d5bf3176cf"><code>fd28620</code></a> fix(deps): update module github.com/golangci/golangci-lint to v1.60.2 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6008">#6008</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/21e0a4d8395bb989305fb962c48bd521ed4d49a0"><code>21e0a4d</code></a> fix(deps): update golang.org/x/exp digest to 9b4947d (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6038">#6038</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/3e4b55047b68c94090d38936a5ec091d73bbeda6"><code>3e4b550</code></a> fix(deps): update golang.org/x/exp digest to 778ce7b (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6035">#6035</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/e9d1d30742c71eeb29515182c1e4fa70edc801ce"><code>e9d1d30</code></a> fix(deps): update google.golang.org/genproto/googleapis/api digest to fc7c04a...</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/35cdd983d708b1fb58f075202359ffba73f9c42a"><code>35cdd98</code></a> fix(deps): update aws-sdk-go-v2 monorepo (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6037">#6037</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/b0a60d2d06a17b62e2d059888db7f1173808187a"><code>b0a60d2</code></a> chore(deps): update k8s.io/kube-openapi digest to 76de80e (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6033">#6033</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/3a400b4ef0e5e2f6947c233137d6b3634a346929"><code>3a400b4</code></a> chore(deps): update google.golang.org/genproto/googleapis/rpc digest to fc7c0...</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/cf214e5d5a2ae62eb4511f8ac9164bf7e682a61b"><code>cf214e5</code></a> chore(deps): update k8s.io/utils digest to f90d014 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6029">#6029</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.53.0...zpages/v0.54.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.53.0&new-version=0.54.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
dependabot[bot] authored and KaloyanTanev committed Nov 19, 2024
1 parent 18ffecb commit 8150bff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require (
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4 v1.4.1
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0
go.opentelemetry.io/otel v1.29.0
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.29.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 h1:4K4tsIXefpVJtvA/8srF4V4y0akAoPHkIslgAkjixJA=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0/go.mod h1:jjdQuTGVsXV4vSs+CJ2qYDeDPf9yIJV23qlIzBm73Vg=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+nBOA/+LUkobKGW1ydGcn+G3vRw9+g5HwCphpk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8=
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
Expand Down

0 comments on commit 8150bff

Please sign in to comment.