Class DashboardHistoryEntry
public sealed record DashboardHistoryEntry : IEquatable<DashboardHistoryEntry>
- Inheritance
-
DashboardHistoryEntry
- Implements
- Inherited Members
Remarks
Duration is a TimeSpan, as every other duration the dashboard shows is; it used to be a count of whole milliseconds, which lost every execution shorter than one.
Constructors
DashboardHistoryEntry(string, string, string, string, string, string, DateTimeOffset, TimeSpan, bool, string?)
public DashboardHistoryEntry(string SchedulerName, string SchedulerInstanceId, string JobGroup, string JobName, string TriggerGroup, string TriggerName, DateTimeOffset FiredAtUtc, TimeSpan Duration, bool Succeeded, string? ExceptionMessage)
Parameters
SchedulerNamestringThe scheduler the execution belongs to.
SchedulerInstanceIdstringThe node that ran it. Every node of a cluster keeps its own history of its own executions, so without this a row cannot say which machine it came from — and a store shared across the cluster cannot say it either.
JobGroupstringThe group of the job that ran.
JobNamestringThe name of the job that ran.
TriggerGroupstringThe group of the trigger that fired it.
TriggerNamestringThe name of the trigger that fired it.
FiredAtUtcDateTimeOffsetWhen the execution fired.
DurationTimeSpanHow long the job took.
SucceededboolWhether the job completed without throwing.
ExceptionMessagestringWhat it threw, or null when it succeeded.
Remarks
Duration is a TimeSpan, as every other duration the dashboard shows is; it used to be a count of whole milliseconds, which lost every execution shorter than one.
Properties
Duration
How long the job took.
public TimeSpan Duration { get; init; }
Property Value
ExceptionMessage
What it threw, or null when it succeeded.
public string? ExceptionMessage { get; init; }
Property Value
FiredAtUtc
When the execution fired.
public DateTimeOffset FiredAtUtc { get; init; }
Property Value
JobGroup
The group of the job that ran.
public string JobGroup { get; init; }
Property Value
JobName
The name of the job that ran.
public string JobName { get; init; }
Property Value
SchedulerInstanceId
The node that ran it. Every node of a cluster keeps its own history of its own executions, so without this a row cannot say which machine it came from — and a store shared across the cluster cannot say it either.
public string SchedulerInstanceId { get; init; }
Property Value
SchedulerName
The scheduler the execution belongs to.
public string SchedulerName { get; init; }
Property Value
Succeeded
Whether the job completed without throwing.
public bool Succeeded { get; init; }
Property Value
TriggerGroup
The group of the trigger that fired it.
public string TriggerGroup { get; init; }
Property Value
TriggerName
The name of the trigger that fired it.
public string TriggerName { get; init; }