Class: Gitlab::Metrics::Exporter::WebExporter

Inherits:
BaseExporter show all
Defined in:
lib/gitlab/metrics/exporter/web_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(**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(**options)
  super(Settings.monitoring.web_exporter, log_enabled: true, log_file: 'web_exporter.log', **options)
end