diff options
author | Ava Hahn <a.hahn@f5.com> | 2024-11-07 14:14:28 -0800 |
---|---|---|
committer | Ava Hahn <110854134+avahahn@users.noreply.github.com> | 2024-11-12 09:50:02 -0800 |
commit | 9d3dcb800aba0c036b032ccd00197712c3f5d0d9 (patch) | |
tree | 60492891a92e91e5a83040fd43a0513c0e093270 /auto/sources | |
parent | 8b697101818d8d2257a5421d21020c02e0802907 (diff) | |
download | unit-9d3dcb800aba0c036b032ccd00197712c3f5d0d9.tar.gz unit-9d3dcb800aba0c036b032ccd00197712c3f5d0d9.tar.bz2 |
otel: add build tooling to include otel code
Adds the --otel flag to the configure command and the various build time
variables and checks that are needed in this flow.
It also includes the nxt_otel.c and nxt_otel.h files that are needed for
the rest of Unit to talk to the compiled static library that's generated
from the rust crate.
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Co-authored-by: Gabor Javorszky <g.javorszky@f5.com>
Signed-off-by: Gabor Javorszky <g.javorszky@f5.com>
Diffstat (limited to '')
-rw-r--r-- | auto/sources | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/sources b/auto/sources index dfabf7cf..02740397 100644 --- a/auto/sources +++ b/auto/sources @@ -127,6 +127,10 @@ if [ "$NXT_NJS" != "NO" ]; then NXT_LIB_SRCS="$NXT_LIB_SRCS src/nxt_js.c src/nxt_http_js.c src/nxt_script.c" fi +if [ "$NXT_OTEL" != "NO" ]; then + NXT_LIB_SRCS="$NXT_LIB_SRCS src/nxt_otel.c" +fi + NXT_LIB_EPOLL_SRCS="src/nxt_epoll_engine.c" NXT_LIB_KQUEUE_SRCS="src/nxt_kqueue_engine.c" NXT_LIB_EVENTPORT_SRCS="src/nxt_eventport_engine.c" |