This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 473
/
metrics.yaml
116 lines (107 loc) · 2.53 KB
/
metrics.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# 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/.
# 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.
---
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
browser.engagement:
click:
type: event
description: >
Just testing events
bugs:
- https://bugzilla.mozilla.org/123456789
data_reviews:
- N/A
notification_emails:
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:
- https://bugzilla.mozilla.org/123456789
data_reviews:
- N/A
notification_emails:
expires: 2100-01-01
basic:
os:
type: string
description: >
The name of the os
bugs:
- https://bugzilla.mozilla.org/123456789
data_reviews:
- N/A
notification_emails:
expires: 2100-01-01
test:
string_list:
type: string_list
description: >
Testing StringList ping
send_in_pings:
- test-string-list
lifetime: user
bugs:
- https://bugzilla.mozilla.org/123456789
data_reviews:
- N/A
notification_emails:
expires: 2100-01-01
counter:
type: counter
description: >
Testing counter
send_in_pings:
- test-string-list
lifetime: user
bugs:
- https://bugzilla.mozilla.org/123456789
data_reviews:
- N/A
notification_emails:
expires: 2100-01-01
timespan:
type: timespan
description: >
Testing a timespan
time_unit: microsecond
lifetime: application
bugs:
- https://bugzilla.mozilla.org/1508948
data_reviews:
- N/A
notification_emails:
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:
- https://bugzilla.mozilla.org/1547330
data_reviews:
- N/A
notification_emails:
expires: 2100-01-01