Menu
Back to Discussions

api design, standardizing request and response ids for traceability

Niamh Fitzwilliam
Niamh Fitzwilliam
·9417 views
hey every1 ive been thinkin alot abt how we track reqs as they flow thru our distributed systems its easy to get lost when debuggin or monitorin my current thought is to mandate a X-Request-ID header on all incomin API reqs and then have each service append or pass along a X-Correlation-ID that builds upon the original this would allow us to trace a single logical req across multiple microservices wat r ur experiences with implementin such a system r there any standard libraries or patterns youd recommend for managin these IDs across diff languages and frameworks wat r the main pitfalls to watch out for
29 comments

Comments

Loading comments...