gitlab-org--gitlab-foss/lib/gitlab/metrics.rb
2018-10-22 07:00:50 +00:00

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