Skip to content

CE-3044: Add resolution to job metrics

Domonkos Gulyas requested to merge CE-3044_Add-resolution-to-job-metrics into develop

Job metrics has been separated by their status. Eg.:

# HELP ce_job_count Count of jobs per status.
# TYPE ce_job_count gauge
ce_job_count{job_type="undeployments",status="successful",} 14.0
ce_job_count{job_type="start_command",status="successful",} 10.0
ce_job_count{job_type="stop_command",status="running",} 0.0
ce_job_count{job_type="stop_command",status="failed",} 2.0
ce_job_count{job_type="undeployments",status="queued",} 3.0
ce_job_count{job_type="start_command",status="running",} 0.0
ce_job_count{job_type="stop_command",status="successful",} 45.0
ce_job_count{job_type="deployments",status="queued",} 0.0
ce_job_count{job_type="start_command",status="failed",} 8.0
ce_job_count{job_type="deployments",status="successful",} 30.0
ce_job_count{job_type="stop_command",status="queued",} 1.0
ce_job_count{job_type="deployments",status="running",} 0.0
ce_job_count{job_type="start_command",status="queued",} 0.0
ce_job_count{job_type="undeployments",status="running",} 0.0
ce_job_count{job_type="deployments",status="failed",} 44.0
ce_job_count{job_type="undeployments",status="failed",} 5.0

Closes CE-3044

Merge request reports