arc-metrics-dashboard
由 trypto1019 提供
DevOps & Cloud简介
Track and visualize your agent's operational metrics.
描述
该技能的功能
Records operational metrics for agents: API calls, task completions, errors, and timed durations. Generates text-based dashboards and exports data as JSON or CSV. Data is stored as daily JSON files in ~/.openclaw/metrics/ with no database required.
Stores metrics as flat JSON files with no database or infrastructure setup, making it usable immediately in any agent environment.
何时使用
- Tracking API call volume across providers over a week
- Monitoring error rates during overnight agent runs
- Measuring average task duration after a code change
- Identifying which skills an agent uses most frequently
- Exporting daily metrics to CSV for external analysis
示例工作流
User asks: What's my agent's error rate and average API call duration this week?
- 1
Run metrics.py view --name api_calls --period week to retrieve API call history
- 2
Run metrics.py view --name errors --period week to check recorded error events
- 3
Run metrics.py dashboard to generate a summary showing error rate and average durations
- 4
Run metrics.py export --format json to save full data for external review
Text dashboard showing weekly API call count, error rate, average task duration, and a JSON export file with complete metric history
安装
clawhub install trypto1019/arc-metrics-dashboard运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。