# 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/.
test_only:
bad_code:
type: counter
description: |
Number of times we encountered bad code.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
- ride-along-ping
can_we_time_it:
type: timespan
time_unit: nanosecond
description: |
Test metric for a timespan.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
cheesy_string_list:
type: string_list
description: |
Only the cheesiest of strings. In list form!
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1682960
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1682960#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
what_a_date:
type: datetime
time_unit: second
description: >
...To be writing FOG code.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1646165#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
what_id_it: # Using a different metrics yaml style for fun.
type: uuid
description: |
Just a UUID.
This is a test-only metric.
bugs: ["https://bugzilla.mozilla.org/show_bug.cgi?id=1673664"]
data_reviews: ["https://bugzilla.mozilla.org/show_bug.cgi?id=1673664#c1"]
data_sensitivity: ["technical"]
notification_emails: ["glean-team@mozilla.com"]
expires: never
send_in_pings: ["test-ping"]
do_you_remember:
type: memory_distribution
memory_unit: megabyte
description: |
They say it's the second thing to go.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1673648
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1673648#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
what_time_is_it:
type: timing_distribution
time_unit: microsecond
description: |
Adheres to at least two of the top ten fallacies programmers believe
about time.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1673663
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1673663#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_TIMING
mabels_kitchen_counters:
type: labeled_counter
description: |
Counts Mabels labeled by their kitchen counters.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
mabels_labeled_counters:
type: labeled_counter
description: |
Counts Mabels labeled by their kitchen counters.
Now with static labels.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
labels:
- next_to_the_fridge
- clean
- 1st_counter
mabels_bathroom_counters:
type: labeled_counter
description: |
Counts Mabels labeled by their bathroom counters.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1683171
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1683171#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
mabels_like_balloons:
type: labeled_boolean
description: |
Does the labeled Mabel like balloons?
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
mabels_like_labeled_balloons:
type: labeled_boolean
description: |
Does the labeled Mabel like balloons?
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
labels:
- water
- birthday_party
mabels_balloon_strings:
type: labeled_string
description: |
What do the labeled Mabel's liked balloons' strings say?
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
mabels_balloon_labels:
type: labeled_string
description: |
How does Mabel label her balloons?
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1672273
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
labels:
- celebratory
- celebratory_and_snarky
mabels_label_maker:
type: labeled_string
description: |
Mabel just got a label maker and wants to party like it's 1999.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1696388
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1696388
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
mabels_custom_label_lengths:
type: labeled_custom_distribution
range_min: 1
range_max: 2147483646
bucket_count: 10
histogram_type: linear
description: |
Mabel wants to track the length of their new label maker's labels.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_KEYED_LINEAR
what_do_you_remember:
type: labeled_memory_distribution
memory_unit: megabyte
description: |
What do they say is the second thing to go?
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_LABELED_MEMORY
where_has_the_time_gone:
type: labeled_timing_distribution
time_unit: microsecond
description: |
Time is different in different places.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1907945
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_LABELED_TIMING
button_jars:
type: labeled_quantity
unit: buttons
description: |
The number of buttons in each button jar.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1929979
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1929979
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_LABELED_QUANTITY
mirror_time:
type: timespan
time_unit: nanosecond
description: |
Mirrored metric for a timespan.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1685406
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1685406#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_TIMESPAN
mirror_time_nanos:
type: timespan
time_unit: nanosecond
description: |
Mirrored metric for a timespan.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1704106
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1704106#c1
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
expires: never
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_TIMESPAN_NANOS
mirrors_for_labeled_bools:
type: labeled_boolean
description: |
Mirrored metric.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1675277#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_LABELED_BOOL
meaning_of_life:
type: quantity
unit: unfathomable
description: |
Measures the one true answer to the Ultimate Question of Life,
the Universe, and Everything.
Approximately.
This is a test-only metric.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1704846
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1704846#c1
data_sensitivity:
- technical
expires: never
notification_emails:
- glean-team@mozilla.com
send_in_pings:
- test-ping
telemetry_mirror: TELEMETRY_TEST_MIRROR_FOR_QUANTITY
balloons:
type: object
description: A collection of balloons
bugs:
- https://bugzilla.mozilla.org/1839640
data_reviews:
- http://example.com/reviews
notification_emails:
- CHANGE-ME@example.com
expires: never
structure:
type: array
items:
type: object
properties:
colour:
type: string
diameter:
type: number
CamelCasedParameter:
type: number
main_only:
type: quantity
unit: test value
description: >
This is a test uint type with only the main store.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.main_only.
bugs:
- https://bugzil.la/1498164
data_reviews:
- https://bugzil.la/1498164
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_MAIN_ONLY
impression_id_only:
type: string
description: >
This is a test uint type with only the deletion-request store.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.impression_id_only.
bugs:
- https://bugzil.la/1602064
data_reviews:
- https://bugzil.la/1602064
notification_emails:
- telemetry-client-dev@mozilla.com
- najiang@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_IMPRESSION_ID_ONLY
expired:
type: counter
description: >
This mirrors to an expired testing scalar.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.expired.
bugs:
- https://bugzil.la/1276190
data_reviews:
- https://bugzil.la/1276190
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_EXPIRED
keyed_expired:
type: labeled_counter
description: >
This mirrors to an expired testing scalar.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.keyed_expired.
bugs:
- https://bugzil.la/1277806
data_reviews:
- https://bugzil.la/1277806
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_KEYED_EXPIRED
unexpired:
type: counter
description: >
This is an unexpired testing scalar; not meant to be touched.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.unexpired.
bugs:
- https://bugzil.la/1276190
data_reviews:
- https://bugzil.la/1276190
notification_emails:
- telemetry-client-dev@mozilla.com
expires: 375
telemetry_mirror: TELEMETRY_TEST_UNEXPIRED
release_optin:
type: counter
description: >
A testing scalar; not meant to be touched.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.release_optin.
bugs:
- https://bugzil.la/1276190
data_reviews:
- https://bugzil.la/1276190
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_RELEASE_OPTIN
release_optout:
type: counter
description: >
A testing scalar; not meant to be touched.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.release_optout.
bugs:
- https://bugzil.la/1276190
data_reviews:
- https://bugzil.la/1276190
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_RELEASE_OPTOUT
keyed_release_optin:
type: labeled_counter
description: >
A testing scalar; not meant to be touched.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.keyed_release_optin.
bugs:
- https://bugzil.la/1277806
data_reviews:
- https://bugzil.la/1277806
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_KEYED_RELEASE_OPTIN
keyed_release_optout:
type: labeled_counter
description: >
A testing scalar; not meant to be touched.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.keyed_release_optout.
bugs:
- https://bugzil.la/1277806
data_reviews:
- https://bugzil.la/1277806
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_KEYED_RELEASE_OPTOUT
default_products:
type: counter
description: >
A testing uint scalar; not meant to be touched
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.default_products.
bugs:
- https://bugzil.la/1452552
data_reviews:
- https://bugzil.la/1452552
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_DEFAULT_PRODUCTS
desktop_only:
type: counter
description: >
A testing uint scalar; not meant to be touched
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.desktop_only.
bugs:
- https://bugzil.la/1452552
data_reviews:
- https://bugzil.la/1452552
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_DESKTOP_ONLY
multiproduct:
type: counter
description: >
A testing uint scalar; not meant to be touched
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.multiproduct.
bugs:
- https://bugzil.la/1452552
data_reviews:
- https://bugzil.la/1452552
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_MULTIPRODUCT
mobile_only:
type: counter
description: >
A testing uint scalar; not meant to be touched
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.mobile_only.
bugs:
- https://bugzil.la/1452552
data_reviews:
- https://bugzil.la/1452552
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_MOBILE_ONLY
keyed_mobile_only:
type: labeled_counter
description: >
A keyed testing uint scalar; not meant to be touched
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.test.keyed_mobile_only.
bugs:
- https://bugzil.la/1452552
data_reviews:
- https://bugzil.la/1452552
notification_emails:
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_TEST_KEYED_MOBILE_ONLY