12 lines
242 B
Ruby
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
|