mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-04 08:39:36 -05:00
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:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user