tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

metrics.yaml (2592B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # This file defines the metrics that are recorded by glean telemetry. They are
      6 # automatically converted to Kotlin code at build time using the `glean_parser`
      7 # PyPI package.
      8 ---
      9 
     10 $schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
     11 
     12 browser.engagement:
     13  click:
     14    type: event
     15    description: >
     16      Just testing events
     17    bugs:
     18      - https://bugzilla.mozilla.org/123456789
     19    data_reviews:
     20      - N/A
     21    notification_emails:
     22      - CHANGE-ME@example.com
     23    extra_keys:
     24      key1:
     25        type: string
     26        description: "This is key one"
     27      key2:
     28        type: string
     29        description: "This is key two"
     30    expires: 2100-01-01
     31 
     32  event_no_keys:
     33    type: event
     34    description: >
     35      Just testing events without keys
     36    bugs:
     37      - https://bugzilla.mozilla.org/123456789
     38    data_reviews:
     39      - N/A
     40    notification_emails:
     41      - CHANGE-ME@example.com
     42    expires: 2100-01-01
     43 
     44 basic:
     45  os:
     46    type: string
     47    description: >
     48      The name of the os
     49    bugs:
     50      - https://bugzilla.mozilla.org/123456789
     51    data_reviews:
     52      - N/A
     53    notification_emails:
     54      - CHANGE-ME@example.com
     55    expires: 2100-01-01
     56 
     57 test:
     58  string_list:
     59    type: string_list
     60    description: >
     61      Testing StringList ping
     62    send_in_pings:
     63      - test-string-list
     64    lifetime: user
     65    bugs:
     66      - https://bugzilla.mozilla.org/123456789
     67    data_reviews:
     68      - N/A
     69    notification_emails:
     70      - CHANGE-ME@example.com
     71    expires: 2100-01-01
     72 
     73  counter:
     74    type: counter
     75    description: >
     76      Testing counter
     77    send_in_pings:
     78      - test-string-list
     79    lifetime: user
     80    bugs:
     81      - https://bugzilla.mozilla.org/123456789
     82    data_reviews:
     83      - N/A
     84    notification_emails:
     85      - CHANGE-ME@example.com
     86    expires: 2100-01-01
     87 
     88  timespan:
     89    type: timespan
     90    description: >
     91      Testing a timespan
     92    time_unit: microsecond
     93    lifetime: application
     94    bugs:
     95      - https://bugzilla.mozilla.org/1508948
     96    data_reviews:
     97      - N/A
     98    notification_emails:
     99      - CHANGE-ME@example.com
    100    expires: 2100-01-01
    101 
    102 custom:
    103  counter:
    104    type: counter
    105    description: >
    106      A custom counter that goes on a custom ping
    107    lifetime: ping
    108    send_in_pings:
    109      - sample
    110    bugs:
    111      - https://bugzilla.mozilla.org/1547330
    112    data_reviews:
    113      - N/A
    114    notification_emails:
    115      - CHANGE-ME@test-only.com
    116    expires: 2100-01-01