| 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 will be gathered for the Suggest |
| 6 |
# component. Changes to these metrics require data review. |
| 7 |
# |
| 8 |
# We can't record metrics from Rust directly. To work around that we: |
| 9 |
# - Define the metrics in application-services |
| 10 |
# - Define API calls in application-services that return the metrics |
| 11 |
# alongside the normal results. |
| 12 |
# - Record the metrics with Glean in the consumer code |
| 13 |
|
| 14 |
--- |
| 15 |
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 |
| 16 |
|
| 17 |
suggest: |
| 18 |
ingest_time: |
| 19 |
type: labeled_timing_distribution |
| 20 |
description: Time for ingestion (excluding download time), labelled by record type |
| 21 |
time_unit: microsecond |
| 22 |
labels: |
| 23 |
- icon |
| 24 |
- data |
| 25 |
- amo-suggestions |
| 26 |
- pocket-suggestions |
| 27 |
- yelp-suggestions |
| 28 |
- mdn-suggestions |
| 29 |
- weather |
| 30 |
- configuration |
| 31 |
- amp-mobile-suggestions |
| 32 |
- fakespot-suggestions |
| 33 |
bugs: |
| 34 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1908397 |
| 35 |
data_reviews: |
| 36 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1911664 |
| 37 |
notification_emails: |
| 38 |
- [email protected] |
| 39 |
- [email protected] |
| 40 |
expires: "never" |
| 41 |
data_sensitivity: |
| 42 |
- technical |
| 43 |
|
| 44 |
ingest_download_time: |
| 45 |
type: labeled_timing_distribution |
| 46 |
description: Download time for ingestion, labelled by record type |
| 47 |
time_unit: microsecond |
| 48 |
labels: |
| 49 |
- icon |
| 50 |
- data |
| 51 |
- amo-suggestions |
| 52 |
- pocket-suggestions |
| 53 |
- yelp-suggestions |
| 54 |
- mdn-suggestions |
| 55 |
- weather |
| 56 |
- configuration |
| 57 |
- amp-mobile-suggestions |
| 58 |
- fakespot-suggestions |
| 59 |
bugs: |
| 60 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1908397 |
| 61 |
data_reviews: |
| 62 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1911664 |
| 63 |
notification_emails: |
| 64 |
- [email protected] |
| 65 |
- [email protected] |
| 66 |
expires: "never" |
| 67 |
data_sensitivity: |
| 68 |
- technical |
| 69 |
|
| 70 |
query_time: |
| 71 |
type: labeled_timing_distribution |
| 72 |
description: Time executing queries, labelled by provider type |
| 73 |
time_unit: microsecond |
| 74 |
labels: |
| 75 |
- amp |
| 76 |
- ampmobile |
| 77 |
- wikipedia |
| 78 |
- amo |
| 79 |
- pocket |
| 80 |
- yelp |
| 81 |
- mdn |
| 82 |
- weather |
| 83 |
- fakespot |
| 84 |
bugs: |
| 85 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1908397 |
| 86 |
data_reviews: |
| 87 |
- https://bugzilla.mozilla.org/show_bug.cgi?id=1911664 |
| 88 |
notification_emails: |
| 89 |
- [email protected] |
| 90 |
- [email protected] |
| 91 |
expires: "never" |
| 92 |
data_sensitivity: |
| 93 |
- technical |