Advices and “must-know” things regarding Sentry usage.
NRN comes with built-in
ALERT_TYPES for existing alerts, defined in the
Feel free to add more alert types, they’re mostly useful to help you increase the observability of your backend, by helping you to make sense of what’s happening.
Sentry provides 2 different packages, with different abilities (but a very similar API) for browser and server usage.
In the source code, we always use
@sentry/node, which is automatically converted at build step by Webpack. (see
This way, we always use the same import, which is linked to the right package based on the runtime engine target.
- Official “Getting started” guide
- Capturing errors
- Using “context” for events
- Using “breadcrumbs” for events
- How to blacklist sensitive data tracking (GDPR, security)