Commit 7df9680f authored by Luis Mejia's avatar Luis Mejia Committed by Mayra Cabrera

Update search category metrics to include instrumentation_class

parent 38c501ee
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
distribution:
- ce
- ee
......
......@@ -10,6 +10,12 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
- i_search_advanced
- i_search_paid
distribution:
- ce
- ee
......
......@@ -10,6 +10,12 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
- i_search_advanced
- i_search_paid
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
distribution:
- ee
- ce
......
......@@ -10,6 +10,12 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
- i_search_advanced
- i_search_paid
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_advanced
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_advanced
distribution:
- ee
tier:
......
......@@ -10,6 +10,12 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_total
- i_search_advanced
- i_search_paid
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_paid
distribution:
- ee
distribution:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_search_paid
distribution:
- ee
tier:
......
......@@ -32,6 +32,15 @@ RSpec.describe Gitlab::UsageDataMetrics do
:compliance_total_unique_counts_monthly, :compliance_total_unique_counts_weekly
])
end
it 'includes search monthly and weekly keys' do
expect(subject[:redis_hll_counters][:search].keys).to contain_exactly(*[
:i_search_total_monthly, :i_search_total_weekly,
:i_search_advanced_monthly, :i_search_advanced_weekly,
:i_search_paid_monthly, :i_search_paid_weekly,
:search_total_unique_counts_monthly, :search_total_unique_counts_weekly
])
end
end
end
end
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