Prevent uploading expired histograms. |
|||||
Issue descriptionGet expired histograms from histograms.xml and do not upload them.
,
Aug 17 2017
We are thinking about filing a bug seven days before the expiry date and stopping uploading a histogram when the expiry date comes. Also, the bug will be updated on this date to notify the owners that Chrome will no longer record this histogram.
,
Aug 17 2017
I think seven days is probably too short of a notice. I would suggest 30 days and then pinging it again 14 days and 7 days before. Otherwise, 7 days could be easily missed if someone's just on vacation.
,
Aug 17 2017
I agree, we'll want a duration that's vacation-friendly. I think in another thread someone else suggested having histograms expire by milestone rather than by date. I thought that was actually a really great idea! Is that the current plan, or is the plan to use dates? FWIW, one big advantage of using milestones is that there wouldn't ever be a need to merge expiry changes to branches.
,
Aug 17 2017
Right now we're exploring whether we can get the data corresponding to a milestone (we're seeing it this date can be checked in by the script that bumps the milestone in Chrome repo). So then we can have the best of both worlds - dates that are easier to reason about for humans (i.e. it's easier to set expiry date 1 year later when introducing a metric than figuring out milestone offsets) but still have things only expire at new milestone transitions.
,
Aug 17 2017
Cool, that sounds like a nice implementation strategy!
,
Aug 18 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e469178b7b8a3504bdc1e5f7660dc3fffc56a340 commit e469178b7b8a3504bdc1e5f7660dc3fffc56a340 Author: Ira Burak <iburak@google.com> Date: Fri Aug 18 22:06:48 2017 Generate an array of expired histograms. Bug: 753485 Change-Id: Icb9c91993fc19c5e823e9c324d83c602dd849f30 Reviewed-on: https://chromium-review.googlesource.com/606615 Commit-Queue: Ira Burak <iburak@google.com> Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: Alexei Svitkine (very slow) <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#495709} [modify] https://crrev.com/e469178b7b8a3504bdc1e5f7660dc3fffc56a340/chrome/browser/BUILD.gn [add] https://crrev.com/e469178b7b8a3504bdc1e5f7660dc3fffc56a340/chrome/browser/metrics/BUILD.gn [add] https://crrev.com/e469178b7b8a3504bdc1e5f7660dc3fffc56a340/components/metrics/generate_expired_histograms_array.gni [add] https://crrev.com/e469178b7b8a3504bdc1e5f7660dc3fffc56a340/tools/metrics/histograms/generate_expired_histograms_array.py [add] https://crrev.com/e469178b7b8a3504bdc1e5f7660dc3fffc56a340/tools/metrics/histograms/generate_expired_histograms_array_unittest.py
,
Sep 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5685499bb10100030d43821f098ebd7437286588 commit 5685499bb10100030d43821f098ebd7437286588 Author: Ira Burak <iburak@google.com> Date: Tue Sep 12 20:04:19 2017 Fix compilation bug for Windows. Windows doesn't allow defining empty arrays, so for the case when there are no expired histograms, the dummy value is added. Bug: 753485 Change-Id: I69efcaa7ea63939d1e1b75497f6a1a252de010f2 Reviewed-on: https://chromium-review.googlesource.com/650468 Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Jesse Doherty <jwd@chromium.org> Commit-Queue: Ira Burak <iburak@google.com> Cr-Commit-Position: refs/heads/master@{#501371} [modify] https://crrev.com/5685499bb10100030d43821f098ebd7437286588/tools/metrics/histograms/generate_expired_histograms_array.py [modify] https://crrev.com/5685499bb10100030d43821f098ebd7437286588/tools/metrics/histograms/generate_expired_histograms_array_unittest.py
,
Sep 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/411c1a6e3ff0586a5f6c931480de270b35a3adf3 commit 411c1a6e3ff0586a5f6c931480de270b35a3adf3 Author: Ira Burak <iburak@google.com> Date: Wed Sep 13 13:43:28 2017 Add functionality to base::StatisticsRecorder to filter expired metrics. Bug: 753485 Change-Id: I157bdfbdfeb29ff00df39cc220f1cbf4f10475a0 Reviewed-on: https://chromium-review.googlesource.com/615664 Commit-Queue: Ira Burak <iburak@google.com> Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#501613} [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/base/BUILD.gn [add] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/base/metrics/record_histogram_checker.h [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/base/metrics/statistics_recorder.cc [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/base/metrics/statistics_recorder.h [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/base/metrics/statistics_recorder_unittest.cc [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/chrome/browser/chrome_browser_main.cc [modify] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/components/metrics/BUILD.gn [add] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/components/metrics/expired_histograms_checker.cc [add] https://crrev.com/411c1a6e3ff0586a5f6c931480de270b35a3adf3/components/metrics/expired_histograms_checker.h
,
Sep 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d63c2034e96e75a83227372afc5559cd50751630 commit d63c2034e96e75a83227372afc5559cd50751630 Author: Ira Burak <iburak@google.com> Date: Wed Sep 13 15:36:16 2017 Manually add MAJOR_BRANCH_DATE for M63. For the later versions, this file will be generated automatically. MAJOR_BRANCH_DATE file contains a date of the last major branch. This date will be used as a base date to compare expiry dates of histograms with. Bug: 753485 Change-Id: I2c336df168376c3ac909c877b5b938dad96a4347 Reviewed-on: https://chromium-review.googlesource.com/661068 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Commit-Queue: Ira Burak <iburak@google.com> Cr-Commit-Position: refs/heads/master@{#501640} [add] https://crrev.com/d63c2034e96e75a83227372afc5559cd50751630/chrome/MAJOR_BRANCH_DATE
,
Sep 19 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b06f55ba3ac4fac5322c9cda81271696b3eb765c commit b06f55ba3ac4fac5322c9cda81271696b3eb765c Author: Ira Burak <iburak@google.com> Date: Tue Sep 19 18:47:21 2017 Use the date of the last major branch as a base date for expiring histograms. Bug: 753485 Change-Id: Ieed576a7150cb2c39e728e623645ab2126eff9e3 Reviewed-on: https://chromium-review.googlesource.com/665391 Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Commit-Queue: Ira Burak <iburak@google.com> Cr-Commit-Position: refs/heads/master@{#502902} [modify] https://crrev.com/b06f55ba3ac4fac5322c9cda81271696b3eb765c/chrome/browser/metrics/BUILD.gn [modify] https://crrev.com/b06f55ba3ac4fac5322c9cda81271696b3eb765c/components/metrics/generate_expired_histograms_array.gni [modify] https://crrev.com/b06f55ba3ac4fac5322c9cda81271696b3eb765c/tools/metrics/histograms/generate_expired_histograms_array.py [modify] https://crrev.com/b06f55ba3ac4fac5322c9cda81271696b3eb765c/tools/metrics/histograms/generate_expired_histograms_array_unittest.py
,
Oct 26 2017
,
Oct 27 2017
The assigned owner "iburak@google.com" is not able to receive e-mails, please re-triage. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 27 2017
,
Feb 2 2018
The following revision refers to this bug: https://chrome-internal.googlesource.com/chrome/tools/release/scripts/+/1c594093b3119ebb3fa89f6b9320a592b59820ca commit 1c594093b3119ebb3fa89f6b9320a592b59820ca Author: Gayane Petrosyan <gayane@google.com> Date: Fri Feb 02 21:06:48 2018
,
Mar 20 2018
The following revision refers to this bug: https://chrome-internal.googlesource.com/chrome/tools/release/scripts/+/8a380589ce2059c11408bb241019050c46220088 commit 8a380589ce2059c11408bb241019050c46220088 Author: Gayane Petrosyan <gayane@google.com> Date: Tue Mar 20 15:09:26 2018
,
May 3 2018
,
May 3 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by isherman@chromium.org
, Aug 14 2017