Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7df9680f
Commit
7df9680f
authored
Jul 30, 2021
by
Luis Mejia
Committed by
Mayra Cabrera
Jul 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update search category metrics to include instrumentation_class
parent
38c501ee
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
57 additions
and
0 deletions
+57
-0
config/metrics/counts_28d/20210216180424_i_search_total_monthly.yml
...rics/counts_28d/20210216180424_i_search_total_monthly.yml
+4
-0
config/metrics/counts_28d/20210216180431_search_total_unique_counts_monthly.yml
...28d/20210216180431_search_total_unique_counts_monthly.yml
+6
-0
config/metrics/counts_28d/20210216183922_search_unique_visits_for_any_target_monthly.yml
...216183922_search_unique_visits_for_any_target_monthly.yml
+6
-0
config/metrics/counts_7d/20210216180422_i_search_total_weekly.yml
...etrics/counts_7d/20210216180422_i_search_total_weekly.yml
+4
-0
config/metrics/counts_7d/20210216180429_search_total_unique_counts_weekly.yml
...s_7d/20210216180429_search_total_unique_counts_weekly.yml
+6
-0
ee/config/metrics/counts_28d/20210216180427_i_search_advanced_monthly.yml
...s/counts_28d/20210216180427_i_search_advanced_monthly.yml
+4
-0
ee/config/metrics/counts_7d/20210216180425_i_search_advanced_weekly.yml
...ics/counts_7d/20210216180425_i_search_advanced_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210216183920_search_unique_visits_for_any_target_weekly.yml
...0216183920_search_unique_visits_for_any_target_weekly.yml
+6
-0
ee/config/metrics/counts_7d/20210216184033_i_search_paid_weekly.yml
...metrics/counts_7d/20210216184033_i_search_paid_weekly.yml
+4
-0
ee/config/metrics/counts_all/20210216184035_i_search_paid_monthly.yml
...trics/counts_all/20210216184035_i_search_paid_monthly.yml
+4
-0
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
+9
-0
No files found.
config/metrics/counts_28d/20210216180424_i_search_total_monthly.yml
View file @
7df9680f
...
...
@@ -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
...
...
config/metrics/counts_28d/20210216180431_search_total_unique_counts_monthly.yml
View file @
7df9680f
...
...
@@ -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
...
...
config/metrics/counts_28d/20210216183922_search_unique_visits_for_any_target_monthly.yml
View file @
7df9680f
...
...
@@ -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
...
...
config/metrics/counts_7d/20210216180422_i_search_total_weekly.yml
View file @
7df9680f
...
...
@@ -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
...
...
config/metrics/counts_7d/20210216180429_search_total_unique_counts_weekly.yml
View file @
7df9680f
...
...
@@ -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
...
...
ee/config/metrics/counts_28d/20210216180427_i_search_advanced_monthly.yml
View file @
7df9680f
...
...
@@ -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
:
...
...
ee/config/metrics/counts_7d/20210216180425_i_search_advanced_weekly.yml
View file @
7df9680f
...
...
@@ -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
:
...
...
ee/config/metrics/counts_7d/20210216183920_search_unique_visits_for_any_target_weekly.yml
View file @
7df9680f
...
...
@@ -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
...
...
ee/config/metrics/counts_7d/20210216184033_i_search_paid_weekly.yml
View file @
7df9680f
...
...
@@ -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
:
...
...
ee/config/metrics/counts_all/20210216184035_i_search_paid_monthly.yml
View file @
7df9680f
...
...
@@ -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
:
...
...
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
View file @
7df9680f
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment