This gem captures failed jobs with the jobs_failed_total metric, but does not provide a way to add a label for the error class, which can be useful. This commit allows developers to optionally include a label with the error class on the jobs_failed_total metric.
This gem captures failed jobs with the jobs_failed_total metric, but does not provide a way to add a label for the error class, which can be useful. This commit allows developers to optionally include a label with the error class on the jobs_failed_total metric.