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 ...

Get Full Stack JavaScript Strategies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.