summaryrefslogtreecommitdiff
path: root/app/models/project_services/monitoring_service.rb
blob: ee9cd78327a87c49a66102e8789887c563c24f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 environment_metrics(environment)
    raise NotImplementedError
  end

  def deployment_metrics(deployment)
    raise NotImplementedError
  end
end