Template
Paste this into your coding agent
Replace YOUR_API_KEY, run the flow locally, then verify the generated events and dashboards.
api-error-monitor
API Error And Latency Monitor
text
Add Telemetry to API request handling.
Use /skill.md and this Telemetry API key: YOUR_API_KEY
Log each important API request with:
route_template, method, status_code, status, latency_ms, user_id, team_id, request_size_bytes, response_size_bytes, error_type, and feature.
Create charts for request volume, error rate, p50 latency, p95 latency, and top failing endpoints. Add alerts for 5xx spikes, slow p95 latency, and traffic drops.
Do not log request bodies, cookies, auth headers, secrets, or raw user content.Events to capture
api_request_startedapi_request_completedapi_request_failedapi_rate_limitedapi_timeout
More 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 templateLLM Cost Tracker
Measure model spend, token usage, latency, failure rate, and value signals by feature, user, and account.
Open template