open-telemetry / open-telemetry/opentelemetry-lambda

ruby: layer doesn't work on arm arch

Open
#2,340 2 comments 0 reactions 1 assignee View on GitHub

@DCchoudhury15 is already working on this.

Since Jun 7, 2026.

enhancement github_actions good first issue
Dominant language
Go
Stars
432
Forks
246
Avg merge
3d 10h
Merged PRs (30d)
47

Description

Is your feature request related to a problem? Please describe.
When using the ruby layer on arm lambda function, the lambda function will fail during the init phase. This is due to the build script not passing a --platform flag to the docker commands, and our release workflow running on x86_64. So every gem that is installed during this build process will be compiled for the x86_64 arch.

For example the opentelemetry-exporter-otlp gem that is required, depends on google-protobuf. google-protobuf has some platform-specific precompiled binaries. The same is true for multiple other gems that are required transitively through opentelemetry-instrumentation-all.

Describe the solution you'd like
Build and release the layer for both x86_64 and arm architectures. Similarly to how it is already being done for the collector layer. Re-visit the integration tests we have since #2322 as currently the ruby integration tests will always fail for the arm arch.

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.