lib/sidekiq_prometheus/metrics.rb in sidekiq_prometheus-1.4.0 vs lib/sidekiq_prometheus/metrics.rb in sidekiq_prometheus-1.5.0
- old
+ new
@@ -62,10 +62,10 @@
docstring: 'Sidekiq job processing duration',
labels: JOB_LABELS, },
{ name: :sidekiq_job_failed,
type: :counter,
docstring: 'Count of failed Sidekiq jobs',
- labels: JOB_LABELS, },
+ labels: JOB_LABELS + [:error_class], },
{ name: :sidekiq_job_success,
type: :counter,
docstring: 'Count of successful Sidekiq jobs',
labels: JOB_LABELS, },
].freeze