Skip to content

Add telemetry to when saved comment templates are used outside of 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 not on an MR page i_code_review_saved_replies_use_in_other counts.i_code_review_saved_replies_use_in_other
Use saved reply not on an MR page i_code_review_saved_replies_use_in_other redis_hll_counters.code_review.i_code_review_saved_replies_use_in_other_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 Issue 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