Backed out 2 changesets (bug 1900622) for causing Bug 1908553 and ktlint failure...
[gecko.git] / dom / geolocation / metrics.yaml
blob9e06066076df209751eaed7f679a7efa5d04d110
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
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Core :: DOM: Geolocation'
13 geolocation:
14   accuracy:
15     type: custom_distribution
16     description: >
17       Accuracy returned by the Geolocation API
18     range_min: 1
19     range_max: 66355200
20     bucket_count: 50
21     histogram_type: exponential
22     unit: accuracy radius
23     bugs:
24       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
25     data_reviews:
26       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
27     notification_emails:
28       - krosylight@mozilla.com
29     expires: never
30   request_result:
31     type: labeled_counter
32     description: >
33       The result for each geolocation request. Success label will only happen
34       once for each request, even if it's a watch request.
35     labels:
36       - success
37       - permission_denied
38       - position_unavailable
39       - timeout
40     bugs:
41       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
42     data_reviews:
43       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
44     notification_emails:
45       - krosylight@mozilla.com
46     expires: never
47   fallback:
48     type: labeled_counter
49     description: >
50       Whether the default provider falled back to NetworkGeolocationProvider.
51     labels:
52       - none
53       - on_error
54       - on_timeout
55     bugs:
56       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
57     data_reviews:
58       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
59     notification_emails:
60       - krosylight@mozilla.com
61     expires: never
62   linux_provider:
63     type: labeled_boolean
64     description: >
65       Which system provider are we using on Linux
66     labels:
67       - none
68       - portal
69       - geoclue
70       - gpsd
71     bugs:
72       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
73     data_reviews:
74       - https://bugzilla.mozilla.org/show_bug.cgi?id=1905928
75     notification_emails:
76       - krosylight@mozilla.com
77     expires: never