open-telemetry / open-telemetry/opentelemetry-cpp-contrib

otel-webserver support for arm64

Open
#343 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Webserver
Dominant language
Python
Stars
153
Forks
184
Avg merge
2d 9h
Merged PRs (30d)
26

Description

I am running into issue with running nginx along with ngx_http_opentelemetry_module.so on amazon linux v2 aarch64 system.

Following this https://opentelemetry.io/blog/2022/instrument-nginx/ and running the container fails with following error.

[emerg] 1#1: dlopen() "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.23.1/ngx_http_opentelemetry_module.so" failed (/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.23.1/ngx_http_opentelemetry_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/nginx.conf:1

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.

Research direction

Start by running the referenced container on an Amazon Linux 2 aarch64 system and inspect nginx.conf together with the module path in the dlopen error. Compare how ngx_http_opentelemetry_module.so is provided for this architecture. Done means nginx can load the module successfully on arm64 without the reported shared-object error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, nginx
Domain
devops, observability, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.