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

Issue 2121323002: swarming: add active jobs pending times metric (Closed)

Created:
4 years, 5 months ago by Paweł Hajdan Jr.
Modified:
4 years, 1 month ago
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://github.com/luci/luci-py.git@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

swarming: add active jobs pending times metric BUG=chromium:624508 Committed: https://github.com/luci/luci-py/commit/a00b8e245035fd044ac2af5007b5523cd71e8ee1

Patch Set 1 #

Patch Set 2 : pylint #

Total comments: 2

Patch Set 3 : basic test #

Patch Set 4 : tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -5 lines) Patch
M appengine/swarming/ts_mon_metrics.py View 1 2 3 4 chunks +21 lines, -3 lines 1 comment Download
M appengine/swarming/ts_mon_metrics_test.py View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2121323002/1
4 years, 5 months ago (2016-07-06 13:40:19 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2121323002/20001
4 years, 5 months ago (2016-07-06 13:45:39 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 13:48:30 UTC) #6
Sergey Berezin
Overall looks good, modulo a comment (bug). Thanks! However, I'd get someone else more familiar ...
4 years, 5 months ago (2016-07-06 18:31:47 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2121323002/40001
4 years, 5 months ago (2016-07-07 12:02:29 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Luci-py Presubmit on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-py%20Presubmit/builds/1068)
4 years, 5 months ago (2016-07-07 12:07:40 UTC) #12
Paweł Hajdan Jr.
Yeah, added a test. I had some trouble running swarming tests locally but it's fixed ...
4 years, 5 months ago (2016-07-08 12:03:27 UTC) #17
Sergey Berezin
LGTM, thanks! Feel free to test it on chromium-swarm-dev, and please watch it carefully if ...
4 years, 5 months ago (2016-07-08 16:59:17 UTC) #18
Vadim Sh.
lgtm Also I've realized this monitoring completely skips tiny tasks (ones that manage to start, ...
4 years, 5 months ago (2016-07-10 14:18:44 UTC) #19
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/2121323002/60001
4 years, 5 months ago (2016-07-11 13:39:55 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://github.com/luci/luci-py/commit/a00b8e245035fd044ac2af5007b5523cd71e8ee1
4 years, 5 months ago (2016-07-11 13:42:53 UTC) #23
Sergey Berezin
On 2016/07/10 14:18:44, Vadim Sh. wrote: > Also I've realized this monitoring completely skips tiny ...
4 years, 5 months ago (2016-07-11 16:30:45 UTC) #24
ghost stip (do not use)
4 years, 1 month ago (2016-10-31 03:42:16 UTC) #26
Message was sent while issue was closed.
https://codereview.chromium.org/2121323002/diff/60001/appengine/swarming/ts_m...
File appengine/swarming/ts_mon_metrics.py (right):

https://codereview.chromium.org/2121323002/diff/60001/appengine/swarming/ts_m...
appengine/swarming/ts_mon_metrics.py:219: [jobs_running, executors_pool,
executors_status])
I believe the metric should have been added to this list. Without that, stale
data is reported depending on random assignment of task queue executors per
https://chromium.googlesource.com/infra/infra/+/01a706d5a431461af911838cf276c...

Powered by Google App Engine
This is Rietveld 408576698