OTel#
The OTel module provides support for OpenTelemetry distributed tracing.
The module supports W3C context propagation and the OTLP/gRPC export protocol. To install the module, use one of the following packages: Angie: Angie PRO: To use the module, it must be loaded in the context of Detailed documentation and source code are available at:
nginxinc/nginx-otelInstallation#
angie-module-otel
angie-pro-module-otel
Loading the Module#
main{}
:load_module modules/ngx_otel_module.so;
Configuration Example#
http {
otel_exporter {
endpoint localhost:4317;
}
server {
listen 80;
location / {
otel_trace on;
otel_trace_context inject;
proxy_pass http://backend;
}
}
}
Additional Information#