Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 2883103002: Quantify instability according to the stability instrumentation (Closed)

Created:
3 years, 7 months ago by manzagop (departed)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Quantify instability according to the stability instrumentation Crash reporting based on the stability instrumentation does not provide an accurate idea of the magnitude of issues because of report throttling. This CL introduces user metrics to provide a more accurate idea of the magnitude. Note however that the metrics will be affected by version smear: the collecting Chrome's version may be different from the unclean one's. Details: - UncleanShutdownCount is an estimate of unclean shutdowns as derived from the stability instrumentation. Only successfully parsed stability files contribute to this count. - UncleanSystemCount is an estimate of unclean shutdowns attributable to system instability. The number may be underestimated because of analysis failure or overestimated because of the looseness in detection (Chrome might not be running when the system suffers instability). BUG=620813 Review-Url: https://codereview.chromium.org/2883103002 Cr-Commit-Position: refs/heads/master@{#473318} Committed: https://chromium.googlesource.com/chromium/src/+/2c8986a0628c40c2c78175723454e0bd5f4b7abc

Patch Set 1 #

Total comments: 8

Patch Set 2 : address Siggi's comments #

Total comments: 8

Patch Set 3 : Siggi round 2 #

Total comments: 2

Patch Set 4 : Siggi round 3 #

Total comments: 2

Patch Set 5 : final nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -34 lines) Patch
M components/browser_watcher/postmortem_report_collector.h View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.cc View 1 2 3 4 8 chunks +46 lines, -17 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 1 2 7 chunks +54 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
manzagop (departed)
Hi Siggi, Could you have a quick look at this? Thanks, Pierre
3 years, 7 months ago (2017-05-15 19:27:07 UTC) #3
Sigurður Ásgeirsson
nice! https://codereview.chromium.org/2883103002/diff/1/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2883103002/diff/1/components/browser_watcher/postmortem_report_collector.cc#newcode79 components/browser_watcher/postmortem_report_collector.cc:79: unclean_system_cnt_ = 0; looks like rather than a ...
3 years, 7 months ago (2017-05-15 20:18:04 UTC) #6
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2883103002/diff/1/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2883103002/diff/1/components/browser_watcher/postmortem_report_collector.cc#newcode79 components/browser_watcher/postmortem_report_collector.cc:79: unclean_system_cnt_ = 0; On 2017/05/15 20:18:04, ...
3 years, 7 months ago (2017-05-17 22:31:56 UTC) #9
Sigurður Ásgeirsson
nice - cool to see how easily the histogram collection is tested! https://codereview.chromium.org/2883103002/diff/20001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc ...
3 years, 7 months ago (2017-05-18 12:45:03 UTC) #14
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2883103002/diff/20001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2883103002/diff/20001/components/browser_watcher/postmortem_report_collector.cc#newcode109 components/browser_watcher/postmortem_report_collector.cc:109: if (status == SUCCESS) On 2017/05/18 ...
3 years, 7 months ago (2017-05-18 14:52:12 UTC) #17
Sigurður Ásgeirsson
https://codereview.chromium.org/2883103002/diff/40001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2883103002/diff/40001/components/browser_watcher/postmortem_report_collector.h#newcode95 components/browser_watcher/postmortem_report_collector.h:95: int* unclean_system_cnt); sorry - what I meant that instead ...
3 years, 7 months ago (2017-05-18 15:10:04 UTC) #18
manzagop (departed)
Thanks! PTAL. https://codereview.chromium.org/2883103002/diff/40001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2883103002/diff/40001/components/browser_watcher/postmortem_report_collector.h#newcode95 components/browser_watcher/postmortem_report_collector.h:95: int* unclean_system_cnt); On 2017/05/18 15:10:04, Sigurður Ásgeirsson ...
3 years, 7 months ago (2017-05-18 16:02:49 UTC) #20
Sigurður Ásgeirsson
lgtm with but a little nit. https://codereview.chromium.org/2883103002/diff/60001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2883103002/diff/60001/components/browser_watcher/postmortem_report_collector.cc#newcode114 components/browser_watcher/postmortem_report_collector.cc:114: if (system_unclean) nit: ...
3 years, 7 months ago (2017-05-18 16:38:18 UTC) #22
manzagop (departed)
Thanks for the review! https://codereview.chromium.org/2883103002/diff/60001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2883103002/diff/60001/components/browser_watcher/postmortem_report_collector.cc#newcode114 components/browser_watcher/postmortem_report_collector.cc:114: if (system_unclean) On 2017/05/18 16:38:18, ...
3 years, 7 months ago (2017-05-18 16:57:03 UTC) #24
manzagop (departed)
Hi Jesse! Could you have an OWNERS' look for tools\metrics\histograms\histograms.xml? Thanks, Pierre-Antoine
3 years, 7 months ago (2017-05-18 16:57:53 UTC) #27
jwd
lgtm
3 years, 7 months ago (2017-05-19 19:21:59 UTC) #30
manzagop (departed)
Thanks for the review!
3 years, 7 months ago (2017-05-19 19:49:48 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883103002/80001
3 years, 7 months ago (2017-05-19 19:50:50 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 21:15:31 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2c8986a0628c40c2c78175723454...

Powered by Google App Engine
This is Rietveld 408576698