forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Telemetry to the Storage Access API
This change adds telemetry to the Storage Access API with the goal of tracking the utilization of the API and how the API is being used. This includes the following metrics: - UseCounter for document.hasStorageAccess and document.requestStorageAccess methods. - Histogram API.StorageAccess.AllowedRequests to track how often requests for storage access are allowed/blocked and specifically allowed due to the API. - Histogram API.StorageAccess.GrantIsImplicit to track how often requests generate an implicit vs explicit grant. - Histogram API.StorageAccess.RequestStorageAccess to track how the main method for the API is utilized and how frequently usage is successful or fails for various reasons. Various tests have been added where possible to validate the associated telemetry items have been fired. Bug: 989663 Change-Id: I44ecf8240ccfd50fee445e1782e9a578354ab68a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2211135 Commit-Queue: Brandon Maslen <brandm@microsoft.com> Reviewed-by: Balazs Engedy <engedy@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Reviewed-by: Brian White <bcwhite@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Maksim Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#774419}
- Loading branch information
Showing
17 changed files
with
369 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.