配置段/环境变量、Launcher、健康检查 API、OpenAPI 与前后端文案同步;兼容探测旧 SimpleLite 进程名。 Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
857 B
C#
22 lines
857 B
C#
namespace MiGu.Server.Fleet;
|
|
|
|
/// <summary>与 Simple3 GET /projection/fleet/health 行对齐,供车队运维前端消费。</summary>
|
|
public sealed class FleetHealthRowDto
|
|
{
|
|
public int CarId { get; set; }
|
|
public string? CarName { get; set; }
|
|
public string? Ip { get; set; }
|
|
public string? OnboardUrl { get; set; }
|
|
public int? LatencyMs { get; set; }
|
|
public bool? Reachable { get; set; }
|
|
public string? ProbedAt { get; set; }
|
|
public double? UptimeSecs { get; set; }
|
|
public double? AlarmActiveSecs { get; set; }
|
|
public double? FaultRatePercent { get; set; }
|
|
public bool? IsAlarmActive { get; set; }
|
|
public double? CpuPercent { get; set; }
|
|
public double? MemPercent { get; set; }
|
|
/// <summary>latency 探测通道:watchdog | onboard | none</summary>
|
|
public string? LatencySource { get; set; }
|
|
}
|