blob: 12ea57f59a3d8c9c4aa2a855cc78eb902134e19b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# frozen_string_literal: true
# Base class for monitoring services
#
# These services integrate with a deployment solution like Prometheus
# to provide additional features for environments.
module Integrations
class BaseMonitoring < Integration
attribute :category, default: 'monitoring'
def self.supported_events
%w[]
end
def can_query?
raise NotImplementedError
end
def query(_, *_)
raise NotImplementedError
end
end
end
|