Commit 0b612ffc authored by Tim Huang's avatar Tim Huang
Browse files

Bug 1797079 - Part 1: Add reload event telemetry to the metrics.yaml. r=pbz

parent 7990272a
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -139,6 +139,32 @@ cookie.banners:
      - iframe_click_hit_opt_out
      - iframe_click_miss
    telemetry_mirror: COOKIE_BANNERS_RULE_LOOKUP_BY_DOMAIN
  reload:
    type: event
    description: >
      Recorded when the top-level page is reloaded. We use this event metric to
      know whether or not the reloading domain has cookie banner rule.
    bugs:
      - https://bugzilla.mozilla.org/1797079
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1797079#c6
    notification_emails:
      - pbz@mozilla.com
      - tihuang@mozilla.com
    expires: 115
    data_sensitivity:
      - interaction
    extra_keys:
      no_rule:
        description: There is no cookie banner rule for the reloading domain.
        type: boolean
      has_cookie_rule:
        description: There is a matching cookie rule for the reloading domain.
        type: boolean
      has_click_rule:
        description: There is a matching click rule for the reloading domain.
        type: boolean
    telemetry_mirror: Cookie_banner_Reload_Browser
cookie.banners.click:
  handle_duration:
    type: timing_distribution
+22 −0
Original line number Diff line number Diff line
@@ -3639,3 +3639,25 @@ search:
      new_name: The display name of the new default engine.
      new_load_path: The path relating to where the new default engine was installed/loaded from.
      new_sub_url: The new submission URL of the new default engine.

cookie_banner:
  reload:
    objects: ["browser"]
    description: >
      Recorded when the top-level page is reloaded. We use this event metric to
      know whether or not the reloading domain has cookie banner rule.
    record_in_processes: ["main"]
    products:
      - "firefox"
      - "fennec"
    release_channel_collection: opt-out
    notification_emails:
      - pbz@mozilla.com
      - tihuang@mozilla.com
    bug_numbers:
      - 1797079
    expiry_version: "115"
    extra_keys:
      no_rule: There is no cookie banner rule for the reloading domain.
      has_cookie_rule: There is a matching cookie rule for the reloading domain.
      has_click_rule: There is a matching click rule for the reloading domain.