Back to articles
Sentry Has a Free API — Error Tracking and Performance Monitoring for Every Stack

Sentry Has a Free API — Error Tracking and Performance Monitoring for Every Stack

via Dev.to WebdevAlex Spinov

Sentry catches errors in production before your users report them. Stack traces, session replays, performance traces — across frontend, backend, and mobile. Why Sentry? Real error context — stack traces, breadcrumbs, user info, device data Session Replay — watch what the user did before the error Performance — trace slow API calls, database queries, renders Free tier — 5K errors, 10K transactions, 50 replays/month Every language — JS, Python, Go, Rust, Java, Ruby, PHP, .NET Quick Start (JavaScript) npm install @sentry/node import * as Sentry from ' @sentry/node ' ; Sentry . init ({ dsn : ' https://YOUR_DSN@o0.ingest.sentry.io/0 ' , tracesSampleRate : 1.0 , environment : ' production ' , }); React npm install @sentry/react import * as Sentry from ' @sentry/react ' ; Sentry . init ({ dsn : ' YOUR_DSN ' , integrations : [ Sentry . browserTracingIntegration (), Sentry . replayIntegration (), ], tracesSampleRate : 1.0 , replaysSessionSampleRate : 0.1 , replaysOnErrorSampleRate : 1.0 , }); /

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
3 views

Related Articles