Commit fac6ee75 authored by alinamihaila's avatar alinamihaila

Add ee metric definitions

parent ff86a2e8
name: geo_nodes
description: Total number of sites in a Geo deployment
value_type: integer
product_category: disaster_recovery
stage: enablement
status: data_available
default_generation: generation_1
full_path:
generation_1: counts.geo_nodes
milestone: 11.2
group: 'group::geo'
time_frame: all
data_source: database
distribution: [ee]
tier: ['premium', 'ultimate']
# frozen_string_literal: true
module EE
module Gitlab
module Usage
module MetricDefinition
extend ActiveSupport::Concern
class_methods do
extend ::Gitlab::Utils::Override
override :paths
def paths
@ee_paths ||= [Rails.root.join('ee', 'config', 'metrics', '**', '*.yml')] + super
end
end
end
end
end
end
......@@ -82,3 +82,5 @@ module Gitlab
end
end
end
Gitlab::Usage::MetricDefinition.prepend_if_ee('EE::Gitlab::Usage::MetricDefinition')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment