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

Openresty version incompatible with opentelemetry-webserver-sdk-x64-linux

Open
#260 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am using Openresty version 1.21.4.1 and trying to instrument Opentelemetry.

Steps to reproduce

Have tried multiple versions but none of them were compatible.

  • Feb 14 06:53:02 ip-10-249-92-57 nginx: nginx: [emerg] module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/ngx_http_opentelemetry_module.so" version 1018000 instead of 1021004 in /usr/local/openresty/nginx/conf/nginx.conf:1
  • Feb 14 06:49:37 ip-10-249-92-27 nginx: nginx: [emerg] module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.22.0/ngx_http_opentelemetry_module.so" version 1022000 instead of 1021004 in /usr/local/openresty/nginx/conf/nginx.conf:1
  • Feb 14 06:50:09 ip-10-249-92-27 nginx: nginx: [emerg] module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.23.0/ngx_http_opentelemetry_module.so" version 1023000 instead of 1021004 in /usr/local/openresty/nginx/conf/nginx.conf:1
  • Feb 14 03:30:38 ip-10-249-92-57 nginx: nginx: [emerg] module "/opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.23.1/ngx_http_opentelemetry_module.so" version 1023001 instead of 1021004 in /usr/local/openresty/nginx/conf/nginx.conf:1

I have not been able to find a opentelemetry-cpp-contrib version compatible with Openresty version 1.21.4.1(latest available, can't do a downgrade).

Any suggestions would help ?
@kpratyus @DebajitDas

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 reported OpenResty 1.21.4.1 setup, the nginx.conf module-loading command, and the opentelemetry-webserver-sdk release directories named in the error logs. Compare the module version reported by each path with the required Nginx version and document a compatible package or the missing compatibility work; done when the module loads successfully under the stated OpenResty version.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.