Class ExecutionStatisticsQuery
- Namespace
- Quartz
- Assembly
- Quartz.dll
The runs of a scheduler, counted by result and timed, in buckets of fire time; optionally narrowed as an ExecutionHistoryQuery narrows a page.
public sealed record ExecutionStatisticsQuery : IEquatable<ExecutionStatisticsQuery>
- Inheritance
-
ExecutionStatisticsQuery
- Implements
- Inherited Members
Remarks
Every filter but JobGroup is ExecutionHistoryQuery's and means what it means there, so a chart beside a history page counts the rows that page lists.
A bucket starts at a whole multiple of BucketSize counted from MinValue: an hour bucket starts on the hour and a day bucket at midnight, UTC.
Fields
MinimumBucketSize
The narrowest BucketSize: one minute.
public static readonly TimeSpan MinimumBucketSize
Field Value
Properties
BucketSize
How much fire time one bucket covers. Defaults to one hour; at least MinimumBucketSize.
public TimeSpan BucketSize { get; init; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Shorter than MinimumBucketSize.
FailedFinally
Counts only the runs that failed for the last time (true), or only the rest (false). null, the default, counts them all.
public bool? FailedFinally { get; init; }
Property Value
- bool?
Remarks
As FailedFinally.
FireInstanceId
Counts only the runs of this firing, matched exactly, or every firing's when null.
public string? FireInstanceId { get; init; }
Property Value
FiredBefore
Counts only the runs that fired before this instant, or up to now when null. Exclusive.
public DateTimeOffset? FiredBefore { get; init; }
Property Value
FiredFrom
Counts only the runs that fired at or after this instant, or from the start of the history when null.
public DateTimeOffset? FiredFrom { get; init; }
Property Value
Job
Counts only the runs of this job, matched exactly, or every job's when null.
public JobKey? Job { get; init; }
Property Value
JobContains
Counts only the runs whose job key matches this, or every job's when null.
public string? JobContains { get; init; }
Property Value
Remarks
Contains filter matches a key's group, its name, or the two joined as group.name,
case-insensitively — the same reading the dashboard's history search has always had. Results are
newest first, which is the one ordering a history page is read in.
JobGroup
Counts only the runs of the jobs in this group, matched exactly, or every group's when null.
public string? JobGroup { get; init; }
Property Value
Results
Counts only the runs whose EffectiveResult is one of these, or every result when null. An empty set counts nothing.
public IReadOnlyCollection<JobRunResult>? Results { get; init; }
Property Value
SchedulerInstanceId
The node whose runs to count, or null for every node's.
public string? SchedulerInstanceId { get; init; }
Property Value
SchedulerName
The scheduler whose runs to count. Required: a store keeps every scheduler's rows together.
public required string SchedulerName { get; init; }
Property Value
Trigger
Counts only the runs this trigger fired, matched exactly, or every trigger's when null.
public TriggerKey? Trigger { get; init; }
Property Value
TriggerContains
Counts only the runs whose trigger key matches this, or every trigger's when null.
public string? TriggerContains { get; init; }