Browser monitoring is a beta AppSignal Labs feature. The
@appsignal/browser package is published under the beta tag on npm, and its
configuration and API may still change between beta releases. Share feedback
in our Discord community.@appsignal/browser, a standalone package that does not depend on any other AppSignal package.
What it collects
Errors
Uncaught exceptions and unhandled promise rejections, with stack traces, tags, and the route the user was on.
Breadcrumbs
An automatic timeline of navigation, selections, network calls, and console output before each error. No setup needed.
Web vitals
LCP, INP, CLS, FCP, and TTFB from real users, aggregated per route and comparable across releases.
Where to find it in AppSignal
The Browser section of your application has two views:- Errors groups front-end errors into issues you can triage. Read more in front-end errors in AppSignal.
- Performance summarizes the five web vitals and breaks them down per route. Read more in front-end performance in AppSignal.
browser namespace, which keeps them out of your back-end error lists and notification settings. For what browser monitoring covers as a feature, see the browser monitoring overview.
Relation to AppSignal for JavaScript
@appsignal/browser replaces @appsignal/javascript and its plugin packages. It is not a drop-in upgrade: the API is different, breadcrumbs and web vitals are collected without configuration, and errors are reported to the browser namespace instead of frontend. The old package keeps working, but new features only land in the new one. The migration guide maps the old API onto the new one.
Requirements
- A browser that supports ES2020. The package targets ES2020 and does not ship polyfills.
- CLS and INP need Chromium’s
layout-shiftandevent-timingperformance entry types. Other browsers report LCP, FCP, and TTFB only.
Next steps
Install the package
Add
@appsignal/browser to your application and start reporting.Configuration options
Every option, its type, and its default.
Filter what you send
Scrub URLs, mask elements, and gate collection on user consent.
Migrate from AppSignal for JavaScript
Map the old API onto the new one.