Revision control
Copy as Markdown
# 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
# This file defines the metrics that are recorded by glean telemetry. They are
# automatically converted to Kotlin code at build time using the `glean_parser`
# PyPI package.
---
browser.engagement:
click:
type: event
description: >
Just testing events
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
extra_keys:
key1:
type: string
description: "This is key one"
key2:
type: string
description: "This is key two"
expires: 2100-01-01
event_no_keys:
type: event
description: >
Just testing events without keys
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
expires: 2100-01-01
basic:
os:
type: string
description: >
The name of the os
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
expires: 2100-01-01
test:
string_list:
type: string_list
description: >
Testing StringList ping
send_in_pings:
- test-string-list
lifetime: user
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
expires: 2100-01-01
counter:
type: counter
description: >
Testing counter
send_in_pings:
- test-string-list
lifetime: user
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
expires: 2100-01-01
timespan:
type: timespan
description: >
Testing a timespan
time_unit: microsecond
lifetime: application
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@example.com
expires: 2100-01-01
custom:
counter:
type: counter
description: >
A custom counter that goes on a custom ping
lifetime: ping
send_in_pings:
- sample
bugs:
data_reviews:
- N/A
notification_emails:
- CHANGE-ME@test-only.com
expires: 2100-01-01