From 4c4933dc207c04e3528a9b20c28b639bc99773ad Mon Sep 17 00:00:00 2001 From: Damien Mathieu <42@dmathieu.com> Date: Mon, 20 Sep 2021 11:35:32 +0200 Subject: [PATCH] setup nginx config file (#52) --- instrumentation/nginx/config | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 instrumentation/nginx/config diff --git a/instrumentation/nginx/config b/instrumentation/nginx/config new file mode 100644 index 000000000..36751ddeb --- /dev/null +++ b/instrumentation/nginx/config @@ -0,0 +1,24 @@ +ngx_addon_name=opentelemetry_nginx +ngx_module_type=HTTP +ngx_module_name=$ngx_addon_name +ngx_module_incs= +ngx_module_deps=" \ + $ngx_addon_dir/src/agent_config.h \ + $ngx_addon_dir/src/location_config.h \ + $ngx_addon_dir/src/nginx_config.h \ + $ngx_addon_dir/src/nginx_utils.h \ + $ngx_addon_dir/src/propagate.h \ + $ngx_addon_dir/src/script.h \ + $ngx_addon_dir/src/toml.h \ + $ngx_addon_dir/src/trace_context.h \ +" +ngx_module_srcs=" \ + $ngx_addon_dir/src/agent_config.cpp \ + $ngx_addon_dir/src/nginx_config.cpp \ + $ngx_addon_dir/src/otel_ngx_module.cpp \ + $ngx_addon_dir/src/propagate.cpp \ + $ngx_addon_dir/src/script.cpp \ + $ngx_addon_dir/src/trace_context.cpp \ +" + +. auto/module