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

Issue 2111473003: Issue 623854: Support unit annotations in ts_mon metrics (Closed)

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

Issue 623854: Support unit annotations in ts_mon metrics For go-implementation, please find the following CLs: - https://codereview.chromium.org/2123853002 - https://codereview.chromium.org/2125943003 BUG=623854 Committed: https://chromium.googlesource.com/infra/infra/+/9bf7fbe68e4dc69611e78ee0b43c44c258c49d3b

Patch Set 1 #

Patch Set 2 : Added class MetricDataUnit class that provides a list of enum values defined in MetricsData.Units p… #

Patch Set 3 : Update sysmon to pass units for metrics and renamed MetricDataUnit to MetricsDataUnits #

Total comments: 8

Patch Set 4 : New expectation file and cosmetic fixes. #

Patch Set 5 : Updated monitoring proxy, cloudtail, and puppet metrics with the unit annotations. #

Total comments: 2

Patch Set 6 : Split off go changes to a separate CL: https://codereview.chromium.org/2125943003 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -27 lines) Patch
M infra/services/sysmon/android_device_metrics.py View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M infra/services/sysmon/puppet_metrics.py View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M infra/services/sysmon/system_metrics.py View 1 2 3 chunks +18 lines, -9 lines 0 comments Download
M infra_libs/ts_mon/__init__.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M infra_libs/ts_mon/common/metrics.py View 1 2 3 4 5 10 chunks +41 lines, -11 lines 0 comments Download
M infra_libs/ts_mon/common/test/metrics_test.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A + infra_libs/ts_mon/common/test/metrics_test.expected/MetricTest.test_serialize_with_units.json View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
agable
LGTM with some documentation nits. Also: 1) Make sure this gets into the Go implementation ...
4 years, 5 months ago (2016-06-29 18:25:23 UTC) #5
dsansome
lgtm Nice! https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/__init__.py File infra_libs/ts_mon/__init__.py (right): https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/__init__.py#newcode37 infra_libs/ts_mon/__init__.py:37: from infra_libs.ts_mon.common.metrics import MetricsDataUnits Sort alphabetically
4 years, 5 months ago (2016-06-30 06:25:45 UTC) #6
Sergey Berezin
drive by: https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/common/test/metrics_test.py File infra_libs/ts_mon/common/test/metrics_test.py (right): https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/common/test/metrics_test.py#newcode72 infra_libs/ts_mon/common/test/metrics_test.py:72: return str(p).splitlines() It seems you're missing the ...
4 years, 5 months ago (2016-06-30 19:21:26 UTC) #8
ddoman
https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/__init__.py File infra_libs/ts_mon/__init__.py (right): https://codereview.chromium.org/2111473003/diff/40001/infra_libs/ts_mon/__init__.py#newcode37 infra_libs/ts_mon/__init__.py:37: from infra_libs.ts_mon.common.metrics import MetricsDataUnits On 2016/06/30 06:25:44, dsansome wrote: ...
4 years, 5 months ago (2016-07-06 03:35:37 UTC) #9
ddoman
> 1) Make sure this gets into the Go implementation as well > (https://github.com/luci/luci-go/blob/master/common/tsmon/metric/metric.go) Just ...
4 years, 5 months ago (2016-07-06 05:45:16 UTC) #10
ddoman
4 years, 5 months ago (2016-07-06 05:48:27 UTC) #11
Sergey Berezin
LGTM for Python code - thanks, this is great! Please split off the Go code ...
4 years, 5 months ago (2016-07-06 22:01:24 UTC) #13
ddoman
On 2016/07/06 22:01:24, Sergey Berezin wrote: > LGTM for Python code - thanks, this is ...
4 years, 5 months ago (2016-07-07 05:06:13 UTC) #14
ddoman
https://codereview.chromium.org/2111473003/diff/80001/go/src/infra/monitoring/proxy/main.go File go/src/infra/monitoring/proxy/main.go (right): https://codereview.chromium.org/2111473003/diff/80001/go/src/infra/monitoring/proxy/main.go#newcode45 go/src/infra/monitoring/proxy/main.go:45: types.MetricMetadata{}, On 2016/07/06 22:01:24, Sergey Berezin wrote: > I'd ...
4 years, 5 months ago (2016-07-07 05:06:39 UTC) #15
Sergey Berezin
LGTM, thanks!
4 years, 5 months ago (2016-07-08 17:15:21 UTC) #17
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/2111473003/100001
4 years, 5 months ago (2016-07-11 00:36:12 UTC) #20
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/2111473003/100001
4 years, 5 months ago (2016-07-11 01:54:24 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 01:57:24 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/infra/infra/+/9bf7fbe68e4dc69611e78ee0b43c4...

Powered by Google App Engine
This is Rietveld 408576698