feat(platform): add source readiness operations view
This commit is contained in:
@@ -173,6 +173,34 @@ type MissingSourceStat struct {
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type SourceReadinessPlan struct {
|
||||
TotalVehicles int `json:"totalVehicles"`
|
||||
OnlineVehicles int `json:"onlineVehicles"`
|
||||
KafkaLag *int `json:"kafkaLag"`
|
||||
ActiveConnections *int `json:"activeConnections"`
|
||||
RedisOnlineKeys *int `json:"redisOnlineKeys"`
|
||||
PlatformRelease string `json:"platformRelease"`
|
||||
Sources []SourceReadinessRow `json:"sources"`
|
||||
}
|
||||
|
||||
type SourceReadinessRow struct {
|
||||
Protocol string `json:"protocol"`
|
||||
Role string `json:"role"`
|
||||
Online int `json:"online"`
|
||||
Total int `json:"total"`
|
||||
OnlineRate float64 `json:"onlineRate"`
|
||||
MissingVehicles int `json:"missingVehicles"`
|
||||
Severity string `json:"severity"`
|
||||
Status string `json:"status"`
|
||||
Evidence string `json:"evidence"`
|
||||
Action string `json:"action"`
|
||||
Acceptance string `json:"acceptance"`
|
||||
VehiclesHash string `json:"vehiclesHash"`
|
||||
RealtimeHash string `json:"realtimeHash"`
|
||||
HistoryHash string `json:"historyHash"`
|
||||
AlertHash string `json:"alertHash"`
|
||||
}
|
||||
|
||||
type ArchiveMissingFieldStat struct {
|
||||
Field string `json:"field"`
|
||||
Title string `json:"title"`
|
||||
|
||||
Reference in New Issue
Block a user