Kong user-agent from Netflix/vizceral


Internally we use https://github.com/Netflix/vizceral to have all the observability of our communications.

With kong we need to add the user-agent that calls the upstream like:

server -> kong -> upstream
client -> kong -> usptream

what is the best approach for this?
and if we want to use something on behalf of:

server XY -> Kong-ServerXY -> upstream
client XZ -> kong-clientXZ -> usptream


You can use request-transformer plugin in Kong to inject or override the user-agent header.

Depending on how you figure out the identity of your server or client (if it is server XY or client XZ), you can use serverless plugin or a custom plugin to inject this header if you need to perform additional lookups.