frontend
11 pages@nais/apm API reference
Every export, signature, and option of the @nais/apm browser SDK β init, captureException, captureMessage, setUser, setContext, captureFeedback, and more.
Auto-configuration reference
Auto-generated frontend configuration values, environment variables, and the nais.js file structure.
Custom frontend metrics
Send custom measurements from the browser and query them in Grafana.
Enable session replay
Opt in to masked session replay or crash snapshots in @nais/apm, understand the non-overridable masking floor, and make the privacy decision your team owns.
Frontend observability
Frontend observability with Grafana Faro gives you real user monitoring, performance metrics, error tracking, and tracing for browser applications.
Frontend observability troubleshooting
Common issues and solutions for frontend observability with Faro.
Frontend-to-backend trace propagation
Connect frontend browser traces to backend spans for end-to-end visibility.
Set up Faro
Set up Grafana Faro in your frontend application for real user monitoring, error tracking, and tracing.
Set up Faro with Next.js
Set up Grafana Faro in a Next.js application using the App Router.
Sourcemap deobfuscation
How sourcemap deobfuscation works for frontend error stack traces.
Track frontend errors with @nais/apm
Install the @nais/apm SDK in a browser app, initialize it with zero config, capture exceptions, and see them as issues in Nais APM.