Discover how to apply the cross-application transaction tracing techniques learned to the entire Node.js application and unify request logging.
- [Instructor] Welcome to the chapter three challenge,…where we'll apply the cross-application transaction…tracing techniques we've been discussing…the entire rock paper scissors application.…This challenge is optional,…but it's a great way to reinforce…what we've done in this chapter.…There are four overarching objectives for this challenge.…We updated both web and players with express-request-id…and the request logger,…but the game service still needs to be updated.…We're logging the HTTP port when listening on web,…but not on players and games.…
We added support for request ID in the HTTP clients.…Let's require it to ensure everything is logged correctly.…Since it will be required,…we'll need to update all of the usages…of the games and players clients to send a request ID.…Let's break each objective down a little bit more.…There are two steps for express-request-id…and requestLogger in games,…and we've already done it elsewhere.…We just need to add and use express-request-id…in the games app…and add and use the request logger in the same file.…
- Building a troubleshooting mindset
- Why measure performance?
- What's a microservice architecture?
- Managing microservices with PM2
- Effective logging strategies
- Debugging Node.js applications
- Benchmarking performance
- Profiling code execution
- Knowing what to optimize
Skill Level Intermediate
1. Build a Troubleshooting Mindset
2. Introducing Microservices
3. Effective Logging Strategies
4. Debugging Node.js Applications
Debugging isn't just logging3m 51s
5. Measuring Performance
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.