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

13 lines
242 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
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