DescriptionAdd metrics for certificate report uploads
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
Review-Url: https://codereview.chromium.org/2862453002
Cr-Commit-Position: refs/heads/master@{#469883}
Committed: https://chromium.googlesource.com/chromium/src/+/19c49d0f04233c3a406d8171eddbe6209362ade5
Patch Set 1 #Patch Set 2 : Browser tests #Patch Set 3 : histograms.xml #
Total comments: 15
Patch Set 4 : Rebase and address comments #Messages
Total messages: 32 (14 generated)
|