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
f00f2638
Commit
f00f2638
authored
Aug 10, 2021
by
Luis Mejia
Committed by
Alper Akgun
Aug 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instrumentation_class to common event and epic_boards_usage metrics
parent
d59437fc
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
127 additions
and
4 deletions
+127
-4
config/metrics/counts_28d/20210216184259_p_terraform_state_api_unique_users_monthly.yml
...0216184259_p_terraform_state_api_unique_users_monthly.yml
+4
-0
config/metrics/counts_28d/20210216184303_o_pipeline_authoring_unique_users_committing_ciconfigfile_monthly.yml
...uthoring_unique_users_committing_ciconfigfile_monthly.yml
+4
-0
config/metrics/counts_28d/20210301144228_o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_monthly.yml
...uthoring_unique_users_pushing_mr_ciconfigfile_monthly.yml
+4
-0
config/metrics/counts_28d/20210409095855_users_expanding_secure_security_report_monthly.yml
...095855_users_expanding_secure_security_report_monthly.yml
+4
-0
config/metrics/counts_28d/20210427105033_pipeline_authoring_total_unique_counts_monthly.yml
...105033_pipeline_authoring_total_unique_counts_monthly.yml
+6
-1
config/metrics/counts_7d/20210216184301_o_pipeline_authoring_unique_users_committing_ciconfigfile_weekly.yml
...authoring_unique_users_committing_ciconfigfile_weekly.yml
+4
-0
config/metrics/counts_7d/20210301144209_o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_weekly.yml
...authoring_unique_users_pushing_mr_ciconfigfile_weekly.yml
+4
-0
config/metrics/counts_7d/20210409095855_users_expanding_secure_security_report_weekly.yml
...9095855_users_expanding_secure_security_report_weekly.yml
+4
-0
config/metrics/counts_7d/20210427105030_pipeline_authoring_total_unique_counts_weekly.yml
...7105030_pipeline_authoring_total_unique_counts_weekly.yml
+6
-1
ee/config/metrics/counts_28d/20210216184251_i_ci_secrets_management_vault_build_created_monthly.yml
...1_i_ci_secrets_management_vault_build_created_monthly.yml
+4
-0
ee/config/metrics/counts_28d/20210428072511_g_project_management_users_creating_epic_boards_monthly.yml
...project_management_users_creating_epic_boards_monthly.yml
+4
-0
ee/config/metrics/counts_28d/20210428073329_g_project_management_users_viewing_epic_boards_monthly.yml
..._project_management_users_viewing_epic_boards_monthly.yml
+4
-0
ee/config/metrics/counts_28d/20210428073607_g_project_management_users_updating_epic_board_names_monthly.yml
...ct_management_users_updating_epic_board_names_monthly.yml
+4
-0
ee/config/metrics/counts_28d/20210507171840_epic_boards_usage_total_unique_counts_monthly.yml
...7171840_epic_boards_usage_total_unique_counts_monthly.yml
+7
-1
ee/config/metrics/counts_7d/20210216184249_i_ci_secrets_management_vault_build_created_weekly.yml
...49_i_ci_secrets_management_vault_build_created_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210216184257_p_terraform_state_api_unique_users_weekly.yml
...10216184257_p_terraform_state_api_unique_users_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210428072508_g_project_management_users_creating_epic_boards_weekly.yml
..._project_management_users_creating_epic_boards_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210428073327_g_project_management_users_viewing_epic_boards_weekly.yml
...g_project_management_users_viewing_epic_boards_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210428073604_g_project_management_users_updating_epic_board_names_weekly.yml
...ect_management_users_updating_epic_board_names_weekly.yml
+4
-0
ee/config/metrics/counts_7d/20210507171838_epic_boards_usage_total_unique_counts_weekly.yml
...07171838_epic_boards_usage_total_unique_counts_weekly.yml
+7
-1
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
+19
-0
spec/lib/gitlab/usage_data_metrics_spec.rb
spec/lib/gitlab/usage_data_metrics_spec.rb
+18
-0
No files found.
config/metrics/counts_28d/20210216184259_p_terraform_state_api_unique_users_monthly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
p_terraform_state_api_unique_users
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210216184303_o_pipeline_authoring_unique_users_committing_ciconfigfile_monthly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_committing_ciconfigfile
distribution
:
-
ee
-
ce
...
...
config/metrics/counts_28d/20210301144228_o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_monthly.yml
View file @
f00f2638
...
...
@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54707
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210409095855_users_expanding_secure_security_report_monthly.yml
View file @
f00f2638
...
...
@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57133
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
users_expanding_secure_security_report
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_28d/20210427105033_pipeline_authoring_total_unique_counts_monthly.yml
View file @
f00f2638
...
...
@@ -12,7 +12,12 @@ status: data_available
milestone
:
"
13.12"
introduced_by_url
:
time_frame
:
28d
data_source
:
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_committing_ciconfigfile
-
o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210216184301_o_pipeline_authoring_unique_users_committing_ciconfigfile_weekly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_committing_ciconfigfile
distribution
:
-
ee
-
ce
...
...
config/metrics/counts_7d/20210301144209_o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_weekly.yml
View file @
f00f2638
...
...
@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54707
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210409095855_users_expanding_secure_security_report_weekly.yml
View file @
f00f2638
...
...
@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57133
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
users_expanding_secure_security_report
distribution
:
-
ce
-
ee
...
...
config/metrics/counts_7d/20210427105030_pipeline_authoring_total_unique_counts_weekly.yml
View file @
f00f2638
...
...
@@ -12,7 +12,12 @@ status: data_available
milestone
:
"
13.12"
introduced_by_url
:
time_frame
:
7d
data_source
:
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
o_pipeline_authoring_unique_users_committing_ciconfigfile
-
o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile
distribution
:
-
ce
-
ee
...
...
ee/config/metrics/counts_28d/20210216184251_i_ci_secrets_management_vault_build_created_monthly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
i_ci_secrets_management_vault_build_created
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_28d/20210428072511_g_project_management_users_creating_epic_boards_monthly.yml
View file @
f00f2638
...
...
@@ -15,6 +15,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_creating_epic_boards
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_28d/20210428073329_g_project_management_users_viewing_epic_boards_monthly.yml
View file @
f00f2638
...
...
@@ -15,6 +15,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_viewing_epic_boards
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_28d/20210428073607_g_project_management_users_updating_epic_board_names_monthly.yml
View file @
f00f2638
...
...
@@ -15,6 +15,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
28d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_updating_epic_board_names
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_28d/20210507171840_epic_boards_usage_total_unique_counts_monthly.yml
View file @
f00f2638
...
...
@@ -12,7 +12,13 @@ status: data_available
milestone
:
"
13.12"
introduced_by_url
:
time_frame
:
28d
data_source
:
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_creating_epic_boards
-
g_project_management_users_viewing_epic_boards
-
g_project_management_users_updating_epic_board_names
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_7d/20210216184249_i_ci_secrets_management_vault_build_created_weekly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
i_ci_secrets_management_vault_build_created
distribution
:
-
ee
tier
:
[]
...
...
ee/config/metrics/counts_7d/20210216184257_p_terraform_state_api_unique_users_weekly.yml
View file @
f00f2638
...
...
@@ -10,6 +10,10 @@ value_type: number
status
:
data_available
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
p_terraform_state_api_unique_users
distribution
:
-
ee
tier
:
[]
...
...
ee/config/metrics/counts_7d/20210428072508_g_project_management_users_creating_epic_boards_weekly.yml
View file @
f00f2638
...
...
@@ -15,6 +15,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_creating_epic_boards
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_7d/20210428073327_g_project_management_users_viewing_epic_boards_weekly.yml
View file @
f00f2638
...
...
@@ -14,6 +14,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_viewing_epic_boards
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_7d/20210428073604_g_project_management_users_updating_epic_board_names_weekly.yml
View file @
f00f2638
...
...
@@ -14,6 +14,10 @@ milestone: "13.12"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60357
time_frame
:
7d
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_updating_epic_board_names
distribution
:
-
ee
tier
:
...
...
ee/config/metrics/counts_7d/20210507171838_epic_boards_usage_total_unique_counts_weekly.yml
View file @
f00f2638
...
...
@@ -12,7 +12,13 @@ status: data_available
milestone
:
"
13.12"
introduced_by_url
:
time_frame
:
7d
data_source
:
data_source
:
redis_hll
instrumentation_class
:
RedisHLLMetric
options
:
events
:
-
g_project_management_users_creating_epic_boards
-
g_project_management_users_viewing_epic_boards
-
g_project_management_users_updating_epic_board_names
distribution
:
-
ee
tier
:
...
...
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
View file @
f00f2638
...
...
@@ -54,6 +54,25 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
end
it
'includes i_ci_secrets_management_vault_build_created monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:ci_secrets_management
].
keys
).
to
contain_exactly
(
*
[
:i_ci_secrets_management_vault_build_created_monthly
,
:i_ci_secrets_management_vault_build_created_weekly
])
end
it
'includes epic_boards_usage monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:epic_boards_usage
].
keys
).
to
contain_exactly
(
*
[
:g_project_management_users_creating_epic_boards_monthly
,
:g_project_management_users_creating_epic_boards_weekly
,
:g_project_management_users_viewing_epic_boards_monthly
,
:g_project_management_users_viewing_epic_boards_weekly
,
:g_project_management_users_updating_epic_board_names_monthly
,
:g_project_management_users_updating_epic_board_names_weekly
,
:epic_boards_usage_total_unique_counts_monthly
,
:epic_boards_usage_total_unique_counts_weekly
])
end
it
'includes terraform weekly key'
do
expect
(
subject
[
:redis_hll_counters
][
:terraform
].
keys
).
to
include
(
:p_terraform_state_api_unique_users_weekly
)
end
it
'includes issues_edit monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:issues_edit
].
keys
).
to
include
(
:g_project_management_issue_iteration_changed_monthly
,
:g_project_management_issue_iteration_changed_weekly
,
...
...
spec/lib/gitlab/usage_data_metrics_spec.rb
View file @
f00f2638
...
...
@@ -87,6 +87,24 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
end
it
'includes terraform monthly key'
do
expect
(
subject
[
:redis_hll_counters
][
:terraform
].
keys
).
to
include
(
:p_terraform_state_api_unique_users_monthly
)
end
it
'includes terraform monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:pipeline_authoring
].
keys
).
to
contain_exactly
(
*
[
:o_pipeline_authoring_unique_users_committing_ciconfigfile_monthly
,
:o_pipeline_authoring_unique_users_committing_ciconfigfile_weekly
,
:o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_monthly
,
:o_pipeline_authoring_unique_users_pushing_mr_ciconfigfile_weekly
,
:pipeline_authoring_total_unique_counts_monthly
,
:pipeline_authoring_total_unique_counts_weekly
])
end
it
'includes users_expanding_secure_security_report monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:secure
].
keys
).
to
contain_exactly
(
*
[
:users_expanding_secure_security_report_monthly
,
:users_expanding_secure_security_report_weekly
])
end
it
'includes issues_edit monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:issues_edit
].
keys
).
to
include
(
:g_project_management_issue_title_changed_monthly
,
:g_project_management_issue_title_changed_weekly
,
...
...
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