export an open-todos gauge and chart it on the agent dashboard
This commit is contained in:
parent
c273527219
commit
08b8eb3f73
1 changed files with 162 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ mod swarm_term;
|
|||
mod term_msg;
|
||||
mod todo_server;
|
||||
mod todos;
|
||||
mod todos_gauge;
|
||||
mod turn;
|
||||
mod turn_stats;
|
||||
mod vacuum;
|
||||
|
|
@ -458,6 +459,8 @@ fn spawn_todo_socket(
|
|||
tokio::spawn(claude_md_watch::run(store.clone(), todo_wake.clone()));
|
||||
// Swarm-scheduled prompts fire as todos too, from the list the
|
||||
// swarm keeps for this agent.
|
||||
// Open-todo count for the OTEL gauge.
|
||||
tokio::spawn(todos_gauge::run(store.clone()));
|
||||
tokio::spawn(schedule_timer::run(store.clone(), todo_wake.clone()));
|
||||
// And so do the todos the swarm notification router queues for
|
||||
// this agent.
|
||||
|
|
|
|||
Loading…
Reference in a new issue