Class: Gitlab::Metrics::Exporter::SidekiqExporter

Inherits:
BaseExporter show all
Defined in:
lib/gitlab/metrics/exporter/sidekiq_exporter.rb

Constant Summary

Constants inherited from BaseExporter

BaseExporter::CERT_REGEX

Instance Attribute Summary

Attributes inherited from BaseExporter

#server

Attributes inherited from Daemon

#thread

Instance Method Summary collapse

Methods inherited from BaseExporter

#enabled?

Methods inherited from Daemon

#enabled?, initialize_instance, instance, #start, #stop, #thread?, #thread_name

Constructor Details

#initialize(settings, **options) ⇒ SidekiqExporter

Returns a new instance of SidekiqExporter.



7
8
9
10
11
12
# File 'lib/gitlab/metrics/exporter/sidekiq_exporter.rb', line 7

def initialize(settings, **options)
  super(settings,
    log_enabled: settings['log_enabled'],
    log_file: 'sidekiq_exporter.log',
    **options)
end