Commit baddf97e authored by Alper Akgun's avatar Alper Akgun

Merge branch '333117-migrate-code-review-events-redishll' into 'master'

Update code_review metrics definitions to include instrumentations_class

See merge request gitlab-org/gitlab!67717
parents 8d32b156 c584c5d3
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_diffs
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_single_file_diffs
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_single_file_diffs
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_close_mr
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_reopen_mr
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_merge_mr
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr_comment
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_edit_mr_comment
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_remove_mr_comment
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_add_suggestion
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_apply_suggestion
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_toggled_task_item_status
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approve_mr
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unapprove_mr
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_resolve_thread
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unresolve_thread
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_edit_mr_title
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_edit_mr_desc
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_review_note
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_publish_review
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_edit_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_remove_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_assigned
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_marked_as_draft
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unmarked_as_draft
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_review_requested
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_added
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_deleted
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_edited
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_vs_code_api_request
distribution:
- ce
- ee
......
......@@ -9,6 +9,14 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr_from_issue
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr
distribution:
- ce
- ee
......
......@@ -9,6 +9,65 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_diffs
- i_code_review_user_single_file_diffs
- i_code_review_mr_single_file_diffs
- i_code_review_user_toggled_task_item_status
- i_code_review_user_create_mr
- i_code_review_user_close_mr
- i_code_review_user_reopen_mr
- i_code_review_user_approve_mr
- i_code_review_user_unapprove_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_marked_as_draft
- i_code_review_user_unmarked_as_draft
- i_code_review_user_review_requested
- 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_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
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55046
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_time_estimate_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55046
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_time_spent_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55069
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_mr_discussion_locked
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55069
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_mr_discussion_unlocked
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55484
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_milestone_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55484
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_labels_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55486
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_assignees_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55486
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_reviewers_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_single_file_mode_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_file_browser_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_whitespace_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_view_inline
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_view_parallel
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_file_browser_tree_view
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_file_browser_list_view
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_show_whitespace
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_hide_whitespace
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_single_file
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_multiple_files
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ status: data_available
milestone: "13.12"
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_resolve_conflict
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61654
distribution:
- ce
......
......@@ -12,6 +12,10 @@ status: data_available
milestone: "13.12"
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_load_conflict_ui
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61654
distribution:
- ce
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_diff_view_setting
distribution:
- ce
tier:
......
......@@ -11,6 +11,10 @@ milestone: '14.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66522
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_searches_diff
data_category: Optional
distribution:
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_diffs
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_code_review_user_single_file_diffs
distribution:
- ce
- ee
......
......@@ -11,6 +11,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_single_file_diffs
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_code_review_user_create_mr
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_code_review_user_close_mr
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_code_review_user_reopen_mr
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_code_review_user_merge_mr
distribution:
- ce
- ee
......
......@@ -10,6 +10,14 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr_comment
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr
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_code_review_user_edit_mr_comment
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_code_review_user_remove_mr_comment
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_code_review_user_add_suggestion
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_code_review_user_apply_suggestion
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_toggled_task_item_status
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approve_mr
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unapprove_mr
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_resolve_thread
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unresolve_thread
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_edit_mr_title
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_edit_mr_desc
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_review_note
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_publish_review
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_edit_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_remove_multiline_mr_comment
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_assigned
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_marked_as_draft
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_unmarked_as_draft
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_review_requested
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_added
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_deleted
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_approval_rule_edited
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_vs_code_api_request
distribution:
- ce
- ee
......
......@@ -9,6 +9,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_create_mr_from_issue
distribution:
- ce
- ee
......
......@@ -9,6 +9,65 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_mr_diffs
- i_code_review_user_single_file_diffs
- i_code_review_mr_single_file_diffs
- i_code_review_user_toggled_task_item_status
- i_code_review_user_create_mr
- i_code_review_user_close_mr
- i_code_review_user_reopen_mr
- i_code_review_user_approve_mr
- i_code_review_user_unapprove_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_marked_as_draft
- i_code_review_user_unmarked_as_draft
- i_code_review_user_review_requested
- 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_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
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55046
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_time_estimate_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55046
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_time_spent_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55069
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_mr_discussion_unlocked
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55069
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_mr_discussion_locked
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55484
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_milestone_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55484
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_labels_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55486
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_assignees_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55486
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_reviewers_changed
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_single_file_mode_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_file_browser_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_whitespace_setting
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_view_inline
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_view_parallel
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_file_browser_tree_view
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_file_browser_list_view
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_show_whitespace
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_hide_whitespace
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_single_file
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_diff_multiple_files
distribution:
- ce
tier:
......
......@@ -12,6 +12,10 @@ status: data_available
milestone: "13.12"
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_load_conflict_ui
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61654
distribution:
- ce
......
......@@ -12,6 +12,10 @@ status: data_available
milestone: "13.12"
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_resolve_conflict
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61654
distribution:
- ce
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59979
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_click_diff_view_setting
distribution:
- ce
tier:
......
......@@ -11,6 +11,10 @@ milestone: '14.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66522
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_code_review_user_searches_diff
data_category: Optional
distribution:
- ce
......
......@@ -87,6 +87,20 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
end
it 'includes code_review monthly and weekly keys' do
category = 'code_review'
events = Gitlab::UsageDataCounters::HLLRedisCounter.known_events.select { |event| event['category'] == category}.map { |event| event['name'] }
known_events_keys = []
events.each do |event_name|
known_events_keys << "#{event_name}_monthly".to_sym
known_events_keys << "#{event_name}_weekly".to_sym
end
known_events_keys << "#{category}_total_unique_counts_monthly".to_sym
known_events_keys << "#{category}_total_unique_counts_weekly".to_sym
expect(subject[:redis_hll_counters][:code_review].keys).to contain_exactly(*known_events_keys)
end
it 'includes terraform monthly key' do
expect(subject[:redis_hll_counters][:terraform].keys).to include(:p_terraform_state_api_unique_users_monthly)
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