Skip to Content
Full Stack JavaScript Strategies
book

Full Stack JavaScript Strategies

by Milecia McGregor
January 2025
Beginner
480 pages
12h 25m
English
O'Reilly Media, Inc.
Content preview from Full Stack JavaScript Strategies

Chapter 12. Monitoring, Logging, and Incident Handling

Now that you have built your backend, it’s time to take a deeper look into your monitoring and logging tools. This is where you’ll get the info you need to figure out what’s happening in your app across different environments and decide how to handle it.

You’ve set up logging throughout your code, so you already understand what to log and have plenty to test and check for. The goal now is to get meaningful insights from what you’re already logging, such as figuring out when incidents are occurring and resolving them.

In this chapter, I’ll go over:

  • Multiple uses for logs and monitoring data

  • How different tools work

  • Incident plans for production based on logs and monitoring

Monitoring and logging aren’t there just for when something goes wrong. They tell you the story about what is going on across your full stack app and even on the infrastructure level. If you know exactly what happens with the app and when it happens, then you can find out why it happens. This gives you a chance to exercise some creativity and take part in the direction the product goes.

Uses for Logs and Monitoring

Let’s start by defining what logging and monitoring are. If you remember in Chapter 9, we talked about logging for debugging purposes. Logs are messages that are sent as events happen in your app. These are typically created when an action is triggered so that you have a record of the events that happen. Your logs can initially be sent ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Modern JavaScript from The Beginning [Second Edition] - Second Edition

Modern JavaScript from The Beginning [Second Edition] - Second Edition

Brad Traversy
JavaScript from Beginner to Professional

JavaScript from Beginner to Professional

Laurence Lars Svekis, Maaike van Putten, Rob Percival, Codestars By Rob Percival

Publisher Resources

ISBN: 9781098122249Errata Page