Class QuartzInstrumentation.Instruments
- Namespace
- Quartz.Diagnostics
- Assembly
- Quartz.dll
The names of the instruments a scheduler publishes on MeterName.
public static class QuartzInstrumentation.Instruments
- Inheritance
-
QuartzInstrumentation.Instruments
- Inherited Members
Remarks
The metric counterpart of OperationName, and here for the same reason: a dashboard, an alert rule or a metrics view matches on these strings, so they are a contract and a rename of one is a breaking change for everybody watching. They were literals inside the meter, which left an integrator copying them out of the documentation and unable to hold a dashboard to them.
The meter builds its instruments from these constants, and a test asserts that every instrument it creates is named by one and every one of these names an instrument, so the two cannot drift. What each instrument measures, in what unit and under which tags, is in the OpenTelemetry integration page.
Fields
ClusterCheckinDuration
How long a cluster check-in took — a histogram, seconds.
public const string ClusterCheckinDuration = "quartz.cluster.checkin.duration"
Field Value
ClusterRecoveryTrigger
Fired triggers recovered from a failed cluster node — a counter, {trigger}.
public const string ClusterRecoveryTrigger = "quartz.cluster.recovery.trigger"
Field Value
JobExecutionActive
Jobs running right now — an up-down counter, {job}.
public const string JobExecutionActive = "quartz.job.execution.active"
Field Value
JobExecutionDuration
How long a job took — a histogram, seconds. Its count is the number of executions and its error.type subset the number of failures.
public const string JobExecutionDuration = "quartz.job.execution.duration"
Field Value
JobStoreOperationDuration
How long one round trip to the job store took — a histogram, seconds, tagged by operation.
public const string JobStoreOperationDuration = "quartz.jobstore.operation.duration"
Field Value
TriggerAcquired
Triggers acquired for firing — a counter, {trigger}.
public const string TriggerAcquired = "quartz.trigger.acquired"
Field Value
TriggerAcquisitionDuration
How long one round of the scheduling loop's acquisition took — a histogram, seconds.
public const string TriggerAcquisitionDuration = "quartz.trigger.acquisition.duration"
Field Value
TriggerMisfire
Trigger misfires the scheduler was notified of — a counter, {trigger}.
public const string TriggerMisfire = "quartz.trigger.misfire"
Field Value
TriggerRetry
Retries the scheduler scheduled after a job failed — a counter, {trigger}.
public const string TriggerRetry = "quartz.trigger.retry"