This gem captures failed jobs with the jobs_failed_total metric, but does not provide a way to add an error label for the error's 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 an error label for the error's class, which can be useful. This commit allows developers to optionally include a label with the error class on the jobs_failed_total metric.