discourse / prometheus_exporter

A framework for collecting and aggregating prometheus metrics
MIT License
537 stars 155 forks source link

Parse Sidekiq Delayed class names #130

Closed dmcaulay closed 4 years ago

dmcaulay commented 4 years ago

Adjusting the job name for Sidekiq Delayed classes gives users more insight into which Mailer, Model or Class methods are contributing to high counts or durations. For example, UserMailer.delay.welcome(user.id) would now have the job name of UserMailer#welcome instead of Sidekiq::Extensions::DelayedMailer.

SamSaffron commented 4 years ago

Looks good to me!