summaryrefslogtreecommitdiff
path: root/config/metrics/aggregates/code_review.yml
blob: 004f155864e7bb0dade7e09c2db60094056547db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# code_review_extension_category_monthly_active_users
# This is only metrics related to the VS Code Extension for now.
#
# code_review_category_monthly_active_users
# This is the user based metrics. These should only be user based metrics and only be related to the Code Review things inside of GitLab.
#
# code_review_group_monthly_active_users
# This is an aggregation of both of the above aggregations. It's intended to represent all users who interact with our group across all of our categories.
---
- name: code_review_group_monthly_active_users
  operator: OR
  source: redis
  time_frame: [7d, 28d]
  events:
    - 'i_code_review_user_single_file_diffs'
    - 'i_code_review_user_create_mr'
    - 'i_code_review_user_close_mr'
    - 'i_code_review_user_reopen_mr'
    - 'i_code_review_user_resolve_thread'
    - 'i_code_review_user_unresolve_thread'
    - 'i_code_review_edit_mr_title'
    - 'i_code_review_edit_mr_desc'
    - 'i_code_review_user_merge_mr'
    - 'i_code_review_user_create_mr_comment'
    - 'i_code_review_user_edit_mr_comment'
    - 'i_code_review_user_remove_mr_comment'
    - 'i_code_review_user_create_review_note'
    - 'i_code_review_user_publish_review'
    - 'i_code_review_user_create_multiline_mr_comment'
    - 'i_code_review_user_edit_multiline_mr_comment'
    - 'i_code_review_user_remove_multiline_mr_comment'
    - 'i_code_review_user_add_suggestion'
    - 'i_code_review_user_apply_suggestion'
    - 'i_code_review_user_assigned'
    - 'i_code_review_user_review_requested'
    - 'i_code_review_user_approve_mr'
    - 'i_code_review_user_unapprove_mr'
    - 'i_code_review_user_marked_as_draft'
    - 'i_code_review_user_unmarked_as_draft'
    - 'i_code_review_user_approval_rule_added'
    - 'i_code_review_user_approval_rule_deleted'
    - 'i_code_review_user_approval_rule_edited'
    - 'i_code_review_user_vs_code_api_request'
    - 'i_code_review_user_toggled_task_item_status'
    - 'i_code_review_user_create_mr_from_issue'
    - 'i_code_review_user_mr_discussion_locked'
    - 'i_code_review_user_mr_discussion_unlocked'
    - 'i_code_review_user_time_estimate_changed'
    - 'i_code_review_user_time_spent_changed'
    - 'i_code_review_user_assignees_changed'
    - 'i_code_review_user_reviewers_changed'
    - 'i_code_review_user_milestone_changed'
    - 'i_code_review_user_labels_changed'
    - 'i_code_review_click_diff_view_setting'
    - 'i_code_review_click_single_file_mode_setting'
    - 'i_code_review_click_file_browser_setting'
    - 'i_code_review_click_whitespace_setting'
    - 'i_code_review_diff_view_inline'
    - 'i_code_review_diff_view_parallel'
    - 'i_code_review_file_browser_tree_view'
    - 'i_code_review_file_browser_list_view'
    - 'i_code_review_diff_show_whitespace'
    - 'i_code_review_diff_hide_whitespace'
    - 'i_code_review_diff_single_file'
    - 'i_code_review_diff_multiple_files'
    - 'i_code_review_user_load_conflict_ui'
    - 'i_code_review_user_resolve_conflict'
    - 'i_code_review_user_searches_diff'
    - 'i_code_review_user_resolve_thread_in_issue'
    - 'i_code_review_widget_nothing_merge_click_new_file'
    - 'i_code_review_post_merge_delete_branch'
    - 'i_code_review_post_merge_click_revert'
    - 'i_code_review_post_merge_click_cherry_pick'
    - 'i_code_review_post_merge_submit_revert_modal'
    - 'i_code_review_post_merge_submit_cherry_pick_modal'
    - 'i_code_review_user_jetbrains_api_request'
    - 'i_code_review_user_gitlab_cli_api_request'
- name: code_review_category_monthly_active_users
  operator: OR
  source: redis
  time_frame: [7d, 28d]
  events:
    - 'i_code_review_user_single_file_diffs'
    - 'i_code_review_user_create_mr'
    - 'i_code_review_user_close_mr'
    - 'i_code_review_user_reopen_mr'
    - 'i_code_review_user_resolve_thread'
    - 'i_code_review_user_unresolve_thread'
    - 'i_code_review_edit_mr_title'
    - 'i_code_review_edit_mr_desc'
    - 'i_code_review_user_merge_mr'
    - 'i_code_review_user_create_mr_comment'
    - 'i_code_review_user_edit_mr_comment'
    - 'i_code_review_user_remove_mr_comment'
    - 'i_code_review_user_create_review_note'
    - 'i_code_review_user_publish_review'
    - 'i_code_review_user_create_multiline_mr_comment'
    - 'i_code_review_user_edit_multiline_mr_comment'
    - 'i_code_review_user_remove_multiline_mr_comment'
    - 'i_code_review_user_add_suggestion'
    - 'i_code_review_user_apply_suggestion'
    - 'i_code_review_user_assigned'
    - 'i_code_review_user_review_requested'
    - 'i_code_review_user_approve_mr'
    - 'i_code_review_user_unapprove_mr'
    - 'i_code_review_user_marked_as_draft'
    - 'i_code_review_user_unmarked_as_draft'
    - 'i_code_review_user_approval_rule_added'
    - 'i_code_review_user_approval_rule_deleted'
    - 'i_code_review_user_approval_rule_edited'
    - 'i_code_review_user_toggled_task_item_status'
    - 'i_code_review_user_create_mr_from_issue'
    - 'i_code_review_user_mr_discussion_locked'
    - 'i_code_review_user_mr_discussion_unlocked'
    - 'i_code_review_user_time_estimate_changed'
    - 'i_code_review_user_time_spent_changed'
    - 'i_code_review_user_assignees_changed'
    - 'i_code_review_user_reviewers_changed'
    - 'i_code_review_user_milestone_changed'
    - 'i_code_review_user_labels_changed'
    - 'i_code_review_click_diff_view_setting'
    - 'i_code_review_click_single_file_mode_setting'
    - 'i_code_review_click_file_browser_setting'
    - 'i_code_review_click_whitespace_setting'
    - 'i_code_review_diff_view_inline'
    - 'i_code_review_diff_view_parallel'
    - 'i_code_review_file_browser_tree_view'
    - 'i_code_review_file_browser_list_view'
    - 'i_code_review_diff_show_whitespace'
    - 'i_code_review_diff_hide_whitespace'
    - 'i_code_review_diff_single_file'
    - 'i_code_review_diff_multiple_files'
    - 'i_code_review_user_load_conflict_ui'
    - 'i_code_review_user_resolve_conflict'
    - 'i_code_review_user_searches_diff'
    - 'i_code_review_user_resolve_thread_in_issue'
    - 'i_code_review_widget_nothing_merge_click_new_file'
    - 'i_code_review_post_merge_delete_branch'
    - 'i_code_review_post_merge_click_revert'
    - 'i_code_review_post_merge_click_cherry_pick'
    - 'i_code_review_post_merge_submit_revert_modal'
    - 'i_code_review_post_merge_submit_cherry_pick_modal'
- name: code_review_extension_category_monthly_active_users
  operator: OR
  source: redis
  time_frame: [7d, 28d]
  events:
    - 'i_code_review_user_vs_code_api_request'
    - 'i_code_review_user_jetbrains_api_request'
    - 'i_code_review_user_gitlab_cli_api_request'