lib/sidekiq_prometheus/metrics.rb in sidekiq_prometheus-1.7.0 vs lib/sidekiq_prometheus/metrics.rb in sidekiq_prometheus-1.8.0
- old
+ new
@@ -70,9 +70,13 @@
labels: JOB_LABELS + [:error_class], },
{ name: :sidekiq_job_success,
type: :counter,
docstring: 'Count of successful Sidekiq jobs',
labels: JOB_LABELS, },
+ { name: :sidekiq_job_over_limit,
+ type: :counter,
+ docstring: 'Count of over limit Sidekiq jobs',
+ labels: JOB_LABELS, },
].freeze
SIDEKIQ_GC_METRIC = {
name: :sidekiq_job_allocated_objects,
type: :histogram,
docstring: 'Count of ruby objects allocated by a Sidekiq job',