Catch errors, monitor performance, and get alerted when things break. Integrates with your existing error tracking service through a consistent API.
Open-source error tracking with performance monitoring and session replay
SENTRY_DSNFull-stack observability with APM, logs, and infrastructure monitoring
DD_API_KEYDD_APP_KEYFull-stack observability with AI-powered error analysis
NEW_RELIC_LICENSE_KEYCapture errors
Report errors with context to your monitoring provider
import { monitor } from '@/lib/monitor'
try {
await processPayment(order)
} catch (error) {
monitor.captureException(error, {
tags: { orderId: order.id },
user: { id: userId },
})
}Add monitoring to your Primstack project with a single command:
prim monitor init