Getting the error: 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
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
I am using Openresty version 1.21.4.1 and trying to instrument Opentelemetry.
Steps to reproduce
printf "load_module /opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/ngx_http_opentelemetry_module.so;\n$(cat /usr/local/openresty/nginx/conf/nginx.conf)" > /usr/local/openresty/nginx/conf/nginx.conf
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
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