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/email/handler/create_merge_request_handler.rb')
-rw-r--r--lib/gitlab/email/handler/create_merge_request_handler.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/email/handler/create_merge_request_handler.rb b/lib/gitlab/email/handler/create_merge_request_handler.rb
index b3b5063f2ca..e8071bcafd0 100644
--- a/lib/gitlab/email/handler/create_merge_request_handler.rb
+++ b/lib/gitlab/email/handler/create_merge_request_handler.rb
@@ -54,6 +54,10 @@ module Gitlab
super.merge(includes_patches: patch_attachments.any?)
end
+ def metrics_event
+ :receive_email_create_merge_request
+ end
+
private
def build_merge_request