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

Issue 1427903002: send_monitoring_event: support for default event and gomastats (Closed)

Created:
5 years, 1 month ago by pgervais
Modified:
5 years, 1 month ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@event-mon-no-default-kind
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

send_monitoring_event: support for default event and gomastats Added --event-logrequest-path and --build-event-goma-stats-path And a lot of tests. BUG=513882 R=dsansome@chromium.org, sergeyberezin@chromium.org Committed: https://chromium.googlesource.com/infra/infra/+/6d15e263015edf6a4cfb6a2e4a3081ba8efe4ec7

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added missing tests #

Total comments: 7

Patch Set 3 : Fixed nits #

Patch Set 4 : Added missing files #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -20 lines) Patch
M infra/tools/send_monitoring_event/__main__.py View 3 chunks +4 lines, -2 lines 0 comments Download
M infra/tools/send_monitoring_event/send_event.py View 1 7 chunks +103 lines, -9 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/build-and-service-event.bin View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/build-foo-builder.bin View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/garbage View 1 chunk +1 line, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/goma_stats.bin View 1 chunk +3 lines, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/logrequest-build.bin View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/logrequest-empty.bin View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A infra/tools/send_monitoring_event/test/data/service-bar-service.bin View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M infra/tools/send_monitoring_event/test/send_event_test.py View 1 2 3 chunks +296 lines, -3 lines 0 comments Download
M infra_libs/event_mon/__init__.py View 1 chunk +2 lines, -1 line 0 comments Download
M infra_libs/event_mon/config.py View 1 chunk +9 lines, -0 lines 0 comments Download
M infra_libs/event_mon/test/config_test.py View 1 5 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
pgervais
There are different things in this CL, I realized too late that I could have ...
5 years, 1 month ago (2015-10-29 22:46:34 UTC) #2
dsansome
lgtm https://chromiumcodereview.appspot.com/1427903002/diff/1/infra/tools/send_monitoring_event/send_event.py File infra/tools/send_monitoring_event/send_event.py (left): https://chromiumcodereview.appspot.com/1427903002/diff/1/infra/tools/send_monitoring_event/send_event.py#oldcode52 infra/tools/send_monitoring_event/send_event.py:52: default='POINT', Should this still have the default? If ...
5 years, 1 month ago (2015-10-29 23:17:33 UTC) #3
Sergey Berezin
LGTM My review was a bit rushed, but I guess between me and Dave we ...
5 years, 1 month ago (2015-10-29 23:32:55 UTC) #4
pgervais
Will file a new patchset later today (hopefully) https://chromiumcodereview.appspot.com/1427903002/diff/1/infra/tools/send_monitoring_event/send_event.py File infra/tools/send_monitoring_event/send_event.py (left): https://chromiumcodereview.appspot.com/1427903002/diff/1/infra/tools/send_monitoring_event/send_event.py#oldcode52 infra/tools/send_monitoring_event/send_event.py:52: default='POINT', ...
5 years, 1 month ago (2015-11-02 19:38:58 UTC) #5
pgervais
Finally added the missing tests. PTAL
5 years, 1 month ago (2015-11-03 00:17:26 UTC) #6
Sergey Berezin
LGTM + a couple of small nits. https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py File infra/tools/send_monitoring_event/test/send_event_test.py (right): https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py#newcode262 infra/tools/send_monitoring_event/test/send_event_test.py:262: ]) nit: ...
5 years, 1 month ago (2015-11-03 00:58:42 UTC) #7
pgervais
Nits fixed https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py File infra/tools/send_monitoring_event/test/send_event_test.py (right): https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py#newcode262 infra/tools/send_monitoring_event/test/send_event_test.py:262: ]) On 2015/11/03 00:58:42, Sergey Berezin wrote: ...
5 years, 1 month ago (2015-11-03 01:03:49 UTC) #8
Sergey Berezin
https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py File infra/tools/send_monitoring_event/test/send_event_test.py (right): https://chromiumcodereview.appspot.com/1427903002/diff/20001/infra/tools/send_monitoring_event/test/send_event_test.py#newcode276 infra/tools/send_monitoring_event/test/send_event_test.py:276: self.assertEqual(event.timestamp_kind, ChromeInfraEvent.BEGIN) On 2015/11/03 01:03:49, pgervais wrote: > On ...
5 years, 1 month ago (2015-11-03 01:19:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427903002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427903002/40001
5 years, 1 month ago (2015-11-03 01:46:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/596)
5 years, 1 month ago (2015-11-03 01:48:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427903002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427903002/60001
5 years, 1 month ago (2015-11-03 01:53:04 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/597)
5 years, 1 month ago (2015-11-03 01:55:03 UTC) #19
pgervais
5 years, 1 month ago (2015-11-03 19:45:06 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
6d15e263015edf6a4cfb6a2e4a3081ba8efe4ec7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698