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

Issue 1860753003: [Telemetry] Ignore non-scalar numerics for TBMv2 metrics (Closed)

Created:
4 years, 8 months ago by eakuefner
Modified:
4 years, 8 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Ignore non-scalar numerics for TBMv2 metrics TBMv2 metrics can and should add Numeric instances for their metrics. We flatten these on the metric side into a group of scalars, but leave the original numerics in place. This CL makes it so that timeline_based_measurement will ignore non-scalar numerics. BUG=catapult:#2209 R=nednguyen Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/e2ce6230ec26e8e8d9911fad34f7c95f3e9c0f83

Patch Set 1 #

Patch Set 2 : Add test coverage #

Total comments: 4

Patch Set 3 : Address Ned's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
M telemetry/telemetry/value/translate_common_values.py View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_page_test_unittest.py View 1 1 chunk +6 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/sample_metric.html View 1 2 chunks +10 lines, -3 lines 0 comments Download
M tracing/tracing/value/numeric.html View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
eakuefner
PTAL
4 years, 8 months ago (2016-04-04 21:53:31 UTC) #1
nednguyen
lgtm After address the comments, you can land this. https://codereview.chromium.org/1860753003/diff/20001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/1860753003/diff/20001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode312 telemetry/telemetry/web_perf/timeline_based_measurement.py:312: ...
4 years, 8 months ago (2016-04-04 22:12:08 UTC) #2
eakuefner
https://codereview.chromium.org/1860753003/diff/20001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/1860753003/diff/20001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode312 telemetry/telemetry/web_perf/timeline_based_measurement.py:312: if d.get('type') == 'numeric' and d['numeric'].get('type') == 'scalar': On ...
4 years, 8 months ago (2016-04-04 22:25:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1860753003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1860753003/40001
4 years, 8 months ago (2016-04-04 22:25:28 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 22:45:18 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698