OpenTelemetry#
The OTel module adds OpenTelemetry distributed tracing of requests: it exports
trace data to an OpenTelemetry collector over the OTLP/gRPC protocol. The module
also propagates W3C trace context, so a trace continues from Angie to the
proxied servers. To install the module, use one of the following packages: Angie: Angie PRO: To use the module, it must be loaded in the Version: v0.1.2 Detailed documentation and source code are available at:
nginx/nginx-otelInstallation#
angie-module-otelangie-pro-module-otelLoading the Module#
main{} context: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#