Class: Gitlab::Metrics::Exporter::WebExporter
- Inherits:
-
BaseExporter
- Object
- Daemon
- BaseExporter
- Gitlab::Metrics::Exporter::WebExporter
- Defined in:
- lib/gitlab/metrics/exporter/web_exporter.rb
Constant Summary
Constants inherited from BaseExporter
Instance Attribute Summary
Attributes inherited from BaseExporter
Attributes inherited from Daemon
Instance Method Summary collapse
-
#initialize(**options) ⇒ WebExporter
constructor
This exporter is always run on master process.
Methods inherited from BaseExporter
Methods inherited from Daemon
#enabled?, initialize_instance, instance, #start, #stop, #thread?, #thread_name
Constructor Details
#initialize(**options) ⇒ WebExporter
This exporter is always run on master process
8 9 10 |
# File 'lib/gitlab/metrics/exporter/web_exporter.rb', line 8 def initialize(**) super(Settings.monitoring.web_exporter, log_enabled: true, log_file: 'web_exporter.log', **) end |