Track how often people access CodeQuality reports on Saas
Problem
Customers can generate Code Quality reports in CI, but we don't know how often they actually look at them.
Proposal
Add a Snowplow tracking event that fires when people view a full CodeQuality report at /-/pipelines/:id/codequality_report
In addition to the event-type name, the data payload should include the user and build IDs. I propose recording the build_id
specifically (rather than pipeline ID) because the data will integrate well with the MR-widget view data that will use build_id
and pipeline_id
can be inferred from that anyway.
Success Criteria
Paid GMAU for CodeQuality reports, broken out by license tier, displays on the Testing Group Metrics Sisense dashboard.
Open Questions
Do we also want to record MR-widget view events? It's not hard to add and might be interesting.
Edited by drew stachon