-
Book Overview & Buying
-
Table Of Contents
Full-Stack React, TypeScript, and Node - Second Edition
By :
In the previous chapter, we deployed our application to production. We added health check endpoints, structured logging, and graceful shutdown. The application is live, users are connecting, and everything seems fine. But how do you actually know that it is fine?
Right now, the only way to find out if something is wrong is when a user complains or when a health check fails. By then, the damage is already done. What if you could see inside your running application, follow a single request as it travels from the browser through Express into Prisma and down to PostgreSQL, and spot the slow query before it becomes a timeout?
That is what this chapter is about. We will start by understanding the difference between monitoring and observability, two terms that are often used interchangeably but mean very different things. Then we will set up OpenTelemetry, a widely adopted, vendor-neutral observability framework for collecting telemetry data, and connect it to...
Change the font size
Change margin width
Change background colour