diff options
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r-- | app/controllers/profiles_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 248d5755d92..c85c83688a4 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -2,6 +2,7 @@ class ProfilesController < Profiles::ApplicationController include ActionView::Helpers::SanitizeHelper + include Gitlab::Tracking before_action :user before_action :authorize_change_username!, only: :update_username @@ -10,6 +11,8 @@ class ProfilesController < Profiles::ApplicationController push_frontend_feature_flag(:webauthn) end + feature_category :users + def show end @@ -63,6 +66,8 @@ class ProfilesController < Profiles::ApplicationController @events = AuditEvent.where(entity_type: "User", entity_id: current_user.id) .order("created_at DESC") .page(params[:page]) + + Gitlab::Tracking.event(self.class.name, 'search_audit_event') end # rubocop: enable CodeReuse/ActiveRecord |