Skip to content

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/contrib/detectors/gcp v1.36.0 -> v1.38.0 age confidence
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 -> v0.63.0 age confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 -> v0.63.0 age confidence

Release Notes

open-telemetry/opentelemetry-go-contrib (go.opentelemetry.io/contrib/detectors/gcp)

v1.38.0: /v2.0.0/v0.63.0/v0.32.0/v0.18.0/v0.13.0/v0.11.0/v0.10.0

Compare Source

Overview

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

Added
  • Add v2 version of AWS EC2 detector go.opentelemetry.io/contrib/detectors/aws/ec2/v2 due to deprecation of github.com/aws/aws-sdk-go. (#​6961)
  • Add the unit ns to deprecated runtime metrics process.runtime.go.gc.pause_total_ns and process.runtime.go.gc.pause_ns in go.opentelemetry.io/contrib/instrumentation/runtime. (#​7490)
  • The go.opentelemetry.io/contrib/detectors/autodetect package is added to automatically compose user defined resource.Detectors at runtime. (#​7522)
  • Add the WithLoggerProviderOptions, WithMeterProviderOptions and WithTracerProviderOptions options to NewSDK to allow passing custom options to providers in go.opentelemetry.io/contrib/otelconf. (#​7552)
  • Set SeverityText field to logrus hook in go.opentelemetry.io/contrib/bridges/otellogrus. (#​7553)
  • Add the WithTraceAttributeFn option to go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#​7556)
  • Add support for HTTP server metrics in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. (#​7668)
  • Support testing of [Go 1.25]. (#​7732)
Changed
  • Change the default span name to be GET /path so it complies with the HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#​7551)
  • Transform attribute values of go.opentelemetry.io/otel/attribute.Value and go.opentelemetry.io/otel/log.Value types to appropriate go.opentelemetry.io/otel/log.Value type instead of log.StringValue in the modules below. (#​7660)
    • go.opentelemetry.io/contrib/bridges/otellogr
    • go.opentelemetry.io/contrib/bridges/otellogrus
    • go.opentelemetry.io/contrib/bridges/otelslog
    • go.opentelemetry.io/contrib/bridges/otelzap
  • The Severity type from go.opentelemetry.io/contrib/processors/minsev now implements the fmt.Stringer, encoding.TextMarshaler, encoding.TextUnmarshaler, encoding.TextAppender, json.Marshaler, and json.Unmarshaler interfaces. (#​7652)
  • The SeverityVar type from go.opentelemetry.io/contrib/processors/minsev now implements the fmt.Stringer, encoding.TextMarshaler, encoding.TextUnmarshaler, and encoding.TextAppender interfaces. (#​7652)
  • Change the faas.max_memory unit to be bytes instead of MB to comply with the semantic conventions in go.opentelemetry.io/contrib/detectors/aws/lambda. (#​7745)
  • Severity.Severity() in go.opentelemetry.io/contrib/processors/minsev now returns log.SeverityTrace1 for severities less than minsev.SeverityTrace1 and log.SeverityFatal4 for severities greater than minsev.SeverityFatal4 instead of log.SeverityUndefined. All other conversions are the same. (#​7748)
Fixed
  • Improve the ECS detector correctness in go.opentelemetry.io/contrib/detectors/aws/ecs. (#​7607)
Deprecated
  • WithSpanOptions in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is deprecated. It is only used by the deprecated interceptor, and is unused by NewClientHandler and NewServerHandler. (#​7601)
  • Extract and Inject in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc are deprecated. These functions were initially exposed in the public API, but are now considered unnecessary. (#​7689)
  • The go.opentelemetry.io/contrib/detectors/aws/ec2 package is deprecated, use go.opentelemetry.io/contrib/detectors/aws/ec2/v2 instead. (#​7725)
Removed
  • Remove support for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable as well as support for semantic conventions v1.20.0 in the modules below. (#​7584)
    • 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
  • The deprecated StreamClientInterceptor function from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is removed. (#​7646)

What's Changed


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate
Copy link

ℹ Artifact update notice

File name: auth/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/otel v1.37.0 -> v1.38.0
go.opentelemetry.io/otel/metric v1.37.0 -> v1.38.0
go.opentelemetry.io/otel/trace v1.37.0 -> v1.38.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b -> v0.0.0-20250825161204-c5933d9347a5
File name: spanner/test/opentelemetry/test/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
go.opentelemetry.io/contrib/detectors/gcp v1.36.0 -> v1.38.0

@renovate-bot renovate-bot requested review from a team as code owners December 1, 2025 01:45
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the project's dependencies on the opentelemetry-go-contrib monorepo, specifically upgrading the GCP detector, gRPC instrumentation, and HTTP instrumentation modules. These updates bring in the latest features, performance improvements, and bug fixes from the OpenTelemetry Go Contrib project, including new AWS EC2 detector versions, an auto-detection package for resources, and deprecations of older APIs. The changes ensure compatibility with newer Go versions and align with the latest OpenTelemetry semantic conventions.

Highlights

  • OpenTelemetry Go Contrib Updates: The pull request updates several OpenTelemetry Go Contrib modules to their latest versions. Specifically, go.opentelemetry.io/contrib/detectors/gcp is updated from v1.36.0 to v1.38.0, and go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp are updated from v0.61.0 to v0.63.0.
  • New Features and Enhancements: The v1.38.0 release of open-telemetry/opentelemetry-go-contrib introduces a v2 version of the AWS EC2 detector, a new detectors/autodetect package for composing resource detectors, and options for passing custom configurations to providers in otelconf. It also adds HTTP server metrics support for otelecho instrumentation.
  • Deprecations and Removals: Several components have been deprecated or removed. WithSpanOptions, Extract, and Inject functions in otelgrpc are deprecated, as is the detectors/aws/ec2 package (in favor of its v2 counterpart). Support for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable and semantic conventions v1.20.0 has been removed from various HTTP instrumentation packages, along with the deprecated StreamClientInterceptor from otelgrpc.
  • Go Version Support: This release marks the final one to support Go 1.23, with subsequent releases requiring Go 1.24 or newer. Additionally, it includes support for testing with Go 1.25.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several opentelemetry-go-contrib dependencies across various modules. The updates to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp are the most significant. The otelgrpc update to v0.63.0 is a breaking change as it removes the StreamClientInterceptor function. It also deprecates WithSpanOptions, Extract, and Inject. The otelhttp update removes support for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable. I've added comments to the relevant go.mod files highlighting these changes. Please ensure the codebase is updated to reflect these changes to avoid build failures or unexpected behavior. The other dependency updates appear to be non-breaking.

Comment on lines +11 to +12
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The update to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.63.0 is a breaking change. The StreamClientInterceptor function has been removed. If this function is used in the auth module, the build will fail. The following functions are also now deprecated and should be replaced:

  • WithSpanOptions
  • Extract
  • Inject

Additionally, the update to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.63.0 removes support for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable, which may alter behavior if it was being used for configuration.

require (
cloud.google.com/go/spanner v1.86.1
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This update to v0.63.0 of go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc includes a breaking change: the StreamClientInterceptor function has been removed. This may cause these tests to fail if they rely on this function. This version also deprecates WithSpanOptions, Extract, and Inject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants