Commit graph

36 commits

Author SHA1 Message Date
Sergey A. Osokin
52efd18947 Improve protobuf test
While I'm here update libre2 to re2.
2024-07-18 17:10:38 -04:00
Sergey A. Osokin
0b9db0ace8 Update the module's configuration...
to resolve the following error during the load module on nginx'
start up: undefined symbol "_z11initgrpclogv"
2024-04-06 14:40:56 -04:00
Dmitry Plotnikov
79f05c204e Fix undefined symbols error on Mac (fix #38).
(cherry picked from commit d381713639)
2024-04-06 13:41:30 -04:00
Pavel Pautov
e6fa9531c8 Disable unnecessary gRPC features to reduce binary size.
Incidentally, this also removes RE2 code from the binary.

(cherry picked from commit 30b9b73546)
2024-04-06 13:41:10 -04:00
Dmitry Plotnikov
cbf01a63a8 Enforce compiler warnings in CI build only.
(cherry picked from commit 5a0071f497)
2024-04-06 13:40:51 -04:00
Dmitry Plotnikov
91e6d13133 Bump gRPC to v1.49.4 to support building with GCC 13 (fix #13).
(cherry picked from commit d6d7ce1015)
2024-04-06 13:40:11 -04:00
Dmitry Plotnikov
be044dedbe Stop using system provided RE2 for static build.
Starting with 2023-06-01 RE2 publicly depends on Abseil, so we can't use
system provided RE2 together with gRPC-bundled Abseil.

(cherry picked from commit fa28f37dab)
2024-04-06 13:39:44 -04:00
Dmitry Plotnikov
b845bf4172 Use Abseil logging for Protobuf v22 and above (fix #16).
(cherry picked from commit 93dc2b1878)
2024-04-06 13:39:14 -04:00
Dmitry Plotnikov
ed031aafe8 Move gRPC/Protobuf logs handling to a dedicated file.
(cherry picked from commit b54c65005a)
2024-04-06 13:38:24 -04:00
Pavel Pautov
7e674ab4be Update PR template.
Removed documentation task, as most of it is hosted externally for now.

(cherry picked from commit aac5678def)
2024-04-06 13:34:02 -04:00
Pavel Pautov
346036fc6b Update commit message guidelines.
(cherry picked from commit c8c71688cf)
2024-04-06 13:33:40 -04:00
Eugene Grebenschikov
11622d31b4 Add manual run of actions.
(cherry picked from commit 0491cc05ee)
2024-04-06 13:33:13 -04:00
Pavel Pautov
39142c1b42 Removed NOTICE, it's covered by README.md and LICENSE already.
(cherry picked from commit 7edca7a3ec)
2024-04-06 13:32:40 -04:00
Dmitry Plotnikov
6dc30a00b5 Bump gRPC and opentelemetry-cpp versions.
Move on to gRPC v1.46.7 and opetelemtry-cpp v1.11.0, last versions that
support C++11.

(cherry picked from commit fa280e1ffe)
2024-04-06 13:31:24 -04:00
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
Sergey A. Osokin
f58abc0101 WIP: make nginx-otel module cmake-free
The proposal of this change is to remove cmake(1) from the module
build process.
2023-09-16 12:52:34 -04:00
Michael Vernik
0da0f1537e Updated README: Clarified dynamic control. Added link to Github repo. 2023-09-01 13:00:56 -07:00
Michael Vernik
98fb4d1d21
Added to intro, more context/details to building/installation. Remove… (#7)
Updated README with more detailed instructions on building, installing, running and testing
2023-08-31 22:32:56 -07:00
dplotnikov-f5
c732ff5fd1
Added docs. (#6)
Added docs.
2023-08-21 13:51:06 -07:00
Evgeny
3d528bb093
add: functional tests (#5)
* add functional tests
2023-08-16 17:20:25 -07:00
Evgeny
f6f2525dd7
fix: building with nginx with HTTP/3 (#4) 2023-06-14 09:58:46 -07: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
Pavel Pautov
5f611a0fc8 Don't assume Make executable name. 2023-06-13 16:59:02 -07:00
Pavel Pautov
38e48ff778 Add interface for Nginx build system. 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
cd9c91acc9 Remove unnecessary UTF8 check from generated protobuf code. 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
Ivan Ovchinnikov
a0389d8296 Initial commit 2023-06-09 18:26:12 +00:00