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

Issue 1532713002: buildbucket: add monitoring using ts_mon (Closed)

Created:
5 years ago by nodir
Modified:
5 years ago
Reviewers:
Sergey Berezin
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

buildbucket: add monitoring using ts_mon Monitor the following metrics per bucket: * per builder and user_agent: * # of pending and running builds * rate of build starts * rate of heartbeat failures * rate of lease expirations * per build result, failure reason, cancelation reason: * rate of build completions * distribution of durations of first build lease * distribution of durations of build remaining in SCHEDULED state Send metrics and log only after a transaction succeeds. Leave Cloud Monitoring for now. R=sergeyberezin@chromium.org BUG=559500 Committed: https://chromium.googlesource.com/infra/infra/+/2322647e9b17e2025a5af0e6ffe1a6b475f2e6ff

Patch Set 1 : #

Total comments: 19

Patch Set 2 : addressed some comments and added a test #

Patch Set 3 : duration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -77 lines) Patch
M appengine/cr-buildbucket/.expect_tests.cfg View 1 1 chunk +1 line, -0 lines 0 comments Download
M appengine/cr-buildbucket/cron.yaml View 1 chunk +7 lines, -0 lines 0 comments Download
A + appengine/cr-buildbucket/gae_ts_mon View 0 chunks +-1 lines, --1 lines 0 comments Download
M appengine/cr-buildbucket/main.py View 3 chunks +7 lines, -3 lines 0 comments Download
M appengine/cr-buildbucket/metrics.py View 1 2 3 chunks +109 lines, -1 line 0 comments Download
M appengine/cr-buildbucket/module-backend.yaml View 1 chunk +1 line, -0 lines 0 comments Download
M appengine/cr-buildbucket/service.py View 1 2 11 chunks +121 lines, -74 lines 0 comments Download
M appengine/cr-buildbucket/test/metrics_test.py View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
nodir
PTAL
5 years ago (2015-12-16 22:37:02 UTC) #5
Sergey Berezin
Overall it's mostly good, just a few comments. https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py File appengine/cr-buildbucket/metrics.py (right): https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py#newcode61 appengine/cr-buildbucket/metrics.py:61: '/buildbucket/%s' ...
5 years ago (2015-12-17 00:08:01 UTC) #6
nodir
https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py File appengine/cr-buildbucket/metrics.py (right): https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py#newcode61 appengine/cr-buildbucket/metrics.py:61: '/buildbucket/%s' % name, On 2015/12/17 00:08:01, Sergey Berezin wrote: ...
5 years ago (2015-12-17 01:28:55 UTC) #7
Sergey Berezin
LGTM to unblock the CL + some more responses. Even as is, this is better ...
5 years ago (2015-12-17 02:30:18 UTC) #9
nodir
https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py File appengine/cr-buildbucket/metrics.py (right): https://codereview.chromium.org/1532713002/diff/40001/appengine/cr-buildbucket/metrics.py#newcode107 appengine/cr-buildbucket/metrics.py:107: gae_ts_mon.NonCumulativeDistributionMetric, On 2015/12/17 02:30:18, Sergey Berezin wrote: > On ...
5 years ago (2015-12-17 03:19:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1532713002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1532713002/80001
5 years ago (2015-12-17 03:20:11 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-17 03:22:52 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/infra/infra/+/2322647e9b17e2025a5af0e6ffe1a...

Powered by Google App Engine
This is Rietveld 408576698