debian-mirror-gitlab/app/models/project_services/monitoring_service.rb
2018-03-27 19:54:05 +05:30

19 lines
396 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
def can_query?
raise NotImplementedError
end
def query(_, *_)
raise NotImplementedError
end
end