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

Support for Red Hat based Nginx images

Open
#355 2 comments 0 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

Is there a way to use Nginx module with Red Hat based Nginx images? The latest fully supported Nginx version on RHEL 8 base is 1.22.1.
When using v1.0.3 module, version is mismatched.

2023/07/17 16:36:01 [emerg] 20#0: module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.22.0/ngx_http_opentelemetry_module.so" version 1022000 instead of 1022001 in /etc/nginx/nginx.conf:8
nginx: [emerg] module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.22.0/ngx_http_opentelemetry_module.so" version 1022000 instead of 1022001 in /etc/nginx/nginx.conf:8

bash-4.4$ cat /opt/opentelemetry-webserver-sdk/VERSION.txt
1.0.3GA

bash-4.4$ nginx -v
nginx version: nginx/1.22.1
bash-4.4$ ldd --version
ldd (GNU libc) 2.28

AppDynamics is referencing this repository for instrumentation option, however, this module is not compatible with desired image provider.

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 with the module path shown in /opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/ and the nginx.conf load location, then compare the module's reported 1.22.0 version with the installed nginx 1.22.1 on the RHEL 8-based image. Check the existing module packaging or build entry points for supported nginx versions. Done means the module can load with the reported environment, or the supported limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.