Skip to content

Background jobs metrics

Metrics for the execution of background jobs.

ontrack_job_count_total

Total number of registered background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_disabled_total

Total number of disabled background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_duration

Duration of the runs of a job, on this replica - of every job, whether it runs once per period in the cluster or on every replica

Type: timer

ontrack_job_error_total

Total number of errored background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_invalid_total

Total number of invalid background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_paused_total

Total number of paused background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_replica_error

Number of the failed runs of a job running on every replica, on this replica. These jobs are not on the jobs page.

Type: count

Tags:

  • job_category - Category of the job
  • job_type - Type of the job
  • job_key - ID of the job
ontrack_job_running_total

Total number of running background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

ontrack_job_timeout_total

Total number of timed out background jobs. In the cluster, read from the database: every replica reports the same value - aggregate it with max, not sum.

Type: count

job_category

job_key

job_type