OTel#
The OTel module provides support for distributed tracing of OpenTelemetry. The module supports W3C context propagation and the OTLP/gRPC export protocol.
Loading the Module#
To use the module, it must be loaded in the context of 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#
Detailed documentation and source code are available at: nginxinc/nginx-otel