metrics.yaml (1924B)
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 # Adding a new metric? We have docs for that! 6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html 7 8 --- 9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 10 $tags: 11 - 'WebExtensions :: General' 12 13 # NOTE: this should be kept in sync with the metric as registered 14 # using Services.fog.registerRuntimeMetric from api.js. 15 data_leak_blocker: 16 report_v1: 17 type: event 18 description: > 19 Recorded on requests originated from add-on that are targeting 20 one of the domains listed in the related RemoteSettings data. 21 bugs: 22 - https://bugzilla.mozilla.org/show_bug.cgi?id=1985769 23 data_reviews: 24 - https://bugzilla.mozilla.org/show_bug.cgi?id=1985769 25 notification_emails: 26 - addons-dev-internal@mozilla.com 27 data_sensitivity: 28 - interaction 29 send_in_pings: 30 - data-leak-blocker 31 expires: 151 32 extra_keys: 33 addon_id: 34 type: string 35 description: the add-on id that has originated the request 36 blocked: 37 type: string 38 description: set to "true" if the request was blocked 39 method: 40 type: string 41 description: set to the request method (e.g. "GET", "POST", etc.) 42 content_policy_type: 43 type: string 44 description: numeric nsContentPolicyType enum value associated to the request. 45 is_addon_triggering: 46 type: string 47 description: set to "true" if the addon was the triggeringPrincipal 48 is_addon_loading: 49 type: string 50 description: set to "true" if the addon was the loadingPrincipal 51 is_content_script: 52 type: string 53 description: set to "true" if the request is originated from a content script