debian-mirror-gitlab/lib/gitlab/metrics.rb

11 lines
211 B
Ruby
Raw Normal View History

module Gitlab
module Metrics
2018-03-17 18:26:18 +05:30
include Gitlab::Metrics::InfluxDb
include Gitlab::Metrics::Prometheus
def self.enabled?
2017-09-10 17:25:29 +05:30
influx_metrics_enabled? || prometheus_metrics_enabled?
end
end
end