Browse the library
Instrumentation templates
AI Agent Observability Template
Track agent runs, tool calls, retries, model latency, errors, and accepted outcomes with structured SQL-ready events.
Open templateBackground Job Failure Monitor
Capture queue, cron, import, billing sync, and webhook job health from the first run through retries and failures.
Open templateAPI Error And Latency Monitor
Watch request volume, status codes, route latency, failed endpoints, and customer-impacting API incidents.
Open templateLLM Cost Tracker
Measure model spend, token usage, latency, failure rate, and value signals by feature, user, and account.
Open templateWebhook Debugging Template
Track delivery, processing, retries, provider status, idempotency, and downstream effects for critical webhooks.
Open templateActivation And Retention Template
Track the path from signup to first meaningful action, retained usage, upgrade intent, and expansion signals.
Open templateEvent Tracking Plan Template
Create a reviewable event catalog covering grain, ownership, fields, privacy, retention, validation, and downstream SQL dependencies.
Open templateAI Agent Security Audit Template
Instrument tool authorization decisions, policy versions, human approvals, and terminal outcomes with privacy-safe structured events.
Open templateDatabase Reliability Monitoring Template
Instrument slow operation fingerprints, pool contention, transaction rollbacks, locks, replication lag, and migration outcomes with safe structured events.
Open templateHow to choose
Pick the resource closest to the decision you need to make
Use a template for implementation
Templates give a coding agent the event names, fields, verification steps, dashboards, and safety boundaries for one workflow.
Prefer the narrowest match
An API monitor or webhook template creates a more reviewable first pass than a request to instrument everything.
Adapt fields deliberately
Keep the stable status, duration, identifier, and error fields, then add only the context required by your product.
Start with one workflow
Give your coding agent the context and verify real events
Create a free API key, choose the closest resource, and ask the agent to run the flow before it considers the instrumentation done.