How to apply distributed tracing for a Node.js app

Donald Le
28 min readNov 19, 2023

Introduction

In a microservices architecture, besides the advantages like scalability, faster time to market, and improving maintainability, it also comes with disadvantages. One of the hardest problems with microservices is how to debug errors when they happen. With dozens to hundreds of microservices communicating with each other in an application, you can easily get lost in the ocean of logs where you don’t know the root cause of the problem.

--

--

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.