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

Issue 409213004: Initial backend for metrics in Observatory (Closed)

Created:
6 years, 5 months ago by Cutch
Modified:
6 years, 4 months ago
Reviewers:
turnidge, koda, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Initial backend for metrics in Observatory. Two types of metrics: * Counter - a measured value * Gauge - A measured value with a min and max Follow up CLs for the backend: * Support for internal VM metrics (implemented in C++ but visible over the service). Follow up CLs for the frontend: * Query list of metrics * Get latest value of a metric * Collect values over time and graph them. I'd like some feedback on the API and the data reported. R=koda@google.com Committed: https://code.google.com/p/dart/source/detail?r=38793

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 27

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -1 line) Patch
M runtime/lib/profiler.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 2 chunks +75 lines, -0 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 4 5 1 chunk +85 lines, -0 lines 0 comments Download
M sdk/lib/profiler/profiler.dart View 1 2 3 4 5 6 7 2 chunks +134 lines, -0 lines 0 comments Download
A tests/lib/profiler/metrics_test.dart View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
M tests/standalone/issue14236_test.dart View 1 2 3 4 Binary file 0 comments Download

Messages

Total messages: 10 (0 generated)
Cutch
6 years, 4 months ago (2014-07-29 00:20:51 UTC) #1
srdjan
DBC https://codereview.chromium.org/409213004/diff/1/runtime/lib/profiler.dart File runtime/lib/profiler.dart (right): https://codereview.chromium.org/409213004/diff/1/runtime/lib/profiler.dart#newcode49 runtime/lib/profiler.dart:49: max = null, Why setting it to null ...
6 years, 4 months ago (2014-07-29 00:30:02 UTC) #2
koda
https://codereview.chromium.org/409213004/diff/20001/runtime/lib/profiler.dart File runtime/lib/profiler.dart (right): https://codereview.chromium.org/409213004/diff/20001/runtime/lib/profiler.dart#newcode30 runtime/lib/profiler.dart:30: /// [name] of this metric. Consider describing a convention ...
6 years, 4 months ago (2014-07-29 15:34:31 UTC) #3
Cutch
https://codereview.chromium.org/409213004/diff/20001/runtime/lib/profiler.dart File runtime/lib/profiler.dart (right): https://codereview.chromium.org/409213004/diff/20001/runtime/lib/profiler.dart#newcode30 runtime/lib/profiler.dart:30: /// [name] of this metric. On 2014/07/29 15:34:30, koda ...
6 years, 4 months ago (2014-07-29 18:27:01 UTC) #4
koda
Mostly nits remaining. BTW, do you have some particular example use case for Gauge? https://codereview.chromium.org/409213004/diff/20001/runtime/lib/profiler.dart ...
6 years, 4 months ago (2014-07-29 19:44:13 UTC) #5
Cutch
Use case for Gauge is when a program has a limit of some value, we ...
6 years, 4 months ago (2014-07-30 00:01:24 UTC) #6
koda
lgtm
6 years, 4 months ago (2014-07-30 00:07:12 UTC) #7
turnidge
https://codereview.chromium.org/409213004/diff/80001/runtime/lib/profiler.dart File runtime/lib/profiler.dart (right): https://codereview.chromium.org/409213004/diff/80001/runtime/lib/profiler.dart#newcode50 runtime/lib/profiler.dart:50: final double max; double seems reasonable, but will we ...
6 years, 4 months ago (2014-07-30 19:15:00 UTC) #8
Cutch
https://codereview.chromium.org/409213004/diff/80001/runtime/lib/profiler.dart File runtime/lib/profiler.dart (right): https://codereview.chromium.org/409213004/diff/80001/runtime/lib/profiler.dart#newcode50 runtime/lib/profiler.dart:50: final double max; On 2014/07/30 19:15:00, turnidge wrote: > ...
6 years, 4 months ago (2014-07-30 21:55:04 UTC) #9
Cutch
6 years, 4 months ago (2014-07-31 18:27:47 UTC) #10
Message was sent while issue was closed.
Committed patchset #8 manually as r38793 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698