feat(platform): add online statistics summary
This commit is contained in:
@@ -265,6 +265,16 @@ type MileageSummary struct {
|
||||
AverageMileagePerVIN float64 `json:"averageMileagePerVin"`
|
||||
}
|
||||
|
||||
type OnlineStatisticsSummary struct {
|
||||
VehicleCount int `json:"vehicleCount"`
|
||||
OnlineVehicleCount int `json:"onlineVehicleCount"`
|
||||
OfflineVehicleCount int `json:"offlineVehicleCount"`
|
||||
OnlineRatePercent float64 `json:"onlineRatePercent"`
|
||||
RedisOnlineKeys *int `json:"redisOnlineKeys"`
|
||||
ProtocolStats []ProtocolStat `json:"protocolStats"`
|
||||
Evidence string `json:"evidence"`
|
||||
}
|
||||
|
||||
type QualityIssueRow struct {
|
||||
VIN string `json:"vin"`
|
||||
Plate string `json:"plate"`
|
||||
|
||||
Reference in New Issue
Block a user