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.
Reland of Add metrics for certificate report uploads
One of the tests changed by this CL was flaky (CertificateReportingServiceBrowserTest. DontSendOldReports). This is now fixed, so relanding the CL. Original CL: https://codereview.chromium.org/2862453002 When sending certificate reports, we suspect that some content filters, firewalls and captive portals delay the response indefinitely without sending back any response. Certificate uploads rely on a response to be received in order to decide whether to retry uploading the report, so this breaks those assumptions. This CL adds a histogram to understand how often this happens. In particular, a difference between submitted reports and the sum of failed and successful reports will indicate that some reports simply get lost. The histogram also provides insight about how often queued reports are dropped, which will help us fine tune the queue size and report time-to-live. A question that came up while discussing this histogram was whether it would be useful since UMA uploads can also be blocked in a similar way. The answer seems to be yes, as UMA retries metrics uploads with a different frequency, and it persists metrics uploads whereas cert reports are not persisted. Bug: 682933 Change-Id: I09616eaf04854157ddeff8d20d39e18afc705967 Reviewed-on: https://chromium-review.googlesource.com/782642 Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Reviewed-by: Jialiu Lin <jialiul@chromium.org> Cr-Commit-Position: refs/heads/master@{#518789}
- Loading branch information
Showing
8 changed files
with
272 additions
and
3 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
Oops, something went wrong.