nginxinc / nginx-gateway-fabric

NGINX Gateway Fabric provides an implementation for the Gateway API using NGINX as the data plane.
Apache License 2.0
409 stars 81 forks source link

NGINX Variables for Request and Response Header Modifiers #2041

Open mpstefan opened 1 month ago

mpstefan commented 1 month ago
### Tasks
- [ ] Design for Allowed NGINX Variables in Request and Response Headers
- [ ] #2040 
- [ ] Allow set of NGINX Variables for ResponseHeaderModifier
- [ ] Allow set of NGINX Variables for OpenTelemetry Attribute
sjberman commented 3 weeks ago

@mpstefan Since this also includes Otel attributes, I would simplify the title of this epic (since that's not related to header filters).

I also suspect this could be something that gets bumped up in priority. Being able to include variables offers a lot of value in gathering or adding data to requests that could be very useful for debugging issues or just for general information.