debian-mirror-gitlab/lib/gitlab/metrics.rb
2018-12-13 13:39:08 +05:30

12 lines
242 B
Ruby

# frozen_string_literal: true
module Gitlab
module Metrics
include Gitlab::Metrics::InfluxDb
include Gitlab::Metrics::Prometheus
def self.enabled?
influx_metrics_enabled? || prometheus_metrics_enabled?
end
end
end