Class DaemonHostEntity
One machine running an AppHealthMonitor daemon.
public class DaemonHostEntity
- Inheritance
-
DaemonHostEntity
- Inherited Members
Remarks
The daemon writes this row and refreshes its heartbeat; nothing else does. A host that stops beating is the daemon going quiet, which is a different fault from an application going down — one needs somebody on that machine, the other does not.
Properties
Apps
The applications it supervises.
public ICollection<DaemonAppEntity> Apps { get; set; }
Property Value
DaemonVersion
The daemon build running there.
public string DaemonVersion { get; set; }
Property Value
HostName
The machine's name, as the daemon reports it. Unique.
public string HostName { get; set; }
Property Value
Remarks
The identity a command is addressed to. A daemon claims only commands naming its own host, so this string is also a scope boundary: get it wrong on two machines and they will both execute each other's work.
ID
Surrogate key.
public long ID { get; set; }
Property Value
LastHeartbeatUtc
Last time the daemon said it was alive, by the database clock.
public DateTime LastHeartbeatUtc { get; set; }
Property Value
Remarks
Stamped by the database as the heartbeat is applied, never by the daemon: its age is
judged on the panel against the same clock (DaemonService.FetchHostsAsync).
OSDescription
What the operating system calls itself.
public string OSDescription { get; set; }
Property Value
ProcessorCount
Logical processors, for judging load.
public int ProcessorCount { get; set; }
Property Value
StartedUtc
When the daemon process started.
public DateTime StartedUtc { get; set; }