Hello,
We are using EdgeMicro gateway 2.3 for our APIs.
We need all incoming requests sent to our APIs to come complete with a “x-request-id” header value to correlates client logs on our environment. We set headers.x-request-id to true in the EMG configuration file, so that EMG adds an x-request-id when it is missing on incoming requests.
As a result, EMG is now however always forging a new value of its own for this header; and ignore any incoming value when there is already one. This is not good, since each time a client goes through EMG, we loose the correlation capabilities.
Is there a way to tell EMG only to add a new x-request-id value where there is none in the incoming request, or do we have to build a custom plugin to get this behavior?
Thanks for your help,
-Francois