4f824d2aec
- Tests for prometheus queries - fix rubocop warnings - Remove unused method. Add more queries to deployment queries. - Wrap BaseQuery in module hierarchy Renname Prometheus class to PrometheusClient
19 lines
436 B
Ruby
19 lines
436 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 environment_metrics(environment)
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def deployment_metrics(deployment)
|
|
raise NotImplementedError
|
|
end
|
|
end
|