Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the otel-instrumentation group with 2 updates (#5474)
Bumps the otel-instrumentation group with 2 updates: [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) and [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib). Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.51.0 to 0.52.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/google.golang.org/grpc/otelgrpc's releases</a>.</em></p> <blockquote> <h2>Release v1.27.0/v0.52.0/v0.21.0/v0.7.0/v0.2.0</h2> <h2>Overview</h2> <h3>Added</h3> <ul> <li>Add the new <code>go.opentelemetry.io/contrib/instrgen</code> package to provide auto-generated source code instrumentation. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3068">#3068</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3108">#3108</a>)</li> <li>Add an experimental <code>OTEL_METRICS_PRODUCERS</code> environment variable to <code>go.opentelemetry.io/contrib/autoexport</code> to be set metrics producers. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a>) <ul> <li><code>prometheus</code> and <code>none</code> are supported values. You can specify multiple producers separated by a comma.</li> <li>Add <code>WithFallbackMetricProducer</code> option that adds a fallback if the <code>OTEL_METRICS_PRODUCERS</code> is not set or empty.</li> </ul> </li> <li>The <code>go.opentelemetry.io/contrib/processors/baggage/baggagetrace</code> module. This module provides a Baggage Span Processor. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5404">#5404</a>)</li> <li>Add gRPC trace <code>Filter</code> for stats handler to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>Add a repository Code Ownership Policy. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5555">#5555</a>)</li> <li>The <code>go.opentelemetry.io/contrib/bridges/otellogrus</code> module. This module provides an OpenTelemetry logging bridge for <code>github.com/sirupsen/logrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5355">#5355</a>)</li> <li>The <code>WithVersion</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the logged package version. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>The <code>WithSchemaURL</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the semantic convention schema URL for the logged records. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>Add support for Cloud Run jobs in <code>go.opentelemetry.io/contrib/detectors/gcp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5559">#5559</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>The gRPC trace <code>Filter</code> for interceptor is renamed to <code>InterceptorFilter</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p>The gRPC trace filter functions <code>Any</code>, <code>All</code>, <code>None</code>, <code>Not</code>, <code>MethodName</code>, <code>MethodPrefix</code>, <code>FullMethodName</code>, <code>ServiceName</code>, <code>ServicePrefix</code> and <code>HealthCheck</code> for interceptor are moved to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor</code>. With this change, the filters in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> are now working for stats handler. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p><code>NewLogger</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the underlying <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p><code>NewHandler</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the returned <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p>Upgrade all dependencies of <code>go.opentelemetry.io/otel/semconv/v1.24.0</code> to <code>go.opentelemetry.io/otel/semconv/v1.25.0</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</p> </li> </ul> <h3>Removed</h3> <ul> <li>The <code>WithInstrumentationScope</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code> is removed. Use the <code>name</code> parameter added to <code>NewHandler</code> and <code>NewLogger</code> as well as <code>WithVersion</code> and <code>WithSchema</code> as replacements. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>The <code>InterceptorFilter</code> type in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> is deprecated. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5436">open-telemetry/opentelemetry-go-contrib#5436</a></li> <li>build(deps): bump github.com/aws/aws-sdk-go from 1.51.25 to 1.51.30 in /detectors/aws/ec2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5435">open-telemetry/opentelemetry-go-contrib#5435</a></li> <li>Add update-all-otel-deps target in Makefile by <a href="https://github.com/XSAM"><code>@XSAM</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5434">open-telemetry/opentelemetry-go-contrib#5434</a></li> <li>build(deps): bump github.com/golangci/golangci-lint from 1.57.2 to 1.58.0 in /tools by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5441">open-telemetry/opentelemetry-go-contrib#5441</a></li> <li>build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5445">open-telemetry/opentelemetry-go-contrib#5445</a></li> <li>autoexport: Add OTEL_METRICS_PRODUCERS environment variable support by <a href="https://github.com/gouthamve"><code>@gouthamve</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5281">open-telemetry/opentelemetry-go-contrib#5281</a></li> <li>Fix changelog for <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a> by <a href="https://github.com/pellared"><code>@pellared</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5450">open-telemetry/opentelemetry-go-contrib#5450</a></li> <li>processors/baggage: add baggage span processor by <a href="https://github.com/codeboten"><code>@codeboten</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5404">open-telemetry/opentelemetry-go-contrib#5404</a></li> <li>Configure Renovate by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/4579">open-telemetry/opentelemetry-go-contrib#4579</a></li> <li>chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5462">open-telemetry/opentelemetry-go-contrib#5462</a></li> <li>[chore] Renovate to add Skip Changelog label by <a href="https://github.com/pellared"><code>@pellared</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5464">open-telemetry/opentelemetry-go-contrib#5464</a></li> <li>chore(deps): update module github.com/golang/snappy to v0.0.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5465">open-telemetry/opentelemetry-go-contrib#5465</a></li> <li>chore(deps): update module github.com/mattn/go-isatty to v0.0.20 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5467">open-telemetry/opentelemetry-go-contrib#5467</a></li> <li>chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.7 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5466">open-telemetry/opentelemetry-go-contrib#5466</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/google.golang.org/grpc/otelgrpc's changelog</a>.</em></p> <blockquote> <h2>[1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21</h2> <h3>Added</h3> <ul> <li>Add the new <code>go.opentelemetry.io/contrib/instrgen</code> package to provide auto-generated source code instrumentation. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3068">#3068</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3108">#3108</a>)</li> <li>Add an experimental <code>OTEL_METRICS_PRODUCERS</code> environment variable to <code>go.opentelemetry.io/contrib/autoexport</code> to be set metrics producers. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a>) <ul> <li><code>prometheus</code> and <code>none</code> are supported values. You can specify multiple producers separated by a comma.</li> <li>Add <code>WithFallbackMetricProducer</code> option that adds a fallback if the <code>OTEL_METRICS_PRODUCERS</code> is not set or empty.</li> </ul> </li> <li>The <code>go.opentelemetry.io/contrib/processors/baggage/baggagetrace</code> module. This module provides a Baggage Span Processor. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5404">#5404</a>)</li> <li>Add gRPC trace <code>Filter</code> for stats handler to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>Add a repository Code Ownership Policy. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5555">#5555</a>)</li> <li>The <code>go.opentelemetry.io/contrib/bridges/otellogrus</code> module. This module provides an OpenTelemetry logging bridge for <code>github.com/sirupsen/logrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5355">#5355</a>)</li> <li>The <code>WithVersion</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the logged package version. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>The <code>WithSchemaURL</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the semantic convention schema URL for the logged records. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>Add support for Cloud Run jobs in <code>go.opentelemetry.io/contrib/detectors/gcp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5559">#5559</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>The gRPC trace <code>Filter</code> for interceptor is renamed to <code>InterceptorFilter</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p>The gRPC trace filter functions <code>Any</code>, <code>All</code>, <code>None</code>, <code>Not</code>, <code>MethodName</code>, <code>MethodPrefix</code>, <code>FullMethodName</code>, <code>ServiceName</code>, <code>ServicePrefix</code> and <code>HealthCheck</code> for interceptor are moved to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor</code>. With this change, the filters in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> are now working for stats handler. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p><code>NewLogger</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the underlying <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p><code>NewHandler</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the returned <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p>Upgrade all dependencies of <code>go.opentelemetry.io/otel/semconv/v1.24.0</code> to <code>go.opentelemetry.io/otel/semconv/v1.25.0</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</p> </li> </ul> <h3>Removed</h3> <ul> <li>The <code>WithInstrumentationScope</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code> is removed. Use the <code>name</code> parameter added to <code>NewHandler</code> and <code>NewLogger</code> as well as <code>WithVersion</code> and <code>WithSchema</code> as replacements. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>The <code>InterceptorFilter</code> type in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> is deprecated. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>The <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo</code> package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">#5551</a>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5598">#5598</a>)</li> </ul> <p><a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">#5551</a>: <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">open-telemetry/opentelemetry-go-contrib#5551</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/007ae66d4a15c43bea20b382c0fd900c66133328"><code>007ae66</code></a> Release v1.27.0/v0.52.0/v0.21.0/v0.7.0/v0.2.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5628">#5628</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/e6f7c8e154e05e093938d57e374650b3510689be"><code>e6f7c8e</code></a> otelzap: Add skeleton for array encoder (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5611">#5611</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/c47a69c6aa70540196527701ac68301a76977303"><code>c47a69c</code></a> Bump semconv/v1.24.0 to v1.25.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/52ee3c48b98bdcfe040e37087b45a807a0211752"><code>52ee3c4</code></a> otelzap: Implement Uint methods on encoder (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5609">#5609</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a91e60beace7c1d96302fe359050d705c4723e72"><code>a91e60b</code></a> fix(deps): update module github.com/aws/aws-sdk-go to v1.53.6 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5616">#5616</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/bf9b41d6ada6be766fd905b82987ee525a5a4cbb"><code>bf9b41d</code></a> [chore] Rebuild .tools as they can be outdated (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5603">#5603</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/d2e306956348d9256d322e7c57a359b6f22e19bb"><code>d2e3069</code></a> chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0....</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/5860ad635d86b1f42b462c3853762fede7b5ff4d"><code>5860ad6</code></a> fix(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/6f3b2540b48fc979977a802086e6f86fcb16f176"><code>6f3b254</code></a> fix(deps): update opentelemetry-go monorepo to 49c866f (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5608">#5608</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/5f9783291f36776f7890b3a5626ee2099f5711fe"><code>5f97832</code></a> chore(deps): update codecov/codecov-action action to v4.4.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5613">#5613</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.51.0...zpages/v0.52.0">compare view</a></li> </ul> </details> <br /> Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.51.0 to 0.52.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.27.0/v0.52.0/v0.21.0/v0.7.0/v0.2.0</h2> <h2>Overview</h2> <h3>Added</h3> <ul> <li>Add the new <code>go.opentelemetry.io/contrib/instrgen</code> package to provide auto-generated source code instrumentation. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3068">#3068</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3108">#3108</a>)</li> <li>Add an experimental <code>OTEL_METRICS_PRODUCERS</code> environment variable to <code>go.opentelemetry.io/contrib/autoexport</code> to be set metrics producers. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a>) <ul> <li><code>prometheus</code> and <code>none</code> are supported values. You can specify multiple producers separated by a comma.</li> <li>Add <code>WithFallbackMetricProducer</code> option that adds a fallback if the <code>OTEL_METRICS_PRODUCERS</code> is not set or empty.</li> </ul> </li> <li>The <code>go.opentelemetry.io/contrib/processors/baggage/baggagetrace</code> module. This module provides a Baggage Span Processor. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5404">#5404</a>)</li> <li>Add gRPC trace <code>Filter</code> for stats handler to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>Add a repository Code Ownership Policy. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5555">#5555</a>)</li> <li>The <code>go.opentelemetry.io/contrib/bridges/otellogrus</code> module. This module provides an OpenTelemetry logging bridge for <code>github.com/sirupsen/logrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5355">#5355</a>)</li> <li>The <code>WithVersion</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the logged package version. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>The <code>WithSchemaURL</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the semantic convention schema URL for the logged records. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>Add support for Cloud Run jobs in <code>go.opentelemetry.io/contrib/detectors/gcp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5559">#5559</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>The gRPC trace <code>Filter</code> for interceptor is renamed to <code>InterceptorFilter</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p>The gRPC trace filter functions <code>Any</code>, <code>All</code>, <code>None</code>, <code>Not</code>, <code>MethodName</code>, <code>MethodPrefix</code>, <code>FullMethodName</code>, <code>ServiceName</code>, <code>ServicePrefix</code> and <code>HealthCheck</code> for interceptor are moved to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor</code>. With this change, the filters in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> are now working for stats handler. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p><code>NewLogger</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the underlying <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p><code>NewHandler</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the returned <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p>Upgrade all dependencies of <code>go.opentelemetry.io/otel/semconv/v1.24.0</code> to <code>go.opentelemetry.io/otel/semconv/v1.25.0</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</p> </li> </ul> <h3>Removed</h3> <ul> <li>The <code>WithInstrumentationScope</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code> is removed. Use the <code>name</code> parameter added to <code>NewHandler</code> and <code>NewLogger</code> as well as <code>WithVersion</code> and <code>WithSchema</code> as replacements. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>The <code>InterceptorFilter</code> type in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> is deprecated. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5436">open-telemetry/opentelemetry-go-contrib#5436</a></li> <li>build(deps): bump github.com/aws/aws-sdk-go from 1.51.25 to 1.51.30 in /detectors/aws/ec2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5435">open-telemetry/opentelemetry-go-contrib#5435</a></li> <li>Add update-all-otel-deps target in Makefile by <a href="https://github.com/XSAM"><code>@XSAM</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5434">open-telemetry/opentelemetry-go-contrib#5434</a></li> <li>build(deps): bump github.com/golangci/golangci-lint from 1.57.2 to 1.58.0 in /tools by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5441">open-telemetry/opentelemetry-go-contrib#5441</a></li> <li>build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5445">open-telemetry/opentelemetry-go-contrib#5445</a></li> <li>autoexport: Add OTEL_METRICS_PRODUCERS environment variable support by <a href="https://github.com/gouthamve"><code>@gouthamve</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5281">open-telemetry/opentelemetry-go-contrib#5281</a></li> <li>Fix changelog for <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a> by <a href="https://github.com/pellared"><code>@pellared</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5450">open-telemetry/opentelemetry-go-contrib#5450</a></li> <li>processors/baggage: add baggage span processor by <a href="https://github.com/codeboten"><code>@codeboten</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5404">open-telemetry/opentelemetry-go-contrib#5404</a></li> <li>Configure Renovate by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/4579">open-telemetry/opentelemetry-go-contrib#4579</a></li> <li>chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5462">open-telemetry/opentelemetry-go-contrib#5462</a></li> <li>[chore] Renovate to add Skip Changelog label by <a href="https://github.com/pellared"><code>@pellared</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5464">open-telemetry/opentelemetry-go-contrib#5464</a></li> <li>chore(deps): update module github.com/golang/snappy to v0.0.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5465">open-telemetry/opentelemetry-go-contrib#5465</a></li> <li>chore(deps): update module github.com/mattn/go-isatty to v0.0.20 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5467">open-telemetry/opentelemetry-go-contrib#5467</a></li> <li>chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.7 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/pull/5466">open-telemetry/opentelemetry-go-contrib#5466</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.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21</h2> <h3>Added</h3> <ul> <li>Add the new <code>go.opentelemetry.io/contrib/instrgen</code> package to provide auto-generated source code instrumentation. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3068">#3068</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/3108">#3108</a>)</li> <li>Add an experimental <code>OTEL_METRICS_PRODUCERS</code> environment variable to <code>go.opentelemetry.io/contrib/autoexport</code> to be set metrics producers. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5281">#5281</a>) <ul> <li><code>prometheus</code> and <code>none</code> are supported values. You can specify multiple producers separated by a comma.</li> <li>Add <code>WithFallbackMetricProducer</code> option that adds a fallback if the <code>OTEL_METRICS_PRODUCERS</code> is not set or empty.</li> </ul> </li> <li>The <code>go.opentelemetry.io/contrib/processors/baggage/baggagetrace</code> module. This module provides a Baggage Span Processor. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5404">#5404</a>)</li> <li>Add gRPC trace <code>Filter</code> for stats handler to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>Add a repository Code Ownership Policy. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5555">#5555</a>)</li> <li>The <code>go.opentelemetry.io/contrib/bridges/otellogrus</code> module. This module provides an OpenTelemetry logging bridge for <code>github.com/sirupsen/logrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5355">#5355</a>)</li> <li>The <code>WithVersion</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the logged package version. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>The <code>WithSchemaURL</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. This option function is used as a replacement of <code>WithInstrumentationScope</code> to specify the semantic convention schema URL for the logged records. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> <li>Add support for Cloud Run jobs in <code>go.opentelemetry.io/contrib/detectors/gcp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5559">#5559</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>The gRPC trace <code>Filter</code> for interceptor is renamed to <code>InterceptorFilter</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p>The gRPC trace filter functions <code>Any</code>, <code>All</code>, <code>None</code>, <code>Not</code>, <code>MethodName</code>, <code>MethodPrefix</code>, <code>FullMethodName</code>, <code>ServiceName</code>, <code>ServicePrefix</code> and <code>HealthCheck</code> for interceptor are moved to <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor</code>. With this change, the filters in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> are now working for stats handler. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</p> </li> <li> <p><code>NewLogger</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the underlying <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p><code>NewHandler</code> now accepts a <code>name</code> <code>string</code> as the first argument. This parameter is used as a replacement of <code>WithInstrumentationScope</code> to specify the name of the logger backing the returned <code>Handler</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</p> </li> <li> <p>Upgrade all dependencies of <code>go.opentelemetry.io/otel/semconv/v1.24.0</code> to <code>go.opentelemetry.io/otel/semconv/v1.25.0</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</p> </li> </ul> <h3>Removed</h3> <ul> <li>The <code>WithInstrumentationScope</code> option function in <code>go.opentelemetry.io/contrib/bridges/otelslog</code> is removed. Use the <code>name</code> parameter added to <code>NewHandler</code> and <code>NewLogger</code> as well as <code>WithVersion</code> and <code>WithSchema</code> as replacements. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5588">#5588</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>The <code>InterceptorFilter</code> type in <code>go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc</code> is deprecated. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5196">#5196</a>)</li> <li>The <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo</code> package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">#5551</a>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5598">#5598</a>)</li> </ul> <p><a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">#5551</a>: <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5551">open-telemetry/opentelemetry-go-contrib#5551</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/007ae66d4a15c43bea20b382c0fd900c66133328"><code>007ae66</code></a> Release v1.27.0/v0.52.0/v0.21.0/v0.7.0/v0.2.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5628">#5628</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/e6f7c8e154e05e093938d57e374650b3510689be"><code>e6f7c8e</code></a> otelzap: Add skeleton for array encoder (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5611">#5611</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/c47a69c6aa70540196527701ac68301a76977303"><code>c47a69c</code></a> Bump semconv/v1.24.0 to v1.25.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5605">#5605</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/52ee3c48b98bdcfe040e37087b45a807a0211752"><code>52ee3c4</code></a> otelzap: Implement Uint methods on encoder (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5609">#5609</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a91e60beace7c1d96302fe359050d705c4723e72"><code>a91e60b</code></a> fix(deps): update module github.com/aws/aws-sdk-go to v1.53.6 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5616">#5616</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/bf9b41d6ada6be766fd905b82987ee525a5a4cbb"><code>bf9b41d</code></a> [chore] Rebuild .tools as they can be outdated (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5603">#5603</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/d2e306956348d9256d322e7c57a359b6f22e19bb"><code>d2e3069</code></a> chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0....</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/5860ad635d86b1f42b462c3853762fede7b5ff4d"><code>5860ad6</code></a> fix(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/6f3b2540b48fc979977a802086e6f86fcb16f176"><code>6f3b254</code></a> fix(deps): update opentelemetry-go monorepo to 49c866f (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5608">#5608</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/5f9783291f36776f7890b3a5626ee2099f5711fe"><code>5f97832</code></a> chore(deps): update codecov/codecov-action action to v4.4.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/5613">#5613</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.51.0...zpages/v0.52.0">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information