Skip to content

Upgrading to 0.31.0 broke our telemetry #1941

@timwis

Description

@timwis

Description of the bug
Hi team, we used a dependabot PR to upgrade the opentelementry-explorer-otlp from 0.30.0 to 0.31.0 yesterday. This also upgraded opentelemetry-common from 0.22.0 to 0.23.0.

Shortly after, we noticed our honeycomb metrics stopped working, and we started seeing the following error in production:

textPayload: "E, [2025-10-15T09:40:35.111728 #1] ERROR -- : OpenTelemetry error: unexpected error in OTLP::Exporter#encode - undefined method 'parent_span_is_remote' for an instance of OpenTelemetry::SDK::Trace::SpanData - /usr/local/bundle/ruby/3.4.0/gems/opentelemetry-exporter-otlp-0.31.0/lib/opentelemetry/exporter/otlp/exporter.rb:371:in 'OpenTelemetry::Exporter::OTLP::Exporter#as_otlp_span'"

Reverting this dependabot upgrade PR resolved the issue. We've not had a chance to dig deeper yet, but I thought I'd flag it asap in case getting the same upgrade ping experience the same issue.

Share details about your runtime

Operating system details: Linux, Ubuntu 20.04 LTS
RUBY_ENGINE: "ruby"
RUBY_VERSION: "3.4.6"
RUBY_DESCRIPTION: "registry.docker.com/library/ruby:3.4.6-slim"

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions