debian-mirror-gitlab/lib/gitlab/metrics.rb
2017-09-10 17:25:29 +05:30

10 lines
209 B
Ruby

module Gitlab
module Metrics
extend Gitlab::Metrics::InfluxDb
extend Gitlab::Metrics::Prometheus
def self.enabled?
influx_metrics_enabled? || prometheus_metrics_enabled?
end
end
end