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.48.0 to 0.49.0 (#2904)

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>
<!-- 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.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
dependabot[bot] authored Feb 27, 2024
1 parent b3efff8 commit 3c2974b
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 @@ -29,12 +29,12 @@ require (
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4 v1.4.1
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0
go.opentelemetry.io/otel 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/exporters/jaeger v1.17.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.23.1
go.opentelemetry.io/otel/sdk v1.23.1
go.opentelemetry.io/otel/trace v1.23.1
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/automaxprocs v1.5.3
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
Expand Down Expand Up @@ -177,7 +177,7 @@ require (
github.com/tetratelabs/wazero v1.6.0 // indirect
github.com/vbatts/tar-split v0.11.5 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect
go.opentelemetry.io/otel/metric v1.23.1 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/dig v1.17.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,10 @@ 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.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/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 h1:9M3+rhx7kZCIQQhQRYaZCdNu1V73tm4TvXs2ntl98C4=
Expand All @@ -536,14 +536,14 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.22.0 h1:FyjCy
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.22.0/go.mod h1:hYwym2nDEeZfG/motx0p7L7J1N1vyzIThemQsb4g2qY=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.23.1 h1:IqmsDcJnxQSs6W+1TMSqpYO7VY4ZuEKJGYlSBPUlT1s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.23.1/go.mod h1:VMZ84RYOd4Lrp0+09mckDvqBj2PXWDwOFaxb1P5uO8g=
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.23.1 h1:O7JmZw0h76if63LQdsBMKQDWNb5oEcOThG9IrxscV+E=
go.opentelemetry.io/otel/sdk v1.23.1/go.mod h1:LzdEVR5am1uKOOwfBWFef2DCi1nu3SA8XQxx2IerWFk=
go.opentelemetry.io/otel/sdk/metric v1.19.0 h1:EJoTO5qysMsYCa+w4UghwFV/ptQgqSL/8Ni+hx+8i1k=
go.opentelemetry.io/otel/sdk/metric v1.19.0/go.mod h1:XjG0jQyFJrv2PbMvwND7LwCEhsJzCzV5210euduKcKY=
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.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxikMeI=
go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
Expand Down

0 comments on commit 3c2974b

Please sign in to comment.