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/.
5 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
11 - "Application Services :: Relevancy"
17 Record an event of a successful user interest classification.
19 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
21 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
25 - disco-team@mozilla.com
31 The total number of input elements used for classification.
33 input_classified_size:
35 The total number of input elements classified with at least one conclusive interest.
37 input_inconclusive_size:
39 The total number of input elements classified with the inconclusive interest.
43 The total number of output interests for classification.
47 The total number of input elements for the interest with the most hits.
48 Defaults to 0. This, along with `input_size` and `input_classified_size`,
49 can be used to calculate the top-N classification percentages and top-N
54 The total number of input elements for the interest with the 2nd most hits.
55 Defaults to 0. This, along with `input_size` and `input_classified_size`,
56 can be used to calculate the top-N classification percentages and top-N
61 The total number of input elements for the interest with the 3rd most hits.
62 Defaults to 0. This, along with `input_size` and `input_classified_size`,
63 can be used to calculate the top-N classification percentages and top-N
69 Record an event of a failed / aborted user interest classification.
71 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
73 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
77 - disco-team@mozilla.com
83 The reason of the failed / aborted classification.
85 * `insufficient-input`
90 type: timing_distribution
91 time_unit: millisecond
93 Record the duration (in ms) of a successful classification.
95 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
97 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889404
101 - disco-team@mozilla.com
102 - najiang@mozilla.com