Class: Appsignal::Probes::SidekiqProbe::Sidekiq7Adapter Private
- Defined in:
- lib/appsignal/probes/sidekiq.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .hostname ⇒ Object private
- .redis_info ⇒ Object private
Class Method Details
.hostname ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 19 20 21 22 |
# File 'lib/appsignal/probes/sidekiq.rb', line 16 def self.hostname host = nil ::Sidekiq.redis do |c| host = c.config.host end host end |
.redis_info ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 13 14 |
# File 'lib/appsignal/probes/sidekiq.rb', line 10 def self.redis_info redis_info = nil ::Sidekiq.redis { |c| redis_info = c.info } redis_info end |