Bottleneck Detection
Bottleneck Detection
The Bottlenecks tab identifies files, locks, and tasks that cause the most coordination overhead.
File Hotspots
Files are ranked by a combination of activity count and conflict rate:
- Activity Count: How many events reference the file (via
files_changed,file, orresourcefields) - Conflict Count: How many
conflict.detectedevents involve the file - Conflict Rate: Conflicts / Activity (percentage)
- Unique Agents: How many different agents touched the file
config.ts, consider splitting it into config/auth.ts and config/db.ts.
Lock Contention
Shows which resources get locked most often and for how long:
- Lock Count: Total times the resource was locked in the period
- Avg Hold Time: Average duration a lock is held before release
- Currently Locked: Whether the resource is locked right now
Blocker Durations
Lists task.blocked events sorted by how long they blocked work:
- Blocked Duration: Time from
task.blockedtotask.unblocked - Status: Whether the blocker has been resolved