Loading video...

Real-User Monitoring

CloudWatch RUM adds real user monitoring to your AWS observability setup by tracking what happens in the browser before and after backend requests. It helps you spot frontend errors, slow load times, and user journeys that backend monitoring alone can’t catch. RUM is easy to set up: you add a JavaScript snippet to your frontend, and it starts sending metrics, errors, and custom events to CloudWatch. You can correlate frontend data with backend traces using X-Ray, and forward events to CloudWatch Logs for deeper analysis.

Transcript

So welcome back to another chapter of the CloudWatch book. This time we're talking about real user monitoring or short: RUM. From the previous chapters, we learned a lot about how to track and analyze our backend and our infrastructure. Purchase the full course to access the complete transcript.

Full Course

$259USD, one-time fee
Buy now
30:19

Major Learnings

  • RUM tracks frontend user experience, capturing errors, load times, and user journeys.
  • Setup is simple: add the RUM JavaScript agent to your frontend and configure it with CloudWatch.
  • You can collect and visualize web vitals, errors, sessions, and custom events across browsers and locations.
  • RUM integrates with X-Ray and CloudWatch Logs, letting you correlate frontend and backend data for full-stack debugging.

Next Steps

  • 1.Create a RUM app monitor in CloudWatch and add the agent snippet to your frontend code.
  • 2.Enable cookies and X-Ray tracing for better session correlation and end-to-end tracing.
  • 3.Forward RUM events to CloudWatch Logs to use Log Insights for advanced analysis.
  • 4.Track custom events in your frontend and review RUM dashboards to spot performance or usability issues.