Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Request-Start header #670

Closed
scalp42 opened this issue Jul 5, 2019 · 1 comment
Closed

X-Request-Start header #670

scalp42 opened this issue Jul 5, 2019 · 1 comment

Comments

@scalp42
Copy link

scalp42 commented Jul 5, 2019

Hi folks,

Looking at the headers documentation (https://fabiolb.net/feature/http-headers/), we can't figure out if Fabio supports setting a dynamic header based on micro/milliseconds since epoch.

Example with Nginx:

proxy_set_header X-Request-Start "t=${msec}";

or Apache:

RequestHeader set X-Request-Start "%t"

By setting the header, it allows visibility into request queuing to the app from farther upstream (Fabio in our scenario).

It's also needed for APM vendors (New Relic, Scout, Instana, etc):

Let us know if it's possible.

Thanks in advance ✌️

@aaronhurt
Copy link
Member

@scalp42 There isn't any current dynamic header support other than the specific documented cases. There is an open issue though with ongoing discussion: #168

Going to close this as a duplicate of #168 as jippi actually mentions this exact case in that issue.

Feel free to re-open if the solutions discussed there wouldn't resolve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants