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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 18:09:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 18:09:19 +0300
commit20ddcb963c756f5c7df26046adb01a8e325a26cd (patch)
tree6bd96e9d61c206cfe4a912270edbe797d51dc6c9 /lib/gitlab/usage_data_counters
parentf62c9f693fbe0d9bfac43cbe24b86af3c35f6a17 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/usage_data_counters')
-rw-r--r--lib/gitlab/usage_data_counters/merge_request_activity_unique_counter.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/gitlab/usage_data_counters/merge_request_activity_unique_counter.rb b/lib/gitlab/usage_data_counters/merge_request_activity_unique_counter.rb
index 93137b762ec..c5f6d028250 100644
--- a/lib/gitlab/usage_data_counters/merge_request_activity_unique_counter.rb
+++ b/lib/gitlab/usage_data_counters/merge_request_activity_unique_counter.rb
@@ -85,11 +85,15 @@ module Gitlab
return unless Feature.enabled?(:route_hll_to_snowplow_phase2, project.namespace)
Gitlab::Tracking.event(
- 'merge_requests',
- MR_APPROVE_ACTION,
+ name,
+ :approve,
project: project,
namespace: project.namespace,
- user: user
+ user: user,
+ property: MR_APPROVE_ACTION,
+ label: 'redis_hll_counters.code_review.i_code_review_user_approve_mr_monthly',
+ context: [Gitlab::Tracking::ServicePingContext.new(data_source: :redis_hll,
+ event: MR_APPROVE_ACTION).to_context]
)
end