# This Source Code Form is subject to the terms of the Mozilla Public↩
# License, v. 2.0. If a copy of the MPL was not distributed with this↩
# file, You can obtain one at http://mozilla.org/MPL/2.0/.↩

# Adding a new metric? We have docs for that!↩
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html↩

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'Firefox :: Translation'

translations.panel:
  open:
    type: event
    description: >
      Triggers when the translations panel is opened.
    extra_keys:
      opened_from:
        type: string
        description: The method by which the translations panel was opened.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1835502
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1835502#c7
    data_sensitivity:
      - interaction
    notification_emails:
      - translations-telemetry-alerts@mozilla.com
    expires: 122