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

Issue 2358223002: Add log date to the metrics log (Closed)

Created:
4 years, 3 months ago by gayane -on leave until 09-2017
Modified:
4 years, 2 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add log date to the metrics log BUG=649440 Committed: https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27 Cr-Commit-Position: refs/heads/master@{#422229}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding log date in persisted logs #

Total comments: 21

Patch Set 3 : No explicit migration #

Total comments: 3

Patch Set 4 : fix unittests #

Total comments: 4

Patch Set 5 : init with certain timestamp #

Total comments: 2

Patch Set 6 : add deprectaed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -30 lines) Patch
M components/metrics/metrics_log_manager.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/metrics/metrics_log_manager_unittest.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M components/metrics/metrics_pref_names.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/metrics/metrics_pref_names.cc View 1 2 3 4 5 3 chunks +22 lines, -9 lines 0 comments Download
M components/metrics/persisted_logs.h View 1 2 3 4 5 chunks +22 lines, -4 lines 0 comments Download
M components/metrics/persisted_logs.cc View 1 2 3 4 7 chunks +75 lines, -11 lines 0 comments Download
M components/metrics/persisted_logs_unittest.cc View 1 2 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 41 (26 generated)
gayane -on leave until 09-2017
Please have a look.
4 years, 3 months ago (2016-09-22 19:23:34 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/2358223002/diff/40001/components/metrics/proto/system_profile.proto File components/metrics/proto/system_profile.proto (right): https://codereview.chromium.org/2358223002/diff/40001/components/metrics/proto/system_profile.proto#newcode865 components/metrics/proto/system_profile.proto:865: optional int64 log_date = 24; So I wasn't thinking ...
4 years, 3 months ago (2016-09-22 20:51:30 UTC) #14
gayane -on leave until 09-2017
On 2016/09/22 20:51:30, Alexei Svitkine (very slow) wrote: > https://codereview.chromium.org/2358223002/diff/40001/components/metrics/proto/system_profile.proto > File components/metrics/proto/system_profile.proto (right): > ...
4 years, 2 months ago (2016-09-26 20:20:10 UTC) #15
Alexei Svitkine (slow)
Your summary matches my mental model. :) It might be easiest to do the migration ...
4 years, 2 months ago (2016-09-26 20:45:10 UTC) #16
gayane -on leave until 09-2017
Please have a look
4 years, 2 months ago (2016-09-28 17:07:12 UTC) #17
Alexei Svitkine (slow)
https://codereview.chromium.org/2358223002/diff/60001/components/metrics/metrics_log_manager.cc File components/metrics/metrics_log_manager.cc (right): https://codereview.chromium.org/2358223002/diff/60001/components/metrics/metrics_log_manager.cc#newcode53 components/metrics/metrics_log_manager.cc:53: initial_log_queue_.MigrateFromOldFormat(prefs::kDeprecatedMetricsInitialLogs); I'm not sure we need an explicit migrate ...
4 years, 2 months ago (2016-09-28 18:50:30 UTC) #18
gayane -on leave until 09-2017
https://codereview.chromium.org/2358223002/diff/60001/components/metrics/metrics_pref_names.cc File components/metrics/metrics_pref_names.cc (right): https://codereview.chromium.org/2358223002/diff/60001/components/metrics/metrics_pref_names.cc#newcode41 components/metrics/metrics_pref_names.cc:41: // info, etc. On 2016/09/28 18:50:30, Alexei Svitkine (slow) ...
4 years, 2 months ago (2016-09-28 20:50:50 UTC) #19
Alexei Svitkine (slow)
https://codereview.chromium.org/2358223002/diff/60001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/2358223002/diff/60001/components/metrics/persisted_logs.cc#newcode70 components/metrics/persisted_logs.cc:70: timestamp = (base::Time::Now() - base::Time::UnixEpoch()).InSeconds(); On 2016/09/28 20:50:49, gayane ...
4 years, 2 months ago (2016-09-29 16:46:40 UTC) #20
gayane -on leave until 09-2017
Thanks Alexei for the help. Have one more look https://codereview.chromium.org/2358223002/diff/120001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/2358223002/diff/120001/components/metrics/persisted_logs.cc#newcode75 components/metrics/persisted_logs.cc:75: ...
4 years, 2 months ago (2016-09-30 17:01:57 UTC) #29
Alexei Svitkine (slow)
https://codereview.chromium.org/2358223002/diff/140001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/2358223002/diff/140001/components/metrics/persisted_logs.cc#newcode75 components/metrics/persisted_logs.cc:75: (base::Time::Now() - base::Time::UnixEpoch()).InSeconds()); I don't think we should do ...
4 years, 2 months ago (2016-09-30 19:08:28 UTC) #32
gayane -on leave until 09-2017
Thanks. Please have one more look https://codereview.chromium.org/2358223002/diff/140001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/2358223002/diff/140001/components/metrics/persisted_logs.cc#newcode75 components/metrics/persisted_logs.cc:75: (base::Time::Now() - base::Time::UnixEpoch()).InSeconds()); ...
4 years, 2 months ago (2016-09-30 20:25:41 UTC) #33
Alexei Svitkine (slow)
LGTM, thanks! https://codereview.chromium.org/2358223002/diff/160001/components/metrics/metrics_pref_names.cc File components/metrics/metrics_pref_names.cc (right): https://codereview.chromium.org/2358223002/diff/160001/components/metrics/metrics_pref_names.cc#newcode12 components/metrics/metrics_pref_names.cc:12: // info, etc. Nit: add "Deprecated by ...
4 years, 2 months ago (2016-09-30 20:30:32 UTC) #34
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/2358223002/180001
4 years, 2 months ago (2016-09-30 20:59:40 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 2 months ago (2016-09-30 21:44:19 UTC) #39
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 21:47:03 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8b523b876294fd17bb4abed0408486562c4dab27
Cr-Commit-Position: refs/heads/master@{#422229}

Powered by Google App Engine
This is Rietveld 408576698