dependabot[bot] opened a new pull request, #38: URL: https://github.com/apache/doris-opentelemetry-demo/pull/38
Bumps the go-production-dependencies group with 6 updates in the /src/checkout directory: | Package | From | To | | --- | --- | --- | | [github.com/IBM/sarama](https://github.com/IBM/sarama) | `1.45.1` | `1.45.2` | | [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.60.0` | `0.61.0` | | [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.60.0` | `0.61.0` | | [go.opentelemetry.io/contrib/instrumentation/runtime](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.60.0` | `0.61.0` | | [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` | Bumps the go-production-dependencies group with 4 updates in the /src/product-catalog directory: [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib), [go.opentelemetry.io/contrib/instrumentation/runtime](https://github.com/open-telemetry/opentelemetry-go-contrib), [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://github.com/open-telemetry/opentelemetry-go) and [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go). Updates `github.com/IBM/sarama` from 1.45.1 to 1.45.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/IBM/sarama/releases">github.com/IBM/sarama's releases</a>.</em></p> <blockquote> <h2>Version 1.45.2 (2025-05-28)</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>:bug: Fixes</h3> <ul> <li>fix(decoder): use configurable limit for max number of records in a record batch by <a href="https://github.com/rmb938"><code>@rmb938</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3120">IBM/sarama#3120</a></li> <li>fix: ensure mock SyncProducer's SendMessage returns msg.Partition instead of 0 by <a href="https://github.com/magiusdarrigo"><code>@magiusdarrigo</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3122">IBM/sarama#3122</a></li> <li>fix: send null instead of empty string when describing default client quotas by <a href="https://github.com/petedannemann"><code>@petedannemann</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3128">IBM/sarama#3128</a></li> <li>fix: improve getMetricName performance by <a href="https://github.com/boekkooi-impossiblecloud"><code>@boekkooi-impossiblecloud</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3156">IBM/sarama#3156</a></li> </ul> <h3>:package: Dependency updates</h3> <ul> <li>chore(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3103">IBM/sarama#3103</a></li> <li>chore(deps): bump the golang-x group across 6 directories with 1 update by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3114">IBM/sarama#3114</a></li> <li>chore(deps): bump the golang-x group across 7 directories with 2 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3121">IBM/sarama#3121</a></li> <li>chore(deps): bump the go_modules group across 7 directories with 1 update by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3148">IBM/sarama#3148</a></li> <li>chore(deps): bump the go_modules group across 7 directories with 1 update by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3157">IBM/sarama#3157</a></li> <li>chore(deps): bump golang.org/x/sync from 0.12.0 to 0.14.0 in the golang-x group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3161">IBM/sarama#3161</a></li> </ul> <h3>:heavy_plus_sign: Other Changes</h3> <ul> <li>chore: bump minimum Go version to 1.23.0 by <a href="https://github.com/dnwe"><code>@dnwe</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3113">IBM/sarama#3113</a></li> <li>fix(ci): bump golangci-lint to v2 by <a href="https://github.com/dnwe"><code>@dnwe</code></a> in <a href="https://redirect.github.com/IBM/sarama/pull/3160">IBM/sarama#3160</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/rmb938"><code>@rmb938</code></a> made their first contribution in <a href="https://redirect.github.com/IBM/sarama/pull/3120">IBM/sarama#3120</a></li> <li><a href="https://github.com/magiusdarrigo"><code>@magiusdarrigo</code></a> made their first contribution in <a href="https://redirect.github.com/IBM/sarama/pull/3122">IBM/sarama#3122</a></li> <li><a href="https://github.com/petedannemann"><code>@petedannemann</code></a> made their first contribution in <a href="https://redirect.github.com/IBM/sarama/pull/3128">IBM/sarama#3128</a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a> made their first contribution in <a href="https://redirect.github.com/IBM/sarama/pull/3155">IBM/sarama#3155</a></li> <li><a href="https://github.com/boekkooi-impossiblecloud"><code>@boekkooi-impossiblecloud</code></a> made their first contribution in <a href="https://redirect.github.com/IBM/sarama/pull/3156">IBM/sarama#3156</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/IBM/sarama/compare/v1.45.1...v1.45.2">https://github.com/IBM/sarama/compare/v1.45.1...v1.45.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/IBM/sarama/commit/d4acbec36f8e76dc731d12b108a84ed0cd3b1e3b"><code>d4acbec</code></a> chore(deps): update ghcr.io/shopify/toxiproxy docker tag to v2.12.0 (<a href="https://redirect.github.com/IBM/sarama/issues/3171">#3171</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/876967c38f756f36211a359e4f7add3626ddee36"><code>876967c</code></a> fix: improve getMetricName performance (<a href="https://redirect.github.com/IBM/sarama/issues/3156">#3156</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/c5f1af503ee85a72a84ac55319fa07a93e79ab35"><code>c5f1af5</code></a> chore(ci): bump github/codeql-action from 3.28.11 to 3.28.18 (<a href="https://redirect.github.com/IBM/sarama/issues/3167">#3167</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/29f5988dcb552956437c52caef1c9880e3f6e85e"><code>29f5988</code></a> chore: Configure Renovate (<a href="https://redirect.github.com/IBM/sarama/issues/3155">#3155</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/eb2bba0204450e638c211091ba503a950c76666b"><code>eb2bba0</code></a> chore(deps): bump golang.org/x/sync from 0.12.0 to 0.14.0 in the golang-x gro...</li> <li><a href="https://github.com/IBM/sarama/commit/67d982f98d2989a410c42b61d4ff5f4637176f3a"><code>67d982f</code></a> chore(ci): bump the actions group with 2 updates (<a href="https://redirect.github.com/IBM/sarama/issues/3162">#3162</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/29febcd188e75ff4d97c56cb6338fe5616e1ff03"><code>29febcd</code></a> chore(ci): bump docker/bake-action from 6.4.0 to 6.7.0 (<a href="https://redirect.github.com/IBM/sarama/issues/3163">#3163</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/de58f97fd9fcec48b33d862843857439bddf67fd"><code>de58f97</code></a> chore(deps): bump the go_modules group across 7 directories with 1 update (<a href="https://redirect.github.com/IBM/sarama/issues/3">#3</a>...</li> <li><a href="https://github.com/IBM/sarama/commit/b10aa9fc0c6a54d738d0e7a9ae2a687b32e061d8"><code>b10aa9f</code></a> chore(ci): bump ubi9/ubi-minimal from 9.5 to 9.6 (<a href="https://redirect.github.com/IBM/sarama/issues/3159">#3159</a>)</li> <li><a href="https://github.com/IBM/sarama/commit/4d2b166e5c2770f6b23f83eab587d7801878d429"><code>4d2b166</code></a> fix(ci): bump golangci-lint to v2 (<a href="https://redirect.github.com/IBM/sarama/issues/3160">#3160</a>)</li> <li>Additional commits viewable in <a href="https://github.com/IBM/sarama/compare/v1.45.1...v1.45.2">compare view</a></li> </ul> </details> <br /> Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.60.0 to 0.61.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.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0</h2> <h2>Overview</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> The <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6899">#6899</a>)</li> </ul> </li> <li> <p>Improve performance by reducing allocations for http request when using <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7180">#7180</a>)</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li> <p>Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7061">#7061</a>)</p> </li> <li> <p>Improve performance by reducing allocations in the gRPC 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/7186">#7186</a>)</p> </li> <li> <p>Update <code>http.route</code> attribute to support <code>request.Pattern</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7108">#7108</a>)</p> </li> <li> <p>Change the default span name to be <code>GET /path</code> so it complies with the HTTP semantic conventions in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6381">#6381</a>)</p> </li> <li> <p>Set <code>url.scheme</code> attribute to the request URL.Scheme when possible for HTTP client metrics in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6938">#6938</a>)</p> </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.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0] - 2025-05-21</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> The <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6899">#6899</a>)</li> </ul> </li> <li> <p>Improve performance by reducing allocations for http request when using <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7180">#7180</a>)</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li> <p>Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7061">#7061</a>)</p> </li> <li> <p>Improve performance by reducing allocations in the gRPC 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/7186">#7186</a>)</p> </li> <li> <p>Update <code>http.route</code> attribute to support <code>request.Pattern</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7108">#7108</a>)</p> </li> <li> <p>Change the default span name to be <code>GET /path</code> so it complies with the HTTP semantic conventions in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6381">#6381</a>)</p> </li> <li> <p>Set <code>url.scheme</code> attribute to the request URL.Scheme when possible for HTTP client metrics in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6938">#6938</a>)</p> </li> <li> <p>The semantic conventions have been upgraded from <code>v1.17.0</code> to <code>v1.30.0</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/7270">#7270</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/934fb13b40419cc512bb56556f77d29a2f29d202"><code>934fb13</code></a> Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7350">#7350</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/ea9b73982e022f07defe18f3d59c8381a9d40e0c"><code>ea9b739</code></a> fix(deps): update module github.com/labstack/echo/v4 to v4.13.4 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7352">#7352</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/461e4091d55b6958ff7a4e2a03f8b9ecc2dfc661"><code>461e409</code></a> otelhttp: Add client-side test for <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> w...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a91d74714434fcf5b54c577036df09e9e1b660e4"><code>a91d747</code></a> chore(deps): update module github.com/uudashr/iface to v1.4.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7346">#7346</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/394163b07a2857183adc16f3d0a0c373807911f7"><code>394163b</code></a> fix(deps): update module github.com/gin-gonic/gin to v1.10.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7344">#7344</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/d1b0749b69814bb9cb8e3f727546e07cc212f01d"><code>d1b0749</code></a> fix(deps): update go.opentelemetry.io/otel digest to e578799 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7342">#7342</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/b76d20ba0c9f92e220edf444541c9e2b13888a97"><code>b76d20b</code></a> chore(deps): update googleapis to 55703ea (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7341">#7341</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/2896fea9d5634e0331604786862844479a1e10fa"><code>2896fea</code></a> refactor: move example from otelmux to make it a testable example (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7121">#7121</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/158bafc4c2b58f88e44b3303936f272bf19f4475"><code>158bafc</code></a> feat: Support mixed categories for semconv opt-in (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7274">#7274</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a35d2d83d4ea88a358a6c0f661eea8890e9474a0"><code>a35d2d8</code></a> refactor: move example from otelgin to make it a testable example (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7328">#7328</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.60.0...zpages/v0.61.0">compare view</a></li> </ul> </details> <br /> Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.60.0 to 0.61.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.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0</h2> <h2>Overview</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> The <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6899">#6899</a>)</li> </ul> </li> <li> <p>Improve performance by reducing allocations for http request when using <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7180">#7180</a>)</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li> <p>Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7061">#7061</a>)</p> </li> <li> <p>Improve performance by reducing allocations in the gRPC 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/7186">#7186</a>)</p> </li> <li> <p>Update <code>http.route</code> attribute to support <code>request.Pattern</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7108">#7108</a>)</p> </li> <li> <p>Change the default span name to be <code>GET /path</code> so it complies with the HTTP semantic conventions in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6381">#6381</a>)</p> </li> <li> <p>Set <code>url.scheme</code> attribute to the request URL.Scheme when possible for HTTP client metrics in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6938">#6938</a>)</p> </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.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0] - 2025-05-21</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> The <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6899">#6899</a>)</li> </ul> </li> <li> <p>Improve performance by reducing allocations for http request when using <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7180">#7180</a>)</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li> <p>Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7061">#7061</a>)</p> </li> <li> <p>Improve performance by reducing allocations in the gRPC 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/7186">#7186</a>)</p> </li> <li> <p>Update <code>http.route</code> attribute to support <code>request.Pattern</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7108">#7108</a>)</p> </li> <li> <p>Change the default span name to be <code>GET /path</code> so it complies with the HTTP semantic conventions in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6381">#6381</a>)</p> </li> <li> <p>Set <code>url.scheme</code> attribute to the request URL.Scheme when possible for HTTP client metrics in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6938">#6938</a>)</p> </li> <li> <p>The semantic conventions have been upgraded from <code>v1.17.0</code> to <code>v1.30.0</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/7270">#7270</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/934fb13b40419cc512bb56556f77d29a2f29d202"><code>934fb13</code></a> Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7350">#7350</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/ea9b73982e022f07defe18f3d59c8381a9d40e0c"><code>ea9b739</code></a> fix(deps): update module github.com/labstack/echo/v4 to v4.13.4 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7352">#7352</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/461e4091d55b6958ff7a4e2a03f8b9ecc2dfc661"><code>461e409</code></a> otelhttp: Add client-side test for <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> w...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a91d74714434fcf5b54c577036df09e9e1b660e4"><code>a91d747</code></a> chore(deps): update module github.com/uudashr/iface to v1.4.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7346">#7346</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/394163b07a2857183adc16f3d0a0c373807911f7"><code>394163b</code></a> fix(deps): update module github.com/gin-gonic/gin to v1.10.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7344">#7344</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/d1b0749b69814bb9cb8e3f727546e07cc212f01d"><code>d1b0749</code></a> fix(deps): update go.opentelemetry.io/otel digest to e578799 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7342">#7342</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/b76d20ba0c9f92e220edf444541c9e2b13888a97"><code>b76d20b</code></a> chore(deps): update googleapis to 55703ea (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7341">#7341</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/2896fea9d5634e0331604786862844479a1e10fa"><code>2896fea</code></a> refactor: move example from otelmux to make it a testable example (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7121">#7121</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/158bafc4c2b58f88e44b3303936f272bf19f4475"><code>158bafc</code></a> feat: Support mixed categories for semconv opt-in (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7274">#7274</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/a35d2d83d4ea88a358a6c0f661eea8890e9474a0"><code>a35d2d8</code></a> refactor: move example from otelgin to make it a testable example (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7328">#7328</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.60.0...zpages/v0.61.0">compare view</a></li> </ul> </details> <br /> Updates `go.opentelemetry.io/contrib/instrumentation/runtime` from 0.60.0 to 0.61.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/runtime's releases</a>.</em></p> <blockquote> <h2>Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0</h2> <h2>Overview</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code> The <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6899">#6899</a>)</li> </ul> </li> <li> <p>Improve performance by reducing allocations for http request when using <code>OTEL_SEMCONV_STABILITY_OPT_IN=http/dup</code> in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7180">#7180</a>)</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li> <p>Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7061">#7061</a>)</p> </li> <li> <p>Improve performance by reducing allocations in the gRPC 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/7186">#7186</a>)</p> </li> <li> <p>Update <code>http.route</code> attribute to support <code>request.Pattern</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7108">#7108</a>)</p> </li> <li> <p>Change the default span name to be <code>GET /path</code> so it complies with the HTTP semantic conventions in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6381">#6381</a>)</p> </li> <li> <p>Set <code>url.scheme</code> attribute to the request URL.Scheme when possible for HTTP client metrics in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6938">#6938</a>)</p> </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/runtime's changelog</a>.</em></p> <blockquote> <h2>[1.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0] - 2025-05-21</h2> <h3>Added</h3> <ul> <li><code>http.route</code> attribute to otelhttp server request spans, when <code>net/http.Request.Pattern</code> is set in the modules below. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6905">#6905</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6937">#6937</a>) <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code></li> </ul> </li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelzap</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6962">#6962</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6965">#6965</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogrus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6966">#6966</a>)</li> <li>Add <code>WithAttributes</code> option to set instrumentation scope attributes on the created <code>log.Logger</code> in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6967">#6967</a>)</li> <li>Add the <code>WithGinMetricAttributes</code> option to allow setting dynamic, per-request metric attributes based on <code>*gin.Context</code> in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6932">#6932</a>)</li> <li>Use Gin's own <code>ClientIP</code> method to detect the client's IP, which supports custom proxy headers in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6095">#6095</a>)</li> <li>Added test for Fields in <code>go.opentelemetry.io/contrib/propagators/jaeger</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7119">#7119</a>)</li> <li>Allow configuring samplers in <code>go.opentelemetry.io/contrib/otelconf</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7148">#7148</a>)</li> <li>Slog log bridge now sets <code>SeverityText</code> attribute using source value in <code>go.opentelemetry.io/contrib/bridges/otelslog</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7198">#7198</a>)</li> <li>Add <code>http.route</code> metric attribute in <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7275">#7275</a>)</li> <li>Add the <code>WithSpanStartOptions</code> option to add custom options to new spans <code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7261">#7261</a>)</li> <li>Add instrumentation support for <code>go.mongodb.org/mongo-driver/v2</code> in <code>go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6539">#6539</a>)</li> <li>Rerun the span name formatter after the request ran if a <code>req.Pattern</code> is set, so the span name can include it in <code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/7192">#7192</a>)</li> </ul> <h3>Changed</h3> <ul> <li> <p>Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as <code>trace.TraceIDRatioBased</code> in <code>go.opentelemetry.io/contrib/samplers/jaegerremote</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/6892">#6892</a>)</p> </li> <li> <p>Switched the default for <code>OTEL_SEMCONV_STABILITY_OPT_IN</code> to emit the v1.26.0 semantic conventions by default in the following modules.</p> <ul> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux</code></li> <li><code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/e... _Description has been truncated_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org