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+
6+ ---
7+ $schema : moz://mozilla.org/schemas/glean/metrics/2-0-0
8+
9+
10+ ads_client :
11+ build_cache_error :
12+ type : labeled_string
13+ description : >
14+ Errors encountered when building the HTTP cache, labeled by error type.
15+ The string value contains the error message or error type.
16+ labels :
17+ - builder_error
18+ - database_error
19+ - empty_db_path
20+ - invalid_max_size
21+ - invalid_ttl
22+ bugs :
23+ - https://github.com/mozilla/application-services/pull/7111
24+ data_reviews :
25+ - https://github.com/mozilla/application-services/pull/7111
26+ data_sensitivity :
27+ - technical
28+ notification_emails :
29+ 30+ 31+ 32+ expires : never
33+
34+ client_error :
35+ type : labeled_string
36+ description : >
37+ Errors encountered when using the ads client, labeled by operation type.
38+ The string value contains the error message or error type. Errors are
39+ recorded even if they are propagated to the consumer.
40+ labels :
41+ - record_click
42+ - record_impression
43+ - report_ad
44+ - request_ads
45+ bugs :
46+ - https://github.com/mozilla/application-services/pull/7111
47+ data_reviews :
48+ - https://github.com/mozilla/application-services/pull/7111
49+ data_sensitivity :
50+ - interaction
51+ notification_emails :
52+ 53+ 54+ 55+ expires : never
56+
57+ client_operation_total :
58+ type : labeled_counter
59+ description : >
60+ The total number of operations attempted by the ads client, labeled by
61+ operation type. Used as the denominator for client_operation_success_rate.
62+ labels :
63+ - new
64+ - record_click
65+ - record_impression
66+ - report_ad
67+ - request_ads
68+ bugs :
69+ - https://github.com/mozilla/application-services/pull/7111
70+ data_reviews :
71+ - https://github.com/mozilla/application-services/pull/7111
72+ data_sensitivity :
73+ - interaction
74+ notification_emails :
75+ 76+ 77+ 78+ expires : never
79+
80+ deserialization_error :
81+ type : labeled_string
82+ description : >
83+ Deserialization errors encountered when parsing AdResponse data,
84+ labeled by error type. The string value contains the error message or
85+ details. Invalid ad items are skipped but these errors are tracked for
86+ monitoring data quality issues.
87+ labels :
88+ - invalid_ad_item
89+ - invalid_array
90+ - invalid_structure
91+ bugs :
92+ - https://github.com/mozilla/application-services/pull/7111
93+ data_reviews :
94+ - https://github.com/mozilla/application-services/pull/7111
95+ data_sensitivity :
96+ - technical
97+ notification_emails :
98+ 99+ 100+ 101+ expires : never
102+
103+ http_cache_outcome :
104+ type : labeled_string
105+ description : >
106+ The total number of outcomes encountered during read operations on the
107+ http cache, labeled by type. The string value contains the error message or
108+ error type.
109+ labels :
110+ - cleanup_failed
111+ - hit
112+ - lookup_failed
113+ - miss_not_cacheable
114+ - miss_stored
115+ - no_cache
116+ - store_failed
117+ bugs :
118+ - https://github.com/mozilla/application-services/pull/7111
119+ data_reviews :
120+ - https://github.com/mozilla/application-services/pull/7111
121+ data_sensitivity :
122+ - technical
123+ notification_emails :
124+ 125+ 126+ 127+ expires : never
0 commit comments