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

Issue 1981853002: Send ts_mon metrics from android device data. (Closed)

Created:
4 years, 7 months ago by ghost stip (do not use)
Modified:
4 years, 7 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Send ts_mon metrics from android device data. BUG=608427 Committed: https://chromium.googlesource.com/infra/infra/+/a6f6037e0f6bc697b331bf1c0b54ec77ed634399

Patch Set 1 #

Patch Set 2 : Use proper iterator. #

Patch Set 3 : Correct typo. #

Total comments: 14

Patch Set 4 : Address comments. #

Total comments: 8

Patch Set 5 : Add tests. #

Patch Set 6 : Address more comments. #

Total comments: 1

Patch Set 7 : Address sergeyberezin's comments. #

Patch Set 8 : Address final comments, fix coverage. #

Messages

Total messages: 21 (7 generated)
ghost stip (do not use)
ptal this is not expected to work yet, I wanted to get a quick review ...
4 years, 7 months ago (2016-05-16 07:39:16 UTC) #3
ghost stip (do not use)
added maruel for the CPU temperature sensor question https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py File infra/services/sysmon/android_device_metrics.py (right): https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py#newcode87 infra/services/sysmon/android_device_metrics.py:87: (cpu_temp, ...
4 years, 7 months ago (2016-05-16 07:42:30 UTC) #5
Sergey Berezin
Most of the code looks good to me, except for the target field hack. https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py ...
4 years, 7 months ago (2016-05-16 19:01:43 UTC) #6
M-A Ruel
https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py File infra/services/sysmon/android_device_metrics.py (right): https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py#newcode51 infra/services/sysmon/android_device_metrics.py:51: # From https://goo.gl/WuJDSu. not a fan of using url ...
4 years, 7 months ago (2016-05-16 23:01:13 UTC) #7
ghost stip (do not use)
ptal https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py File infra/services/sysmon/android_device_metrics.py (right): https://codereview.chromium.org/1981853002/diff/40001/infra/services/sysmon/android_device_metrics.py#newcode51 infra/services/sysmon/android_device_metrics.py:51: # From https://goo.gl/WuJDSu. On 2016/05/16 23:01:13, M-A Ruel ...
4 years, 7 months ago (2016-05-17 22:32:13 UTC) #8
Sergey Berezin
Looks good, will wait for tests. In your test setUp(), use ts_mon.reset_for_unittest(disable=True) Check your metric ...
4 years, 7 months ago (2016-05-17 22:48:48 UTC) #9
bpastene
https://codereview.chromium.org/1981853002/diff/60001/infra/services/sysmon/android_device_metrics.py File infra/services/sysmon/android_device_metrics.py (right): https://codereview.chromium.org/1981853002/diff/60001/infra/services/sysmon/android_device_metrics.py#newcode40 infra/services/sysmon/android_device_metrics.py:40: metric_read_status = ts_mon.StringMetric( What are your plans for this ...
4 years, 7 months ago (2016-05-19 18:36:44 UTC) #10
ghost stip (do not use)
should be ready for review, ptal! https://codereview.chromium.org/1981853002/diff/60001/infra/services/sysmon/android_device_metrics.py File infra/services/sysmon/android_device_metrics.py (right): https://codereview.chromium.org/1981853002/diff/60001/infra/services/sysmon/android_device_metrics.py#newcode40 infra/services/sysmon/android_device_metrics.py:40: metric_read_status = ts_mon.StringMetric( ...
4 years, 7 months ago (2016-05-20 21:12:50 UTC) #11
ghost stip (do not use)
bpastene: whether the metrics fit with what https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_monitor.py send dsansome/sergeyberezin: sysmon review / OWNERS
4 years, 7 months ago (2016-05-20 21:15:26 UTC) #12
dsansome
lgtm
4 years, 7 months ago (2016-05-20 21:16:56 UTC) #14
Sergey Berezin
LGTM + a comment. Thanks! https://codereview.chromium.org/1981853002/diff/100001/infra/services/sysmon/test/android_device_metric_test.py File infra/services/sysmon/test/android_device_metric_test.py (right): https://codereview.chromium.org/1981853002/diff/100001/infra/services/sysmon/test/android_device_metric_test.py#newcode39 infra/services/sysmon/test/android_device_metric_test.py:39: if device_id is not ...
4 years, 7 months ago (2016-05-20 21:39:23 UTC) #15
bpastene
lgtm
4 years, 7 months ago (2016-05-20 21:50:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981853002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981853002/140001
4 years, 7 months ago (2016-05-20 22:44:36 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 22:48:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/infra/infra/+/a6f6037e0f6bc697b331bf1c0b54e...

Powered by Google App Engine
This is Rietveld 408576698