Skip to content

Add telemetry to when saved comment templates are used in MRs

Thomas Randolph requested to merge tor/telemetry/saved-replies/used-in-mrs into master

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

  1. Create a saved comment template for your account (note this is a production link, you should do it in the GDK)
  2. Go to an MR where you can leave a comment
  3. 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.

Edited by Thomas Randolph

Merge request reports