lib/sidekiq/prometheus/exporter/metrics.rb in sidekiq-prometheus-exporter-0.1.3 vs lib/sidekiq/prometheus/exporter/metrics.rb in sidekiq-prometheus-exporter-0.1.4
- old
+ new
@@ -8,9 +8,13 @@
def initialize
@overview_stats = Sidekiq::Stats.new
@queues_stats = queues_stats
end
+ def __binding__
+ binding
+ end
+
private
def queues_stats
Sidekiq::Queue.all.map do |queue|
QueueStats.new(queue.name, queue.size, queue.latency)