Skip to content
Unique operation id on every request to nginx.
C
Find file
Pull request Compare This branch is 1 commit ahead of kali:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
config
ngx_http_operationid.c

README

NGINX plugin that sets a different operationid on each and every request.

It is meant to trace one or several upstream queries triggered by a single incoming 
request.

The $operationid can be used to log it.

It can also be propagated as a header to an upstram server using proxy_set_header. 
The upstream server will look for the header and use the same operationid.

operationid on; # set up the module
operationid_header X-Ngx-OperationId; # set the header to look for in the 
                                      # incoming query.
Something went wrong with that request. Please try again.