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

Issue 2106953006: adding os metrics (os name and version) being collected every hour (Closed)

Created:
4 years, 5 months ago by chrishall
Modified:
4 years, 4 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

adding os metrics (os name and version) being collected every hour BUG=623856 Committed: https://chromium.googlesource.com/infra/infra/+/a4169dbfef9b2e6f43dd6fa655e67ffe090219d0

Patch Set 1 #

Total comments: 17

Patch Set 2 : adding os metrics (os name and version) being collected every hour #

Total comments: 12

Patch Set 3 : adding os metrics (os name and version) being collected every hour #

Patch Set 4 : adding os metrics (os name and version) being collected every hour #

Total comments: 5

Patch Set 5 : adding comment explaining minute guarantee #

Total comments: 2

Patch Set 6 : fixing metric comments #

Patch Set 7 : adding test cases to cover missing lines added in this CR #

Patch Set 8 : updating system_metrics.clear_os_info to clear all added fields, fixing unit tests for clear #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -1 line) Patch
M infra/services/sysmon/__main__.py View 1 2 3 4 2 chunks +32 lines, -0 lines 0 comments Download
M infra/services/sysmon/system_metrics.py View 1 2 3 4 5 6 7 3 chunks +69 lines, -1 line 0 comments Download
M infra/services/sysmon/test/system_metrics_test.py View 1 2 3 4 5 6 7 1 chunk +188 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (19 generated)
chrishall
4 years, 5 months ago (2016-06-29 06:09:09 UTC) #2
Vadim Sh.
May I also ask to collect kernel architecture (platform.machine()) in python) and Python interpreter bitness ...
4 years, 5 months ago (2016-06-29 06:18:37 UTC) #3
dsansome
https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py#newcode27 infra/services/sysmon/__main__.py:27: # SysMon.task is called every minute Wrap these comments ...
4 years, 5 months ago (2016-06-29 06:21:30 UTC) #4
ddoman
https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py#newcode43 infra/services/sysmon/__main__.py:43: return self._call_count == 0 Doesn't self.opts.interval determine how often ...
4 years, 5 months ago (2016-06-29 07:57:55 UTC) #8
chrishall
On 2016/06/29 07:57:55, ddoman wrote: > https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py > File infra/services/sysmon/__main__.py (right): > > https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py#newcode43 > ...
4 years, 5 months ago (2016-06-30 03:25:01 UTC) #9
dsansome
https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py#newcode43 infra/services/sysmon/__main__.py:43: return self._call_count == 0 On 2016/06/29 07:57:54, ddoman wrote: ...
4 years, 5 months ago (2016-06-30 04:25:46 UTC) #10
chrishall
On 2016/06/29 06:18:37, Vadim Sh. wrote: > May I also ask to collect kernel architecture ...
4 years, 5 months ago (2016-06-30 04:50:17 UTC) #11
Vadim Sh.
On 2016/06/30 04:50:17, chrishall wrote: > On 2016/06/29 06:18:37, Vadim Sh. wrote: > > May ...
4 years, 5 months ago (2016-06-30 16:55:54 UTC) #12
chrishall
4 years, 5 months ago (2016-07-01 04:25:08 UTC) #14
chrishall
https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/__main__.py#newcode27 infra/services/sysmon/__main__.py:27: # SysMon.task is called every minute On 2016/06/29 06:21:29, ...
4 years, 5 months ago (2016-07-01 04:27:17 UTC) #15
chrishall
https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/system_metrics.py File infra/services/sysmon/system_metrics.py (right): https://codereview.chromium.org/2106953006/diff/1/infra/services/sysmon/system_metrics.py#newcode90 infra/services/sysmon/system_metrics.py:90: description='OS name on the machine ' On 2016/06/29 06:21:29, ...
4 years, 5 months ago (2016-07-01 04:27:59 UTC) #16
dsansome
lgtm https://codereview.chromium.org/2106953006/diff/20001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/20001/infra/services/sysmon/__main__.py#newcode32 infra/services/sysmon/__main__.py:32: # should be called at the end of ...
4 years, 5 months ago (2016-07-01 04:30:56 UTC) #17
chrishall
https://codereview.chromium.org/2106953006/diff/20001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/20001/infra/services/sysmon/__main__.py#newcode32 infra/services/sysmon/__main__.py:32: # should be called at the end of each ...
4 years, 5 months ago (2016-07-01 04:53:57 UTC) #18
chrishall
NB: currently unable to run tests on my local machine: ~/devel/I/infra$ ./test.py test infra/services/sysmon/test/system_metrics_test.py Running ...
4 years, 5 months ago (2016-07-01 04:55:28 UTC) #19
chrishallgoogle
`gclient sync` solved it (didn't seem to earlier, but today it worked). Had to rejig ...
4 years, 5 months ago (2016-07-06 04:37:01 UTC) #20
chrishallgoogle
vadimsh can you please review this patch. I need OWNERS approval.
4 years, 5 months ago (2016-07-06 04:39:23 UTC) #22
Vadim Sh.
https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py#newcode83 infra/services/sysmon/__main__.py:83: self.count_minute() I don't think task() is guaranteed to be ...
4 years, 5 months ago (2016-07-06 19:36:54 UTC) #24
chrishall
https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py#newcode83 infra/services/sysmon/__main__.py:83: self.count_minute() On 2016/07/06 19:36:54, Vadim Sh. wrote: > I ...
4 years, 5 months ago (2016-07-13 05:49:34 UTC) #25
Vadim Sh.
lgtm, since it's all nits anyway https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py#newcode50 infra/services/sysmon/__main__.py:50: help='time (in seconds) ...
4 years, 5 months ago (2016-07-13 15:12:46 UTC) #26
chrishall
On 2016/07/13 15:12:46, Vadim Sh. wrote: > lgtm, since it's all nits anyway Thanks. > ...
4 years, 5 months ago (2016-07-14 05:11:07 UTC) #27
chrishall
https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py File infra/services/sysmon/__main__.py (right): https://codereview.chromium.org/2106953006/diff/60001/infra/services/sysmon/__main__.py#newcode83 infra/services/sysmon/__main__.py:83: self.count_minute() On 2016/07/13 15:12:45, Vadim Sh. wrote: > On ...
4 years, 5 months ago (2016-07-14 05:11:39 UTC) #28
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/2106953006/80001
4 years, 5 months ago (2016-07-14 05:18:10 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Trusty 64 Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Linux%20Trusty%2064%20Tester/builds/3174)
4 years, 5 months ago (2016-07-14 05:32:19 UTC) #33
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/2106953006/80001
4 years, 5 months ago (2016-07-15 02:14:24 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Trusty 64 Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Linux%20Trusty%2064%20Tester/builds/3216)
4 years, 5 months ago (2016-07-15 02:28:37 UTC) #37
dsansome
https://codereview.chromium.org/2106953006/diff/80001/infra/services/sysmon/system_metrics.py File infra/services/sysmon/system_metrics.py (right): https://codereview.chromium.org/2106953006/diff/80001/infra/services/sysmon/system_metrics.py#newcode101 infra/services/sysmon/system_metrics.py:101: 'metric:hostname.') You can remove 'metric:hostname' from the description, since ...
4 years, 5 months ago (2016-07-21 01:55:26 UTC) #39
chrishall
https://codereview.chromium.org/2106953006/diff/80001/infra/services/sysmon/system_metrics.py File infra/services/sysmon/system_metrics.py (right): https://codereview.chromium.org/2106953006/diff/80001/infra/services/sysmon/system_metrics.py#newcode101 infra/services/sysmon/system_metrics.py:101: 'metric:hostname.') On 2016/07/21 01:55:25, dsansome wrote: > You can ...
4 years, 4 months ago (2016-07-27 02:45:18 UTC) #40
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/2106953006/120001
4 years, 4 months ago (2016-07-27 04:32:03 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/3377) Infra Win ...
4 years, 4 months ago (2016-07-27 04:39:34 UTC) #45
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/2106953006/140001
4 years, 4 months ago (2016-07-27 04:44:24 UTC) #48
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 05:00:07 UTC) #50
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/infra/infra/+/a4169dbfef9b2e6f43dd6fa655e67...

Powered by Google App Engine
This is Rietveld 408576698