2016-01-14 18:37:52 +05:30
|
|
|
module Gitlab
|
|
|
|
module Metrics
|
2017-09-10 17:25:29 +05:30
|
|
|
extend Gitlab::Metrics::InfluxDb
|
|
|
|
extend Gitlab::Metrics::Prometheus
|
2016-01-14 18:37:52 +05:30
|
|
|
|
|
|
|
def self.enabled?
|
2017-09-10 17:25:29 +05:30
|
|
|
influx_metrics_enabled? || prometheus_metrics_enabled?
|
2016-01-14 18:37:52 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|