Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb')
-rw-r--r--lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb b/lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb
index 99b4c082310..a0fd04596fc 100644
--- a/lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb
+++ b/lib/gitlab/usage_data_counters/work_item_activity_unique_counter.rb
@@ -6,6 +6,7 @@ module Gitlab
WORK_ITEM_CREATED = 'users_creating_work_items'
WORK_ITEM_TITLE_CHANGED = 'users_updating_work_item_title'
WORK_ITEM_DATE_CHANGED = 'users_updating_work_item_dates'
+ WORK_ITEM_LABELS_CHANGED = 'users_updating_work_item_labels'
class << self
def track_work_item_created_action(author:)
@@ -20,6 +21,10 @@ module Gitlab
track_unique_action(WORK_ITEM_DATE_CHANGED, author)
end
+ def track_work_item_labels_changed_action(author:)
+ track_unique_action(WORK_ITEM_LABELS_CHANGED, author)
+ end
+
private
def track_unique_action(action, author)