Node.js Error Tracking Admin Page to List 3 Production Error Groups
说明与用途
一个轻量级的 Node.js 管理页面,用于列出未解决的生产错误组,支持查看详情和确认/解决,并显示 AI 调用成本和元数据,以便快速排查问题。
问题
Need a lightweight internal dashboard to list unresolved production error groups, drill down into details, and acknowledge/resolve them while keeping cost attribution and AI call metadata visible.
结果
The implementation provides a functional admin page that meets the core read workflows (list, search, inspect, resolve) with minimal UI, enabling faster production incident triage for a one-person product.
工作流
- Set INFRAI_API_KEY environment variable
- Run the TypeScript server with a runner such as tsx
- Server exposes two read routes: one for listing unresolved groups, another for inspecting a group
- The page renders returned JSON directly, avoiding assumptions about undocumented fields
- Users can search groups by message or environment
- Inspect a group to view stack trace, request metadata, latency, and call cost
- After verification, click resolve to acknowledge the error
证据
Build the small internal dashboard first: an unresolved production inbox, a group drill-down, and an acknowledge/resolve action are enough for a solo SaaS to start operating an AI agent reliably.
The smallest working Node.js implementation ... Set INFRAI_API_KEY, then run the file with a TypeScript runner such as tsx.
- 记录日期: 2026-10-12T22:41:27.517Z