-
Notifications
You must be signed in to change notification settings - Fork 2
/
jaegertracing_v1_20_0.patch
40 lines (36 loc) · 1.61 KB
/
jaegertracing_v1_20_0.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/config b/config
index e1d5e35..8661236 100644
--- a/config
+++ b/config
@@ -360,6 +360,7 @@ HTTP_LUA_SRCS=" \
$ngx_addon_dir/src/ngx_http_lua_ssl_session_storeby.c \
$ngx_addon_dir/src/ngx_http_lua_ssl_session_fetchby.c \
$ngx_addon_dir/src/ngx_http_lua_ssl.c \
+ $ngx_addon_dir/src/ngx_http_lua_jaegertracing.c \
$ngx_addon_dir/src/ngx_http_lua_log_ringbuf.c \
$ngx_addon_dir/src/ngx_http_lua_input_filters.c \
$ngx_addon_dir/src/ngx_http_lua_pipe.c \
@@ -423,6 +424,7 @@ HTTP_LUA_DEPS=" \
$ngx_addon_dir/src/ngx_http_lua_ssl_session_storeby.h \
$ngx_addon_dir/src/ngx_http_lua_ssl_session_fetchby.h \
$ngx_addon_dir/src/ngx_http_lua_ssl.h \
+ $ngx_addon_dir/src/ngx_http_lua_jaegertracing.h \
$ngx_addon_dir/src/ngx_http_lua_log_ringbuf.h \
$ngx_addon_dir/src/ngx_http_lua_input_filters.h \
$ngx_addon_dir/src/ngx_http_lua_pipe.h \
diff --git a/src/ngx_http_lua_util.c b/src/ngx_http_lua_util.c
index c12262e..6d9a146 100644
--- a/src/ngx_http_lua_util.c
+++ b/src/ngx_http_lua_util.c
@@ -53,6 +53,7 @@
#include "ngx_http_lua_ssl.h"
#include "ngx_http_lua_log_ringbuf.h"
+#include "ngx_http_lua_jaegertracing.h"
#if 1
#undef ngx_http_lua_probe_info
@@ -779,6 +780,7 @@ ngx_http_lua_inject_ngx_api(lua_State *L, ngx_http_lua_main_conf_t *lmcf,
ngx_http_lua_inject_timer_api(L);
ngx_http_lua_inject_config_api(L);
ngx_http_lua_inject_worker_api(L);
+ ngx_http_lua_inject_jaegertracing_api(L);
ngx_http_lua_inject_misc_api(L);