Deep database observability — a free DBmarlin. Captures slow queries, locks, wait events, and table stats from PostgreSQL (MySQL/Oracle/SQL Server planned), and exposes them for AI agents, MCP servers, and SOC/support teams.
Status: v0.1.0 (Phase 0 — PostgreSQL MVP) · Apache 2.0
Prometheus exporters give you Level 1 metrics (connections, txn/s, replication lag) — the numbers, not the why. Commercial tools like DBmarlin ($45/db/mo) give Level 3: query text, execution plans, lock/blocking trees, wait events. No open-source tool covers this well.
Bonito connects read-only to your database, reads the system views the engine already exposes for free (pg_stat_statements, pg_stat_activity, pg_locks, pg_stat_user_tables), and emits deep observability data.
🐟 Bonito (deep DB observability) ──feeds──▶ 🚣 Remo (AI incident triage)
"query X has a seq scan on 10M rows" "here's the fix: CREATE INDEX..."
| Component | What | Status |
|---|---|---|
| bonito-collector | Read-only PostgreSQL collector | 🟡 In progress (BON-001) |
| bonito-store | Time-series storage | 🔴 BON-002 |
| bonito-api | FastAPI query layer | 🔴 BON-003 |
| bonito-mcp | MCP server for AI agents | 🔴 BON-004 |
uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install -e ".[dev]"- Connection is READ-ONLY (a DB user with only
SELECTon stat views) - Never build SQL from client input — only fixed queries over system views
- Never writes to the client database
Built by Carlos Cortez — AWS Community Hero. Part of the SOFE / Remo / Bonito observability ecosystem.