Closed pjenvey closed 6 years ago
@rfk What identifier should I look for?
(Does fxa have a standard for passing such things around to its microservices?)
It doesn't. Let's use X-Request-ID
, which seems to be an ad-hoc standard supported by at least a few different sets of tooling in the node ecosystem.
Hrm. I've been informed that using the X-
prefix is frowned upon among the modern spec folk.
Perhaps we can be a bit more explicit and just call it a FxA-Request-ID
or something?
Pushbox should optionally accept some kind of trace id via a header from services sending it requests (e.g. fxa-auth-server). For use to trace a pushbox request to the parent services request.
We're not using any tracing framework like AWS XRay, so just logging the id if one is present is fine for now.
(Does fxa have a standard for passing such things around to its microservices?)