1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00
go/internal/lsp/debug
Ian Cottrell 7db14c95bf internal/lsp: rewrite the rpc debug page
Now it only uses the telemetry messages directly rather than the metric system.
This is much faster and more direct, and removes a blocker on improving the
metrics support.
Also fixes the fact that recieced and sent were the wrong way round before,
probably as an artifact of the old protocol logging code, and also removes
the bytes histogram which was a lie (it was a histogram of write sizes that
was presented as a histogram of message sizes)

fixes golang/go#38168

Change-Id: Ib1c3459c0ff1cf0c6087a828981e80c1ce1c5c1b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/227139
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-06 14:44:18 +00:00
..
tag internal/telemetry: switch metrics to use the event system 2020-03-23 14:44:30 +00:00
info.1.11.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.1.12.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.go internal/lsp: print view-specific environment 2020-03-24 20:15:47 +00:00
metrics.go internal/telemetry: make metrics take a strongly typed key 2020-03-26 17:45:58 +00:00
rpc.go internal/lsp: rewrite the rpc debug page 2020-04-06 14:44:18 +00:00
serve_test.go internal/lsp/debug: move all debug state onto the Instance 2020-02-24 22:50:47 +00:00
serve.go internal/lsp, go/packages: don't log context cancellation errors 2020-04-03 19:08:13 +00:00
trace.go internal/telemetry: add a synchronization to telemetry 2020-03-30 19:15:27 +00:00