Created
June 2, 2020 19:02
-
-
Save whereismyjetpack/f56ec29c592cd86a8e041fb2824b466c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class QueueLatencyCheck < OkComputer::Check | |
def check | |
@failures = nil | |
@message = Hash.new | |
queues = Sidekiq::Queue.all | |
binding.pry | |
queues.each do |q| | |
OkComputer::Registry.register "sidekiq_#{q.name}", OkComputer::SidekiqLatencyCheck.new("#{q.name}") | |
# latency(q.name) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment