豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Bump OpenTelemetry gems to latest versions#14676

Merged
JamieMagee merged 1 commit intomainfrom
update-opentelemetry
Apr 9, 2026
Merged

Bump OpenTelemetry gems to latest versions#14676
JamieMagee merged 1 commit intomainfrom
update-opentelemetry

Conversation

@JamieMagee
Copy link
Copy Markdown
Member

What are you trying to accomplish?

We were seeing OTLP exporter errors in updater logs:

OpenTelemetry error: unexpected error decoding rpc.Status in OTLP::Exporter#log_status
OpenTelemetry error: Unable to export 1 spans

This bumps all OpenTelemetry gems (and sentry-opentelemetry/sentry-ruby) to their latest releases. The OTLP exporter goes from 0.31.1 to 0.33.0, which is the one most likely related to the protobuf decode failure.

Full list of version bumps:

Gem From To
opentelemetry-api ~> 1.5 ~> 1.9
opentelemetry-logs-api ~> 0.2 ~> 0.3
opentelemetry-metrics-api ~> 0.3 ~> 0.5
opentelemetry-exporter-otlp ~> 0.31 ~> 0.33
opentelemetry-exporter-otlp-logs ~> 0.2 ~> 0.4
opentelemetry-exporter-otlp-metrics ~> 0.6 ~> 0.8
opentelemetry-instrumentation-excon ~> 0.27 ~> 0.28
opentelemetry-instrumentation-faraday ~> 0.26 ~> 0.32
opentelemetry-instrumentation-http ~> 0.24 ~> 0.29
opentelemetry-instrumentation-net_http ~> 0.23 ~> 0.28
opentelemetry-logs-sdk ~> 0.4 ~> 0.5
opentelemetry-metrics-sdk ~> 0.12 ~> 0.13
opentelemetry-sdk ~> 1.8 ~> 1.11
sentry-opentelemetry ~> 6.4 ~> 6.5
sentry-ruby ~> 6.4 ~> 6.5

Anything you want to highlight for special attention from reviewers?

The API gems in dependabot-common.gemspec were also behind and needed bumping to match what the newer SDK/exporter gems require.

How will you know you've accomplished your goal?

The protobuf decode errors in updater logs should stop (or at least change character). If the OTLP endpoint is misconfigured we'd still see export failures, but they shouldn't be protobuf parse errors anymore.

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

Copilot AI review requested due to automatic review settings April 9, 2026 21:51
@JamieMagee JamieMagee requested a review from a team as a code owner April 9, 2026 21:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Dependabot updater/runtime observability dependencies to newer OpenTelemetry (and Sentry) releases to address OTLP exporter protobuf decode errors seen in updater logs.

Changes:

  • Bump OpenTelemetry exporter/instrumentation/SDK gems (notably opentelemetry-exporter-otlp to ~> 0.33) and related OpenTelemetry API gems.
  • Bump sentry-opentelemetry / sentry-ruby to ~> 6.5.
  • Refresh lockfiles to reflect the new dependency graph (including google-protobuf updates).
Show a summary per file
File Description
updater/Gemfile Updates OpenTelemetry + Sentry gem constraints used by the updater service.
updater/Gemfile.lock Locks the updater’s resolved dependency set to the newer OpenTelemetry/Sentry/protobuf versions.
Gemfile.lock Updates repo-level locked OpenTelemetry API gem versions to match new constraints.
common/dependabot-common.gemspec Bumps OpenTelemetry API gem dependencies required by dependabot-common.

Copilot's findings

  • Files reviewed: 2/4 changed files
  • Comments generated: 0

@JamieMagee JamieMagee force-pushed the update-opentelemetry branch from 63df375 to 760f119 Compare April 9, 2026 21:54
@JamieMagee JamieMagee force-pushed the update-opentelemetry branch from 760f119 to 30eee09 Compare April 9, 2026 21:54
@JamieMagee JamieMagee merged commit 0ef99c4 into main Apr 9, 2026
173 checks passed
@JamieMagee JamieMagee deleted the update-opentelemetry branch April 9, 2026 22:39
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.

3 participants