Table of Contents

Class DashboardHistoryEntry

Namespace
Quartz.Dashboard.Services
Assembly
Quartz.Dashboard.dll
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

SchedulerName string

The scheduler the execution belongs to.

SchedulerInstanceId string

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.

JobGroup string

The group of the job that ran.

JobName string

The name of the job that ran.

TriggerGroup string

The group of the trigger that fired it.

TriggerName string

The name of the trigger that fired it.

FiredAtUtc DateTimeOffset

When the execution fired.

Duration TimeSpan

How long the job took.

Succeeded bool

Whether the job completed without throwing.

ExceptionMessage string

What 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

TimeSpan

ExceptionMessage

What it threw, or null when it succeeded.

public string? ExceptionMessage { get; init; }

Property Value

string

FiredAtUtc

When the execution fired.

public DateTimeOffset FiredAtUtc { get; init; }

Property Value

DateTimeOffset

JobGroup

The group of the job that ran.

public string JobGroup { get; init; }

Property Value

string

JobName

The name of the job that ran.

public string JobName { get; init; }

Property Value

string

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

string

SchedulerName

The scheduler the execution belongs to.

public string SchedulerName { get; init; }

Property Value

string

Succeeded

Whether the job completed without throwing.

public bool Succeeded { get; init; }

Property Value

bool

TriggerGroup

The group of the trigger that fired it.

public string TriggerGroup { get; init; }

Property Value

string

TriggerName

The name of the trigger that fired it.

public string TriggerName { get; init; }

Property Value

string