Monitoring

From BuilderIO/agent-native · View interactive version

Monitoring is an AI agent skill from the GitHub repository BuilderIO/agent-native. Implementation map for the Monitoring tab (uptime checks, public status pages, error triage): component/server file locations, schema, jobs, and scheduler wiring. Use when building or debugging Monitoring UI, uptime checks, status pages, or error capture/grouping — not when just calling the monitori

How to use this skill

Skill file

Monitoring Implementation Map

/monitoring is a thin shell (app/routes/monitoring._index.tsx →

app/pages/monitoring/MonitoringPage.tsx) hosting two independently-owned

panels selected by ?view=uptime|errors (defaults to uptime). navigation

mirrors it as view="monitoring" with monitoringView (plus

monitorId/errorIssueId when a row is open); each panel also writes richer

selection to the monitoring application-state key.

Uptime

server/jobs/uptime-monitors.ts, scheduler

server/plugins/uptime-monitor-jobs.ts, schema

server/db/schema-monitoring.ts.

delete-monitor.

scheduler and rely on the generated scheduled/background worker or external

cron instead.

?view=uptime&monitor=new, edit ?view=uptime&monitor=<id>&edit=1.

Status Pages

Uptime that bundles chosen monitors under a public /status/<slug> page.

server/lib/status-pages.ts over server/db/schema-monitoring.ts.

delete-status-page, add-status-page-monitor,

remove-status-page-monitor, reorder-status-page-monitors, plus the

unauthenticated get-public-status-page.

?view=uptime&statuspage=new, edit ?view=uptime&statuspage=<id>.

Errors

— first-party, Sentry-style exception triage grouped into issues by

fingerprint.

server/db/schema-errors.ts.

events; server captureError() failures arrive through the shared tracking

provider when the server Analytics key is configured and use the same grouped

issue store.

capture-test-error, match-error-issues.

(captureException / captureMessage / addErrorBreadcrumb),

auto-enabled by configureTracking and transported through the first-party

analytics ingest as a $exception event.

occurrences are flagged testIdentity, never count toward users affected,

and never alert. An issue only they have hit is testIdentityOnly and hidden

from list-error-issues unless includeTestIdentities: true; the new-issue

alert fires on its first real-user occurrence instead. Ingest decides from

the identities an event carries (userId, email fields, its context), never

from a sender's test_identity flag, which any write-key holder could set.

frequency, parsed/raw stack traces, source code snippets when available,

breadcrumbs, tags, occurrence history, and session replay links.

stack, occurrence, and replay detail. These are separate from the external

Sentry action and do not require a Sentry credential.

finds issues with a stored occurrence in that traffic: the occurrence's URL

host decides, then its environment when it has no host, and with neither it

counts as production. eventCount and usersAffected stay across all

environments. Each kind of traffic is sampled on its own, but an issue keeps

only its latest stored occurrences, so an older rare beta occurrence of a

noisy issue can be gone.

Session Replay ↔ Errors

A recording's devtools Console error lines link to the grouped issue at

/monitoring?view=errors&issue=<id>, resolved by match-error-issues (exact

fingerprint match, no heuristics); issues link back to the originating

recording at /sessions/<recordingId>. The fingerprint includes the app, so

match-error-issues takes the recording's app and only matches issues filed

under it.

Related Skills

feature links to.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.