Feat: Add oldest queued + running jobs to task stats (#2638)

* feat: add oldest item in task stat

* feat: extend query

* feat: api wiring

* fix: where we compute this

* chore: gen sdk

* chore: changelog, version
This commit is contained in:
matt
2025-12-11 09:54:12 -05:00
committed by GitHub
parent 67b5be741d
commit 3a94d06bc6
38 changed files with 1064 additions and 370 deletions
+1
View File
@@ -1040,6 +1040,7 @@ type TaskStats map[string]TaskStat
// TaskStatusStat defines model for TaskStatusStat.
type TaskStatusStat struct {
Concurrency *[]ConcurrencyStat `json:"concurrency,omitempty"`
Oldest *time.Time `json:"oldest,omitempty"`
Queues *map[string]int64 `json:"queues,omitempty"`
Total *int64 `json:"total,omitempty"`
}