Continuous Verification CMAU Instrumentation MVC
What do we want to start measuring?
Continuous Verification MAU
- Count of users performing an action that involves continuous verification which includes:
- For MVC - # of jobs that have action: verify or active users triggering action:verify pipelines
Proposal
Create 1 new counter for the number of unique users that run a pipeline/job that use the environment: action: verify
keyword
Tasks
-
Link to metric definition -
Create issue in GitLab Data Team project using Product Performance Indicator template
See Product Intelligence Guide for details
Implementation plan
We can use a Redis HLL counter to track this metric. To check if a build should be counted, we can run build.has_environment? && build.environment_action == 'verify'
. User IDs can be added to the counter from the BuildFinishedWorker. Implementation will be similar to !79272 (merged).
Edited by Alishan Ladhani