Source code
Revision control
Copy as Markdown
Other Tools
# 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 will be gathered for the Suggest
# component. Changes to these metrics require data review.
#
# We can't record metrics from Rust directly. To work around that we:
# - Define the metrics in application-services
# - Define API calls in application-services that return the metrics
# alongside the normal results.
# - Record the metrics with Glean in the consumer code
---
suggest:
ingest_time:
type: labeled_timing_distribution
description: Time for ingestion (excluding download time), labelled by record type
time_unit: microsecond
labels:
- icon
- data
- amo-suggestions
- pocket-suggestions
- yelp-suggestions
- mdn-suggestions
- weather
- configuration
- amp-mobile-suggestions
- fakespot-suggestions
bugs:
data_reviews:
notification_emails:
- disco-team@mozilla.com
- bdk@mozilla.com
expires: "never"
data_sensitivity:
- technical
ingest_download_time:
type: labeled_timing_distribution
description: Download time for ingestion, labelled by record type
time_unit: microsecond
labels:
- icon
- data
- amo-suggestions
- pocket-suggestions
- yelp-suggestions
- mdn-suggestions
- weather
- configuration
- amp-mobile-suggestions
- fakespot-suggestions
bugs:
data_reviews:
notification_emails:
- disco-team@mozilla.com
- bdk@mozilla.com
expires: "never"
data_sensitivity:
- technical
query_time:
type: labeled_timing_distribution
description: Time executing queries, labelled by provider type
time_unit: microsecond
labels:
- amp
- ampmobile
- wikipedia
- amo
- pocket
- yelp
- mdn
- weather
- fakespot
bugs:
data_reviews:
notification_emails:
- disco-team@mozilla.com
- bdk@mozilla.com
expires: "never"
data_sensitivity:
- technical