Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the otel group with 8 updates #265

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2025

Bumps the otel group with 8 updates:

Package From To
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace 0.59.0 0.60.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp 0.59.0 0.60.0
go.opentelemetry.io/contrib/propagators/b3 1.34.0 1.35.0
go.opentelemetry.io/otel 1.34.0 1.35.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace 1.34.0 1.35.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc 1.34.0 1.35.0
go.opentelemetry.io/otel/sdk 1.34.0 1.35.0
go.opentelemetry.io/otel/trace 1.34.0 1.35.0

Updates go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.59.0 to 0.60.0

Release notes

Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace's releases.

Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0

Overview

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

[!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

See also the HTTP semantic conventions stability migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support [Go 1.24]. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace

... (truncated)

Changelog

Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace's changelog.

[1.35.0/0.60.0/0.29.0/0.15.0/0.10.0/0.8.0/0.7.0] - 2025-03-05

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

[!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

See also the HTTP semantic conventions stability migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support [Go 1.24]. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

... (truncated)

Commits
  • bc53d2b Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0 (#6889)
  • 27aff48 chore(deps): update module github.com/securego/gosec/v2 to v2.22.2 (#6888)
  • 3b6f7c5 fix OTEL_HTTP_CLIENT_COMPATIBILITY_MODE to OTEL_SEMCONV_STABILITY_OPT_IN in t...
  • 04b152d otelmongo: support OTEL_SEMCONV_STABILITY_OPT_IN for v1.26.0 semconv (#6172)
  • b991afd chore(deps): update k8s.io/kube-openapi digest to e5f78fe (#6880)
  • 870ad7c fix(deps): update aws-sdk-go-v2 monorepo (#6882)
  • 7d93639 fix(deps): update module github.com/prometheus/client_golang to v1.21.1 (#6879)
  • 315543c fix(deps): update module google.golang.org/grpc to v1.71.0 (#6886)
  • 22b11ca chore(deps): update module github.com/ryancurrah/gomodguard to v1.4.1 (#6883)
  • ce1a19d chore(deps): update module sigs.k8s.io/structured-merge-diff/v4 to v4.6.0 (#6...
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.59.0 to 0.60.0

Release notes

Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.

Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0

Overview

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

[!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

See also the HTTP semantic conventions stability migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support [Go 1.24]. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace

... (truncated)

Changelog

Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.

[1.35.0/0.60.0/0.29.0/0.15.0/0.10.0/0.8.0/0.7.0] - 2025-03-05

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

[!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

See also the HTTP semantic conventions stability migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support [Go 1.24]. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

... (truncated)

Commits
  • bc53d2b Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0 (#6889)
  • 27aff48 chore(deps): update module github.com/securego/gosec/v2 to v2.22.2 (#6888)
  • 3b6f7c5 fix OTEL_HTTP_CLIENT_COMPATIBILITY_MODE to OTEL_SEMCONV_STABILITY_OPT_IN in t...
  • 04b152d otelmongo: support OTEL_SEMCONV_STABILITY_OPT_IN for v1.26.0 semconv (#6172)
  • b991afd chore(deps): update k8s.io/kube-openapi digest to e5f78fe (#6880)
  • 870ad7c fix(deps): update aws-sdk-go-v2 monorepo (#6882)
  • 7d93639 fix(deps): update module github.com/prometheus/client_golang to v1.21.1 (#6879)
  • 315543c fix(deps): update module google.golang.org/grpc to v1.71.0 (#6886)
  • 22b11ca chore(deps): update module github.com/ryancurrah/gomodguard to v1.4.1 (#6883)
  • ce1a19d chore(deps): update module sigs.k8s.io/structured-merge-diff/v4 to v4.6.0 (#6...
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/contrib/propagators/b3 from 1.34.0 to 1.35.0

Changelog

Sourced from go.opentelemetry.io/contrib/propagators/b3's changelog.

[1.35.0/0.60.0/0.29.0/0.15.0/0.10.0/0.8.0/0.7.0] - 2025-03-05

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

[!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

See also the HTTP semantic conventions stability migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support [Go 1.24]. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

... (truncated)

Commits
  • bc53d2b Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0 (#6889)
  • 27aff48 chore(deps): update module github.com/securego/gosec/v2 to v2.22.2 (#6888)
  • 3b6f7c5 fix OTEL_HTTP_CLIENT_COMPATIBILITY_MODE to OTEL_SEMCONV_STABILITY_OPT_IN in t...
  • 04b152d otelmongo: support OTEL_SEMCONV_STABILITY_OPT_IN for v1.26.0 semconv (#6172)
  • b991afd chore(deps): update k8s.io/kube-openapi digest to e5f78fe (#6880)
  • 870ad7c fix(deps): update aws-sdk-go-v2 monorepo (#6882)
  • 7d93639 fix(deps): update module github.com/prometheus/client_golang to v1.21.1 (#6879)
  • 315543c fix(deps): update module google.golang.org/grpc to v1.71.0 (#6886)
  • 22b11ca chore(deps): update module github.com/ryancurrah/gomodguard to v1.4.1 (#6883)
  • ce1a19d chore(deps): update module sigs.k8s.io/structured-merge-diff/v4 to v4.6.0 (#6...
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/otel from 1.34.0 to 1.35.0

Changelog

Sourced from go.opentelemetry.io/otel's changelog.

[1.35.0/0.57.0/0.11.0] 2025-03-05

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

Added

  • Add ValueFromAttribute and KeyValueFromAttribute in go.opentelemetry.io/otel/log. (#6180)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/log. (#6187)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/log/logtest. (#6187)
  • AssertRecordEqual in go.opentelemetry.io/otel/log/logtest checks Record.EventName. (#6187)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/sdk/log. (#6193)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/sdk/log/logtest. (#6193)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/stdout/stdoutlog (#6210)
  • The go.opentelemetry.io/otel/semconv/v1.28.0 package. The package contains semantic conventions from the v1.28.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.27.0(#6236)
  • The go.opentelemetry.io/otel/semconv/v1.30.0 package. The package contains semantic conventions from the v1.30.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.28.0(#6240)
  • Document the pitfalls of using Resource as a comparable type. Resource.Equal and Resource.Equivalent should be used instead. (#6272)
  • Support [Go 1.24]. (#6304)
  • Add FilterProcessor and EnabledParameters in go.opentelemetry.io/otel/sdk/log. It replaces go.opentelemetry.io/otel/sdk/log/internal/x.FilterProcessor. Compared to previous version it additionally gives the possibility to filter by resource and instrumentation scope. (#6317)

Changed

  • Update github.com/prometheus/common to v0.62.0, which changes the NameValidationScheme to NoEscaping. This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This is controlled by the Content-Type header, or can be reverted by setting NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6198)

Fixes

  • Eliminate goroutine leak for the processor returned by NewSimpleSpanProcessor in go.opentelemetry.io/otel/sdk/trace when Shutdown is called and the passed ctx is canceled and SpanExporter.Shutdown has not returned. (#6368)
  • Eliminate goroutine leak for the processor returned by NewBatchSpanProcessor in go.opentelemetry.io/otel/sdk/trace when ForceFlush is called and the passed ctx is canceled and SpanExporter.Export has not returned. (#6369)
Commits
  • 5ba5e7a Release v1.35.0/v0.57.0/v0.11.0 (#6407)
  • 3908b67 chore(deps): update module github.com/securego/gosec/v2 to v2.22.2 (#6412)
  • 50172b1 chore(deps): update module github.com/ryancurrah/gomodguard to v1.4.1 (#6411)
  • cea6d2b fix(deps): update module google.golang.org/grpc to v1.71.0 (#6409)
  • e2aee3a Move trace sdk tests from trace_test into trace package (#6400)
  • 38f4f39 fix(deps): update build-tools to v0.20.0 (#6403)
  • 2911449 Look at stale issues in ascending order (#6396)
  • 7cb322a chore(deps): update github.com/golangci/dupl digest to 44c6a0b (#6398)
  • 0c3651e fix(deps): update module github.com/golangci/golangci-lint to v1.64.6 (#6394)
  • f04e951 chore(deps): update mvdan.cc/unparam digest to 0df0534 (#6391)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.34.0 to 1.35.0

Changelog

Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace's changelog.

[1.35.0/0.57.0/0.11.0] 2025-03-05

This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

Added

  • Add ValueFromAttribute and KeyValueFromAttribute in go.opentelemetry.io/otel/log. (#6180)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/log. (#6187)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/log/logtest. (#6187)
  • AssertRecordEqual in go.opentelemetry.io/otel/log/logtest checks Record.EventName. (#6187)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/sdk/log. (#6193)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/sdk/log/logtest. (#6193)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/stdout/stdoutlog (#6210)
  • The go.opentelemetry.io/otel/semconv/v1.28.0 package. The package contains semantic conventions from the v1.28.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.27.0(#6236)
  • The go.opentelemetry.io/otel/semconv/v1.30.0 package. The package contains semantic conventions from the v1.30.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.28.0(

Bumps the otel group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.59.0` | `0.60.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.59.0` | `0.60.0` |
| [go.opentelemetry.io/contrib/propagators/b3](https://github.com/open-telemetry/opentelemetry-go-contrib) | `1.34.0` | `1.35.0` |
| [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | `1.34.0` | `1.35.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) | `1.34.0` | `1.35.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.34.0` | `1.35.0` |
| [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | `1.34.0` | `1.35.0` |
| [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | `1.34.0` | `1.35.0` |


Updates `go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace` from 0.59.0 to 0.60.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.59.0...zpages/v0.60.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.59.0 to 0.60.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.59.0...zpages/v0.60.0)

Updates `go.opentelemetry.io/contrib/propagators/b3` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@v1.34.0...v1.35.0)

Updates `go.opentelemetry.io/otel` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.34.0...v1.35.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.34.0...v1.35.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.34.0...v1.35.0)

Updates `go.opentelemetry.io/otel/sdk` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.34.0...v1.35.0)

Updates `go.opentelemetry.io/otel/trace` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.34.0...v1.35.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/contrib/propagators/b3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 6, 2025
@ldemailly ldemailly merged commit 7b78886 into main Mar 6, 2025
7 checks passed
@ldemailly ldemailly deleted the dependabot/go_modules/otel-7b5e55304a branch March 6, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant