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-11-08 00:09:59 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-08 00:09:59 +0300
commit364e69bafd235e5689fba44bb5eef37305cb6c6d (patch)
tree563bb6addd54e5ba4c93eaf1dee54eaab60f7a68 /app/services/event_create_service.rb
parent59f37a99433dbdc3093e06f0f57beff171bae5d4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/event_create_service.rb')
-rw-r--r--app/services/event_create_service.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/services/event_create_service.rb b/app/services/event_create_service.rb
index 019246dfc9f..193b1b6f150 100644
--- a/app/services/event_create_service.rb
+++ b/app/services/event_create_service.rb
@@ -213,7 +213,15 @@ class EventCreateService
namespace = project.namespace
if Feature.enabled?(:route_hll_to_snowplow, namespace)
- Gitlab::Tracking.event(self.class.to_s, 'action_active_users_project_repo', namespace: namespace, user: current_user, project: project)
+ Gitlab::Tracking.event(
+ self.class.to_s,
+ :push,
+ label: 'usage_activity_by_stage_monthly.create.action_monthly_active_users_project_repo',
+ namespace: namespace,
+ user: current_user,
+ project: project,
+ context: [Gitlab::Tracking::ServicePingContext.new(data_source: :redis_hll, event: 'action_active_users_project_repo').to_context]
+ )
end
Users::LastPushEventService.new(current_user)