Remove metrics logs with some heuristics based on how old are the logs. For that: - first add a date to the metrics logs - implement heuristics for removing old logs
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8b523b876294fd17bb4abed0408486562c4dab27 commit 8b523b876294fd17bb4abed0408486562c4dab27 Author: gayane <gayane@chromium.org> Date: Fri Sep 30 21:43:59 2016 Add log date to the metrics log BUG=649440 Review-Url: https://codereview.chromium.org/2358223002 Cr-Commit-Position: refs/heads/master@{#422229} [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/metrics_log_manager.cc [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/metrics_log_manager_unittest.cc [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/metrics_pref_names.cc [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/metrics_pref_names.h [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/persisted_logs.cc [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/persisted_logs.h [modify] https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27/components/metrics/persisted_logs_unittest.cc
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f9d3312bfa100420916aeb3bb871c7d320bfc995 commit f9d3312bfa100420916aeb3bb871c7d320bfc995 Author: holte <holte@chromium.org> Date: Wed Jan 04 23:31:11 2017 Remove old-format PersistedLogs support BUG=649440 Review-Url: https://codereview.chromium.org/2610653003 Cr-Commit-Position: refs/heads/master@{#441507} [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/metrics_log_manager.cc [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/metrics_log_manager_unittest.cc [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/metrics_pref_names.cc [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/persisted_logs.cc [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/persisted_logs.h [modify] https://crrev.com/f9d3312bfa100420916aeb3bb871c7d320bfc995/components/metrics/persisted_logs_unittest.cc
This issue has been marked as started, but has no owner. Making available.
Comment 1 by asvitk...@chromium.org
, Sep 22 2016