Browse the library
Instrumentation templates
AI agent observability template
Track agent runs, tool calls, retries, latency, errors, and accepted outputs in event tables you can query with SQL.
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, failures, and accepted outputs 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
See which users finish onboarding, return to the product, and show interest in upgrading.
Open templateEvent tracking plan template
Document what each event means, who owns it, which fields it contains, and which queries depend on it. Include privacy, retention, and validation rules.
Open templateAI agent security audit template
Record tool authorization decisions, policy versions, human approvals, and final outcomes. Use selected event fields to keep sensitive payloads out.
Open templateDatabase reliability monitoring template
Record query fingerprints, pool waits, rollbacks, locks, replication lag, and migration results. Exclude raw statements and parameters.
Open templateHow to choose
Choose a guide for your next task
Give your agent a setup plan
Each template tells your coding agent which events and fields to add, what data to exclude, and how to check delivery and build a dashboard.
Prefer the narrowest match
Start with one API route or webhook. Check the events and queries before adding more.
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
Use the setup prompt, then check that your events arrive
Create a free API key and choose a guide for your application. Ask your agent to run the workflow and confirm that its events arrive in Telemetry.