Open royteeuwen opened 7 months ago
Hello, the nginx-otel module does have some 3rd-party dependencies and needs to be compiled separately using cmake, as described in the README.
The readme doesnt mention any package related to those opentelemetry mentioned? Or am I reading over it?
The dependencies are on 3rd-party opentelemetry code. They're pulled and compiled into the module during the build process. Here's the particular example you're referring to:
https://github.com/nginxinc/nginx-otel/blob/main/CMakeLists.txt#L37
...And if you follow a typical nginx-style build process, you probably to do something similar to https://hg.nginx.org/pkg-oss/file/26ae41eb0f32/rpm/SPECS/Makefile.module-otel to ship and build the prerequisites before building an actual module.
Describe the bug
We build NGINX from source code and add nginx-otel as dynamic module, but the following error is thrown:
I don't find it anywhere in the docs that another library should be required to build the module?
The commands we are executing: