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
27e28a6f
Commit
27e28a6f
authored
Jul 30, 2021
by
Luis Mejia
Committed by
Doug Stull
Jul 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update source_code category metrics to include instrumentation_class
parent
e6234a15
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
61 additions
and
2 deletions
+61
-2
config/metrics/counts_28d/20210216175113_merge_request_action_monthly.yml
...ounts_28d/20210216175113_merge_request_action_monthly.yml
+4
-0
config/metrics/counts_28d/20210216175117_i_source_code_code_intelligence_monthly.yml
...0210216175117_i_source_code_code_intelligence_monthly.yml
+4
-0
config/metrics/counts_28d/20210216182102_wiki_action_monthly.yml
...metrics/counts_28d/20210216182102_wiki_action_monthly.yml
+4
-0
config/metrics/counts_28d/20210216182106_design_action_monthly.yml
...trics/counts_28d/20210216182106_design_action_monthly.yml
+4
-0
config/metrics/counts_28d/20210216182109_project_action_monthly.yml
...rics/counts_28d/20210216182109_project_action_monthly.yml
+4
-0
config/metrics/counts_28d/20210216184047_git_write_action_monthly.yml
...cs/counts_28d/20210216184047_git_write_action_monthly.yml
+4
-0
config/metrics/counts_7d/20210216175111_merge_request_action_weekly.yml
.../counts_7d/20210216175111_merge_request_action_weekly.yml
+4
-0
config/metrics/counts_7d/20210216175114_i_source_code_code_intelligence_weekly.yml
...20210216175114_i_source_code_code_intelligence_weekly.yml
+4
-0
config/metrics/counts_7d/20210216182100_wiki_action_weekly.yml
...g/metrics/counts_7d/20210216182100_wiki_action_weekly.yml
+5
-1
config/metrics/counts_7d/20210216182104_design_action_weekly.yml
...metrics/counts_7d/20210216182104_design_action_weekly.yml
+5
-1
config/metrics/counts_7d/20210216182107_project_action_weekly.yml
...etrics/counts_7d/20210216182107_project_action_weekly.yml
+4
-0
config/metrics/counts_7d/20210216184045_git_write_action_weekly.yml
...rics/counts_7d/20210216184045_git_write_action_weekly.yml
+4
-0
spec/lib/gitlab/usage_data_metrics_spec.rb
spec/lib/gitlab/usage_data_metrics_spec.rb
+11
-0
No files found.
config/metrics/counts_28d/20210216175113_merge_request_action_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
merge_request_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216175117_i_source_code_code_intelligence_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
i_source_code_code_intelligence
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216182102_wiki_action_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
wiki_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216182106_design_action_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
design_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216182109_project_action_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
project_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216184047_git_write_action_monthly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
git_write_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210216175111_merge_request_action_weekly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
merge_request_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210216175114_i_source_code_code_intelligence_weekly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
i_source_code_code_intelligence
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210216182100_wiki_action_weekly.yml
View file @
27e28a6f
...
...
@@ -10,8 +10,12 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
wiki_action
distribution
:
-
e
e
-
c
e
-
ee
tier
:
-
free
...
...
config/metrics/counts_7d/20210216182104_design_action_weekly.yml
View file @
27e28a6f
...
...
@@ -10,8 +10,12 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
design_action
distribution
:
-
e
e
-
c
e
-
ee
tier
:
-
free
...
...
config/metrics/counts_7d/20210216182107_project_action_weekly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
project_action
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210216184045_git_write_action_weekly.yml
View file @
27e28a6f
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
git_write_action
distribution
:
-
ce
-
ee
...
...
spec/lib/gitlab/usage_data_metrics_spec.rb
View file @
27e28a6f
...
...
@@ -41,6 +41,17 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
end
it
'includes source_code monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:source_code
].
keys
).
to
contain_exactly
(
*
[
:wiki_action_monthly
,
:wiki_action_weekly
,
:design_action_monthly
,
:design_action_weekly
,
:project_action_monthly
,
:project_action_weekly
,
:git_write_action_monthly
,
:git_write_action_weekly
,
:merge_request_action_monthly
,
:merge_request_action_weekly
,
:i_source_code_code_intelligence_monthly
,
:i_source_code_code_intelligence_weekly
])
end
it
'includes counts keys'
do
expect
(
subject
[
:counts
]).
to
include
(
:issues
)
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