9 comments

[ 2.8 ms ] story [ 36.9 ms ] thread
I recently implemented support for this in the prometheus-exporter gem.

https://github.com/discourse/prometheus_exporter/pull/150

What's annoying about the encoded time value is version 1 (the only version still) is in seconds precision. Makes the value non-viable for any sort of queue time metric. Better than nothing, but would have been nice if it were micro.

Request ID! I added that to the Amazon web servers about 20 years ago! My code probably doesn’t exist anymore but it’s funny to see it referenced on HN this many years later.
If it’s in APLCore it’s still running somewhere, you can be sure
Oh man, I gotta lot of code in APLCore. I can't believe that's still around too. Wow.
Wasnt there an rfc recommending against the use of X- prefix headers? I guess that didnt hold
Yes, 'deprecated' in RFC6648 (2012): https://datatracker.ietf.org/doc/html/rfc6648

`X-AMZN-something` at least though probably predates that; a mix of `X-AMZN` and `AMZN` would be annoying. (Although I suppose they could say 'We've deprecated `X-`, it'll be stripped and still work, but please don't use it in new code' applying to all of them, old and new.)