DescriptionUpdate ServiceWorker event handled status histogram
Currently ServiceWorker.UnhandledEventRatio is a bit noisy and not
very informative. This CL changes the UMA as following:
- Simplify per-worker event handled status. Probably we don't need to
record the handled ratio in percentage, but just record status in
some buckets (e.g. 'all events' or 'no events' are handled etc)
would be enough.
- Reset the metrics when the SW's stopped, so that the metrics won't be
skewed by the lifetime of versions.
- Exclude ServiceWorker stats for NTP like scope, as it tends to dominate
the stats and make the resutls largely skewed.
BUG=483354
TEST=(manually tested locally with chrome://histograms)
Committed: https://crrev.com/7a488959b8dc39bc610ce0dbd736a20de96786e3
Cr-Commit-Position: refs/heads/master@{#337576}
Patch Set 1 #
Total comments: 2
Patch Set 2 : per-event metrics, exclude NTP etc #
Total comments: 8
Patch Set 3 : #
Total comments: 4
Patch Set 4 : addressed comments #
Total comments: 4
Patch Set 5 : #
Messages
Total messages: 21 (7 generated)
|