Commit graph

8 commits

Author SHA1 Message Date
Sergey A. Osokin
0a0c1f6903 Fix build.
There're two build errors happened after recent merges:

/wrkdirs/usr/ports/www/nginx-devel/work/nginx-otel-7f0d99f//src/ngx_otel_module.cpp:171:63: error: use of undeclared identifier 'gHttpModule'
  171 |         (MainConfBase*)ngx_http_conf_get_module_main_conf(cf, gHttpModule));
      |                                                               ^
/wrkdirs/usr/ports/www/nginx-devel/work/nginx-otel-7f0d99f//src/ngx_otel_module.cpp:177:67: error: use of undeclared identifier 'gHttpModule'
  177 |         (MainConfBase*)ngx_http_cycle_get_module_main_conf(cycle, gHttpModule));
      |                                                                   ^
2024-11-21 17:11:10 -05:00
Nikita Vakula
7f0d99fd72 Support export via TLS (fix #12).
(cherry picked from commit 6c1659a20b)
2024-11-21 17:04:33 -05:00
Pavel Pautov
a1726754b7 Allow HTTP scheme in endpoint (fix #60).
(cherry picked from commit 668077dbf7)
2024-11-21 16:58:47 -05:00
Pavel Pautov
14a9c4a8bd Support custom resource attributes (fix #32).
Now attributes can be set with "otel_resource_attr" directive, e.g.
    otel_resource_attr my.name "my value";

(cherry picked from commit b5c8cd8de3)
2024-11-21 16:57:59 -05: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
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
Renamed from src/http_module.cpp (Browse further)