Expose AI queue heartbeat metrics
This commit is contained in:
@@ -135,8 +135,12 @@ type BacklogStat struct {
|
||||
ModelProfile string `json:"model_profile"`
|
||||
Pending int64 `json:"pending"`
|
||||
Running int64 `json:"running"`
|
||||
StaleRunning int64 `json:"stale_running"`
|
||||
OldestPendingAgeSeconds int64 `json:"oldest_pending_age_seconds"`
|
||||
OldestPendingScheduledAt string `json:"oldest_pending_scheduled_at,omitempty"`
|
||||
OldestRunningAgeSeconds int64 `json:"oldest_running_age_seconds"`
|
||||
OldestRunningStartedAt string `json:"oldest_running_started_at,omitempty"`
|
||||
LastHeartbeatAt string `json:"last_heartbeat_at,omitempty"`
|
||||
}
|
||||
|
||||
type OwnerStat struct {
|
||||
|
||||
Reference in New Issue
Block a user