Document metrics-dashboard.sh in toys.md
This commit is contained in:
parent
cd487a61bc
commit
cd24421141
15
docs/toys.md
15
docs/toys.md
|
|
@ -12,7 +12,20 @@ python3 scripts/inbox_refresh.py
|
|||
|
||||
Requires an open `/AnviLLM/inbox` window in Acme.
|
||||
|
||||
## msgtrace.py
|
||||
## metrics-dashboard.sh
|
||||
|
||||
Dashboard for `anvilmcp` execution metrics. Reads JSONL logs from `~/.local/state/anvilmcp/` and reports execution statistics, security events, and validation failures.
|
||||
|
||||
```sh
|
||||
bash scripts/metrics-dashboard.sh
|
||||
```
|
||||
|
||||
Reports:
|
||||
- Execution counts, success/failure rates, average duration
|
||||
- Executions by language
|
||||
- Security events (grouped by type, with recent details)
|
||||
- Recent errors and validation failures
|
||||
|
||||
|
||||
Real-time message sequence diagram generator. Listens to `anvillm/events` for `UserSend`/`BotSend` events and renders a PlantUML sequence diagram in a local web UI. Useful for visualizing inter-agent communication.
|
||||
|
||||
|
|
|
|||
Reference in New Issue