Re:Distributed Logging Architecture in the Container Era
by organsnyder on Friday August 12, 2016 @06:36AM
(#12274490)
How are you passing that UUID along the request chain? For instance, when one microservice calls another, does it have to be manually passed in?
[ Parent
| on HN ]
Re:Distributed Logging Architecture in the Container Era
by eddieroger on Friday August 12, 2016 @10:09AM
(#12275742)
My web stack checks for a specific header at each potential level of entry, and in the absence of a value, generates one. Then each layer's logger will log it back out. It's pretty straightforward for web requests - just use the plumbing that's already there, headers.
Re:Distributed Logging Architecture in the Container Era
by jacques_chester on Friday August 12, 2016 @09:22AM
(#12275380)
Some platforms will do this for you -- Cloud Foundry will show `x-cf-requestid` for anything that passed through the gorouter and back.