Track page visits to the secrets manager
What does this MR do and why?
This adds tracking functionality for the secrets manager, in both project and group contexts. This MR tracks page visits; we will iterate on the other instrumentation we need in future MRs.
To be tracked:
-
Page visits -
GraphQL errors workflowin dev -
UI interactions (more to be added) workflowready for development
Page visits in the PROJECT context use the visit_project_secrets_manager action, while page visits in the GROUP context use visit_group_secrets_manager. Both categories can have the following labels based on which page is visited:
secrets_table_pagesecret_details_pagecreate_formedit_form
References
Partially implements #577449.
Docs for Internal Event Tracking on the frontend
Screenshots or screen recordings
Screen_Recording_2025-10-31_at_00.06.38
How to set up and validate locally
- Upload a Premium+ license.
- Enable the feature flags
secrets_managerandsecrets_manager_group. - Set up openbao on your gdk.
- Enable the Secrets Manager on gdk for a project.
- Go to Secure > Secrets manager and verify that page visits and UI interactions trigger the
track_eventrequest on the Network tab.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Mireya Andres