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

Issue 2717253002: Add instrumentation data to the analysis server diagnostics page. (Closed)

Created:
3 years, 9 months ago by devoncarew
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add instrumentation data to the analysis server diagnostics page. BUG= R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/8f3666993742ff4a1af5486ffc2d4213feed1760

Patch Set 1 #

Total comments: 10

Patch Set 2 : refactor String get describe #

Total comments: 7

Patch Set 3 : html escape descriptions and convert url references to anchors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -5 lines) Patch
M pkg/analysis_server/lib/src/status/get_handler2.dart View 1 2 5 chunks +26 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/instrumentation/file_instrumentation.dart View 1 2 chunks +6 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/instrumentation/instrumentation.dart View 1 3 chunks +14 lines, -0 lines 0 comments Download
M pkg/analyzer/test/instrumentation/instrumentation_test.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
devoncarew
- add instrumentation data to the analysis server diagnostics page - when we get a ...
3 years, 9 months ago (2017-02-27 04:55:19 UTC) #2
skybrian
Seems fine if the analyzer team is okay with it. https://codereview.chromium.org/2717253002/diff/1/pkg/analysis_server/lib/src/status/get_handler2.dart File pkg/analysis_server/lib/src/status/get_handler2.dart (right): https://codereview.chromium.org/2717253002/diff/1/pkg/analysis_server/lib/src/status/get_handler2.dart#newcode1117 ...
3 years, 9 months ago (2017-02-27 05:31:46 UTC) #3
Brian Wilkerson
lgtm https://codereview.chromium.org/2717253002/diff/1/pkg/analysis_server/lib/src/status/get_handler2.dart File pkg/analysis_server/lib/src/status/get_handler2.dart (right): https://codereview.chromium.org/2717253002/diff/1/pkg/analysis_server/lib/src/status/get_handler2.dart#newcode145 pkg/analysis_server/lib/src/status/get_handler2.dart:145: _returnRedirect(request, STATUS_PATH); Out of curiosity (because I don't ...
3 years, 9 months ago (2017-02-27 14:41:32 UTC) #5
devoncarew
some tweaks - I think the comments are mostly addressed; ptal https://codereview.chromium.org/2717253002/diff/1/pkg/analysis_server/lib/src/status/get_handler2.dart File pkg/analysis_server/lib/src/status/get_handler2.dart (right): ...
3 years, 9 months ago (2017-03-01 01:51:33 UTC) #6
skybrian
https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/file_instrumentation.dart File pkg/analyzer/lib/instrumentation/file_instrumentation.dart (right): https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/file_instrumentation.dart#newcode28 pkg/analyzer/lib/instrumentation/file_instrumentation.dart:28: String get describe => "file: $filePath"; HTML-escape the path ...
3 years, 9 months ago (2017-03-01 02:06:01 UTC) #7
skybrian
https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/instrumentation.dart File pkg/analyzer/lib/instrumentation/instrumentation.dart (right): https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/instrumentation.dart#newcode383 pkg/analyzer/lib/instrumentation/instrumentation.dart:383: .join("\n"); On 2017/03/01 02:06:01, skybrian wrote: > <br> (Or ...
3 years, 9 months ago (2017-03-01 02:07:47 UTC) #8
devoncarew
https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/instrumentation.dart File pkg/analyzer/lib/instrumentation/instrumentation.dart (right): https://codereview.chromium.org/2717253002/diff/20001/pkg/analyzer/lib/instrumentation/instrumentation.dart#newcode32 pkg/analyzer/lib/instrumentation/instrumentation.dart:32: */ On 2017/03/01 02:06:01, skybrian wrote: > Possible security ...
3 years, 9 months ago (2017-03-01 02:30:27 UTC) #9
Brian Wilkerson
still lgtm https://codereview.chromium.org/2717253002/diff/20001/pkg/analysis_server/lib/src/status/get_handler2.dart File pkg/analysis_server/lib/src/status/get_handler2.dart (right): https://codereview.chromium.org/2717253002/diff/20001/pkg/analysis_server/lib/src/status/get_handler2.dart#newcode1118 pkg/analysis_server/lib/src/status/get_handler2.dart:1118: buffer.write(description.replaceAll('\n', '<br>')); nit: Could we combine this ...
3 years, 9 months ago (2017-03-01 15:05:03 UTC) #10
devoncarew
A bit of a delay, but landing this shortly. I've html escaped the descriptions and ...
3 years, 9 months ago (2017-03-10 22:04:31 UTC) #11
devoncarew
3 years, 9 months ago (2017-03-10 22:08:21 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
8f3666993742ff4a1af5486ffc2d4213feed1760 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698