This talk has been presented at Node Congress 2022, check out the latest edition of this JavaScript Conference.
Video: Sentry for JavaScript Monitoring
FAQ
Breadcrumbs in Sentry are a trail of user actions and events leading up to an error or performance issue. They provide a timeline that helps developers understand what the user was doing right before the issue occurred, aiding in quicker diagnosis and resolution.
Sentry's performance monitoring features include tracking slow transactions and endpoints, analyzing Google's Web Vitals, and providing insights into user misery scores. It allows developers to see detailed transaction data, including resource loading times and backend processing delays.
Sentry is a code monitoring tool designed for developers. It specifically monitors errors and performance issues in the application layer, alerting developers when code is broken or running slowly.
To start with Sentry for JavaScript, you need to install the Sentry SDK via NPM, initialize it using 'sentry.init', and configure it with the necessary options. This setup allows Sentry to monitor and report errors and performance issues in your JavaScript applications.
Sentry can automatically detect and report uncaught and unhandled errors in your code. Additionally, developers can manually report handled errors using Sentry's 'capture exception' feature, enhancing the monitoring of the application's robustness.
Sentry provides detailed error reports that include information such as the error type, message, stack trace, and user actions leading up to the error. It also integrates with source code management tools to identify suspect commits and can link errors across different projects or services.
Setting up alerts in Sentry allows teams to proactively monitor and respond to critical performance issues or errors. Alerts can be customized based on thresholds for transaction times and can notify teams via methods like email or Slack, ensuring immediate attention to potential problems.
Check out more articles and videos
We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career
Workshops on related topic
Level: intermediate
In this workshop you'll learn how to develop APIs with Fastify and deploy them to the Platformatic Cloud.
We will enhance a full-stack JS application (Node.JS backend + React frontend) to authenticate users with OAuth (social login) and One Time Passwords (email), including:- User authentication - Managing user interactions, returning session / refresh JWTs- Session management and validation - Storing the session for subsequent client requests, validating / refreshing sessions
At the end of the workshop, we will also touch on another approach to code authentication using frontend Descope Flows (drag-and-drop workflows), while keeping only session validation in the backend. With this, we will also show how easy it is to enable biometrics and other passwordless authentication methods.
Table of contents- A quick intro to core authentication concepts- Coding- Why passwordless matters
Prerequisites- IDE for your choice- Node 18 or higher
Comments