lib/sidekiq/api.rb in sidekiq-6.5.3 vs lib/sidekiq/api.rb in sidekiq-6.5.4

- old
+ new

@@ -3,11 +3,14 @@ require "sidekiq" require "zlib" require "set" require "base64" -require "sidekiq/metrics/deploy" -require "sidekiq/metrics/query" + +if ENV["SIDEKIQ_METRICS_BETA"] + require "sidekiq/metrics/deploy" + require "sidekiq/metrics/query" +end module Sidekiq # Retrieve runtime statistics from Redis regarding # this Sidekiq cluster. #