Commit cacb37e4 authored by Kerri Miller's avatar Kerri Miller

Merge branch '333117-migrate-issue-edit-events-redishll' into 'master'

Add instrumentation_class to issues-edit event metrics

See merge request gitlab-org/gitlab!67635
parents f55df3d8 a1ad64ba
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_title_changed
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:
- g_project_management_issue_description_changed
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:
- g_project_management_issue_assignee_changed
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:
- g_project_management_issue_made_confidential
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:
- g_project_management_issue_made_visible
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:
- g_project_management_issue_created
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:
- g_project_management_issue_closed
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:
- g_project_management_issue_reopened
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:
- g_project_management_issue_label_changed
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:
- g_project_management_issue_milestone_changed
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:
- g_project_management_issue_cross_referenced
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:
- g_project_management_issue_moved
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:
- g_project_management_issue_related
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:
- g_project_management_issue_unrelated
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:
- g_project_management_issue_marked_as_duplicate
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:
- g_project_management_issue_locked
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:
- g_project_management_issue_unlocked
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:
- g_project_management_issue_designs_added
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:
- g_project_management_issue_designs_modified
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:
- g_project_management_issue_designs_removed
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:
- g_project_management_issue_due_date_changed
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:
- g_project_management_issue_time_estimate_changed
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:
- g_project_management_issue_time_spent_changed
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:
- g_project_management_issue_comment_added
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:
- g_project_management_issue_comment_edited
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:
- g_project_management_issue_comment_removed
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:
- g_project_management_issue_cloned
distribution:
- ce
- ee
......
......@@ -10,6 +10,42 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_title_changed
- g_project_management_issue_description_changed
- g_project_management_issue_assignee_changed
- g_project_management_issue_made_confidential
- g_project_management_issue_made_visible
- g_project_management_issue_created
- g_project_management_issue_closed
- g_project_management_issue_reopened
- g_project_management_issue_label_changed
- g_project_management_issue_milestone_changed
- g_project_management_issue_iteration_changed
- g_project_management_issue_weight_changed
- g_project_management_issue_cross_referenced
- g_project_management_issue_moved
- g_project_management_issue_related
- g_project_management_issue_unrelated
- g_project_management_issue_marked_as_duplicate
- g_project_management_issue_locked
- g_project_management_issue_unlocked
- g_project_management_issue_added_to_epic
- g_project_management_issue_removed_from_epic
- g_project_management_issue_changed_epic
- g_project_management_issue_designs_added
- g_project_management_issue_designs_modified
- g_project_management_issue_designs_removed
- g_project_management_issue_due_date_changed
- g_project_management_issue_time_estimate_changed
- g_project_management_issue_time_spent_changed
- g_project_management_issue_comment_added
- g_project_management_issue_comment_edited
- g_project_management_issue_comment_removed
- g_project_management_issue_health_status_changed
- g_project_management_issue_cloned
distribution:
- ce
- ee
......
......@@ -11,6 +11,10 @@ milestone: "13.6"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/229918
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_title_changed
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_description_changed
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:
- g_project_management_issue_assignee_changed
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:
- g_project_management_issue_made_confidential
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:
- g_project_management_issue_made_visible
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:
- g_project_management_issue_created
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:
- g_project_management_issue_closed
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:
- g_project_management_issue_reopened
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:
- g_project_management_issue_label_changed
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:
- g_project_management_issue_milestone_changed
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:
- g_project_management_issue_cross_referenced
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:
- g_project_management_issue_moved
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:
- g_project_management_issue_related
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:
- g_project_management_issue_unrelated
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:
- g_project_management_issue_marked_as_duplicate
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:
- g_project_management_issue_locked
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:
- g_project_management_issue_unlocked
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:
- g_project_management_issue_designs_added
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:
- g_project_management_issue_designs_modified
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:
- g_project_management_issue_designs_removed
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:
- g_project_management_issue_due_date_changed
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:
- g_project_management_issue_time_estimate_changed
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:
- g_project_management_issue_time_spent_changed
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:
- g_project_management_issue_comment_added
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:
- g_project_management_issue_comment_edited
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:
- g_project_management_issue_comment_removed
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:
- g_project_management_issue_cloned
distribution:
- ce
- ee
......
......@@ -10,6 +10,42 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_title_changed
- g_project_management_issue_description_changed
- g_project_management_issue_assignee_changed
- g_project_management_issue_made_confidential
- g_project_management_issue_made_visible
- g_project_management_issue_created
- g_project_management_issue_closed
- g_project_management_issue_reopened
- g_project_management_issue_label_changed
- g_project_management_issue_milestone_changed
- g_project_management_issue_iteration_changed
- g_project_management_issue_weight_changed
- g_project_management_issue_cross_referenced
- g_project_management_issue_moved
- g_project_management_issue_related
- g_project_management_issue_unrelated
- g_project_management_issue_marked_as_duplicate
- g_project_management_issue_locked
- g_project_management_issue_unlocked
- g_project_management_issue_added_to_epic
- g_project_management_issue_removed_from_epic
- g_project_management_issue_changed_epic
- g_project_management_issue_designs_added
- g_project_management_issue_designs_modified
- g_project_management_issue_designs_removed
- g_project_management_issue_due_date_changed
- g_project_management_issue_time_estimate_changed
- g_project_management_issue_time_spent_changed
- g_project_management_issue_comment_added
- g_project_management_issue_comment_edited
- g_project_management_issue_comment_removed
- g_project_management_issue_health_status_changed
- g_project_management_issue_cloned
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:
- g_project_management_issue_iteration_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_weight_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_added_to_epic
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_removed_from_epic
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_changed_epic
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_health_status_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_iteration_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_weight_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_added_to_epic
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_changed_epic
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_health_status_changed
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_removed_from_epic
distribution:
- ee
tier: []
......
......@@ -54,6 +54,17 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
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,
:g_project_management_issue_weight_changed_monthly, :g_project_management_issue_weight_changed_weekly,
:g_project_management_issue_added_to_epic_monthly, :g_project_management_issue_added_to_epic_weekly,
:g_project_management_issue_removed_from_epic_monthly, :g_project_management_issue_removed_from_epic_weekly,
:g_project_management_issue_changed_epic_monthly, :g_project_management_issue_changed_epic_weekly,
:g_project_management_issue_health_status_changed_monthly, :g_project_management_issue_health_status_changed_weekly
)
end
it 'includes testing monthly and weekly keys' do
expect(subject[:redis_hll_counters][:testing]).to include(
:i_testing_metrics_report_widget_total_monthly, :i_testing_metrics_report_widget_total_weekly,
......
......@@ -87,6 +87,39 @@ RSpec.describe Gitlab::UsageDataMetrics do
])
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,
:g_project_management_issue_description_changed_monthly, :g_project_management_issue_description_changed_weekly,
:g_project_management_issue_assignee_changed_monthly, :g_project_management_issue_assignee_changed_weekly,
:g_project_management_issue_made_confidential_monthly, :g_project_management_issue_made_confidential_weekly,
:g_project_management_issue_made_visible_monthly, :g_project_management_issue_made_visible_weekly,
:g_project_management_issue_created_monthly, :g_project_management_issue_created_weekly,
:g_project_management_issue_closed_monthly, :g_project_management_issue_closed_weekly,
:g_project_management_issue_reopened_monthly, :g_project_management_issue_reopened_weekly,
:g_project_management_issue_label_changed_monthly, :g_project_management_issue_label_changed_weekly,
:g_project_management_issue_milestone_changed_monthly, :g_project_management_issue_milestone_changed_weekly,
:g_project_management_issue_cross_referenced_monthly, :g_project_management_issue_cross_referenced_weekly,
:g_project_management_issue_moved_monthly, :g_project_management_issue_moved_weekly,
:g_project_management_issue_related_monthly, :g_project_management_issue_related_weekly,
:g_project_management_issue_unrelated_monthly, :g_project_management_issue_unrelated_weekly,
:g_project_management_issue_marked_as_duplicate_monthly, :g_project_management_issue_marked_as_duplicate_weekly,
:g_project_management_issue_locked_monthly, :g_project_management_issue_locked_weekly,
:g_project_management_issue_unlocked_monthly, :g_project_management_issue_unlocked_weekly,
:g_project_management_issue_designs_added_monthly, :g_project_management_issue_designs_added_weekly,
:g_project_management_issue_designs_modified_monthly, :g_project_management_issue_designs_modified_weekly,
:g_project_management_issue_designs_removed_monthly, :g_project_management_issue_designs_removed_weekly,
:g_project_management_issue_due_date_changed_monthly, :g_project_management_issue_due_date_changed_weekly,
:g_project_management_issue_time_estimate_changed_monthly, :g_project_management_issue_time_estimate_changed_weekly,
:g_project_management_issue_time_spent_changed_monthly, :g_project_management_issue_time_spent_changed_weekly,
:g_project_management_issue_comment_added_monthly, :g_project_management_issue_comment_added_weekly,
:g_project_management_issue_comment_edited_monthly, :g_project_management_issue_comment_edited_weekly,
:g_project_management_issue_comment_removed_monthly, :g_project_management_issue_comment_removed_weekly,
:g_project_management_issue_cloned_monthly, :g_project_management_issue_cloned_weekly,
:issues_edit_total_unique_counts_monthly, :issues_edit_total_unique_counts_weekly
)
end
it 'includes counts keys' do
expect(subject[:counts]).to include(:issues)
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