debian-mirror-gitlab/app/models/project_services/monitoring_service.rb
2021-06-08 01:23:25 +05:30

21 lines
431 B
Ruby

# frozen_string_literal: true
# Base class for monitoring services
#
# These services integrate with a deployment solution like Prometheus
# to provide additional features for environments.
class MonitoringService < Integration
default_value_for :category, 'monitoring'
def self.supported_events
%w()
end
def can_query?
raise NotImplementedError
end
def query(_, *_)
raise NotImplementedError
end
end