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

11 lines
209 B
Ruby
Raw Normal View History

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