Commit graph

12 commits

Author SHA1 Message Date
Pavel Pautov
8f0857d3f9 Prevent crash for HTTP/0.9 requests (fix #22).
(cherry picked from commit 958a4b6962)
2023-12-14 19:20:02 -05:00
Sergey A. Osokin
ae5dbab56c Fix build with protobuf v22+
Please visit for details: https://github.com/nginxinc/nginx-otel/issues/16
2023-12-14 18:36:51 -05:00
Sergey A. Osokin
1222d0617e Simplify build:
- remove needless src/modules.c, that generates by nginx build system
- rename the module's source file to src/ngx_otel_module.cpp
2023-09-19 20:33:07 -04:00
Sergey A. Osokin
dc52126d09 WIP: make nginx-otel module cmake-free
Use `s/gHttpModule/ngx_otel_module/g' to make the module
linkable.
Update library dependency list with `-lgrpc++' to fix build.
2023-09-17 15:48:25 -04:00
Dmitry Plotnikov
470e4a2906 Do not require otel_exporter directive. 2023-06-13 16:59:02 -07:00
Dmitry Plotnikov
387d391823 Fix a crash for configs with no http block. 2023-06-13 16:59:02 -07:00
Dmitry Plotnikov
a7fbfc0573 Restore OTel context after internal redirect. 2023-06-13 16:59:02 -07:00
Pavel Pautov
6bb8e8c903 Redirect gRPC and Protobuf logs into Nginx error log.
By default, these libraries may log directly into stderr.
2023-06-13 16:59:02 -07:00
Pavel Pautov
85a3fcb38c Support custom span name and attributes. 2023-06-13 16:59:02 -07:00
Pavel Pautov
3ad853ea59 Add variables. 2023-06-13 16:59:02 -07:00
Pavel Pautov
20f365b3c1 Trace context propagation. 2023-06-13 16:59:02 -07:00
Pavel Pautov
3430e85c34 Nginx OTel module. 2023-06-13 16:59:02 -07:00