gitlab-org--gitlab-foss/app/models/project_services/monitoring_service.rb
2017-03-07 16:57:42 +00:00

16 lines
392 B
Ruby

# Base class for monitoring services
#
# These services integrate with a deployment solution like Prometheus
# to provide additional features for environments.
class MonitoringService < Service
default_value_for :category, 'monitoring'
def self.supported_events
%w()
end
# Environments have a number of metrics
def metrics(environment)
raise NotImplementedError
end
end