I would like to inject some metadata into HTTP response headers in order to track who serves the request.
I already achieve this with Nginx / HA proxy, but first time I try with Traefik.
I take a look at Headers middleware but seems only to inject static info. So I take a look at creating a middleware plugin but seems to lack info about request routing (or I didn't find out how) and plugin API documentation is missing...
entrypoint, router and service names should be fine.
Sad you can't get it after call to next. It is common in filter pattern that member in the chain can inject metadata / contextual information that can be retrieve after chain call.