Overview
Canvas automatically captures client-side errors, web performance metrics, and custom events for every app. Data flows to Mixpeek’s analytics backend (ClickHouse) and optionally to your own Sentry or PostHog instance.Built-in error tracking
Canvas injects a lightweight error boundary that captures:- Unhandled exceptions —
window.onerrorandunhandledrejectionevents - Error details — message, stack trace, source URL, line/column numbers
- Context — app ID, user agent, page URL
canvas_errors ClickHouse table and visible in Studio’s Analytics panel.
Querying errors via API
Web vitals
Canvas automatically reports Core Web Vitals for every page load:| Metric | What it measures |
|---|---|
| LCP (Largest Contentful Paint) | Loading performance |
| FID (First Input Delay) | Interactivity |
| CLS (Cumulative Layout Shift) | Visual stability |
canvas_vitals and visible in Studio.
Custom events
Track custom events from your app using the Canvas analytics API:Sentry integration
Send errors to your own Sentry project by configuring the monitoring settings:PostHog integration
Enable PostHog product analytics:Studio
The Analytics panel in Studio shows:- Error rate — errors per minute over the selected time range
- Web vitals — LCP, FID, CLS distributions
- Custom events — event counts by type
- Runtime logs — server function console output (see Runtime Logs)
- Request logs — HTTP request log with status codes and latency

