Class: Gitlab::Metrics::Exporter::SidekiqExporter
- Inherits:
-
BaseExporter
- Object
- Daemon
- BaseExporter
- Gitlab::Metrics::Exporter::SidekiqExporter
- Defined in:
- lib/gitlab/metrics/exporter/sidekiq_exporter.rb
Constant Summary
Constants inherited from BaseExporter
Instance Attribute Summary
Attributes inherited from BaseExporter
Attributes inherited from Daemon
Instance Method Summary collapse
-
#initialize(settings, **options) ⇒ SidekiqExporter
constructor
A new instance of SidekiqExporter.
Methods inherited from BaseExporter
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, **) super(settings, log_enabled: settings['log_enabled'], log_file: 'sidekiq_exporter.log', **) end |