Dheeru Chakri Hyderabad, India 4 Questions 0 Answers 0 Best Answers 43 Points View Profile 3 Dheeru Chakri MicroservicesLearner Asked: January 31, 2019 How can be tracked transactions in Microservices? 3 How can be tracked transactions in Microservices?5 (100%) 8 vote[s] When a transaction as part of a business use case has to tap multiple microservices, for debugging/auditing purposes, how will I know what are all the services that were invoked as part of completing one functional requirement for a given user? ShareTweetShare0 Shares complete flowflowlogloggingtrackingtransaction Share Facebook 2 Answers Voted Oldest Recent Jude Vivek Jude 0 Questions 2 Answers 0 Best Answers 24 Points View Profile Jude Vivek MicroservicesLearner Jude Added an answer on March 10, 2019 at 7:17 pm This is one of an essential item to handle in a microservice architecture. The most common solution adopted currently is a use of a correlation id (system generated) that is passed around all the microservices with the increment of id. Usually, this is passed around in the request/response headers and the service uses those in the logging libraries. Inspired by the paper Dapper [https://ai.google/research/pubs/pub36356], many libraries and frameworks are developed to handle this. To name a few, Open Zipkin [https://zipkin.io/] and Open Tracing [https://opentracing.io/] 1 Login to Reply Share Share Share on Facebook Share on Twitter Share on WhatsApp Ramendra Kumar Srivastava Noida, India 1 Questions 3 Answers 0 Best Answers 49 Points View Profile Ramendra Kumar Srivastava MicroservicesLearner Added an answer on February 25, 2019 at 10:47 am To implement transaction and track about all participated microservice use microservices facade pattern. In this pattern use system generated ID in facade service for logging/Auditing. That generated id will need be passed to all microservices which will participate in transaction if further each microservice level logging will be required 1 Login to Reply Share Share Share on Facebook Share on Twitter Share on WhatsApp Leave an answerCancel replyYou must login or register to add a new answer.