Add telemetry to when saved comment templates are used in MRs
What does this MR do and why?
For #397070 (closed)
Adds a tracking event for when a user selects a saved comment template in the comment form.
Events & Metrics
User Action | Unique users? | Event Name | Metric Name |
---|---|---|---|
Use saved reply while on an MR page | i_code_review_saved_replies_use_in_mr |
counts.i_code_review_saved_replies_use_in_mr |
|
Use saved reply while on an MR page | i_code_review_saved_replies_use_in_mr |
redis_hll_counters.code_review.i_code_review_saved_replies_use_in_mr_monthly |
Screenshots or screen recordings
N/A; Telemetry
How to set up and validate locally
- Create a saved comment template for your account (note this is a production link, you should do it in the GDK)
- Go to an MR where you can leave a comment
- Select one of your saved comment templates from the toolbar menu item
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Randolph