# 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:
  - 'Thunderbird :: FileLink'

filelink:
  uploaded_size:
    type: labeled_counter
    description: >
      Accumulated file size (bytes) uploaded to FileLink services, keyed by
      FileLink provider type.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1615984
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1899602
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1903006
    data_sensitivity:
      - technical
    notification_emails:
      - telemetry-client-dev@thunderbird.net
    expires: never

  filelink_ignored:
    type: counter
    description: How many times suggestion to use FileLink were ignored.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1615984
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1899602
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1903006
    data_sensitivity:
      - technical
    notification_emails:
      - telemetry-client-dev@thunderbird.net
    expires: never
