Skip to content

Instantly share code, notes, and snippets.

@whereismyjetpack
Created June 2, 2020 18:58
Show Gist options
  • Save whereismyjetpack/5de3de1b20653c474bfefa2092808358 to your computer and use it in GitHub Desktop.
Save whereismyjetpack/5de3de1b20653c474bfefa2092808358 to your computer and use it in GitHub Desktop.
Sidekiq::Queue.all.each do |q|
OkComputer::Registry.register "sidekiq_#{q.name}", OkComputer::SidekiqLatencyCheck.new("#{q.name}")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment