Module: Gitlab::HealthChecks::BaseAbstractCheck

Included in:
GitalyCheck, SimpleAbstractCheck
Defined in:
lib/gitlab/health_checks/base_abstract_check.rb

Instance Method Summary collapse

Instance Method Details

#human_nameObject


10
11
12
# File 'lib/gitlab/health_checks/base_abstract_check.rb', line 10

def human_name
  name.sub(/_check$/, '').capitalize
end

#metricsObject


18
19
20
# File 'lib/gitlab/health_checks/base_abstract_check.rb', line 18

def metrics
  []
end

#nameObject


6
7
8
# File 'lib/gitlab/health_checks/base_abstract_check.rb', line 6

def name
  super.demodulize.underscore
end

#readinessObject

Raises:

  • (NotImplementedError)

14
15
16
# File 'lib/gitlab/health_checks/base_abstract_check.rb', line 14

def readiness
  raise NotImplementedError
end