Huiwen b48dc338f8
Add x-client in ide-metrics component (#16701)
* [ide-metrics] add to add global client header to metrics

* [ide-metrics] fix default value fallback

* [installer] update ide-metrics configmap

* [supervisor] report metrics with `x-client`
2023-03-07 11:36:04 +01:00
..
2022-12-08 13:05:19 -03:00
2022-08-05 07:52:49 -03:00
2022-08-05 07:52:49 -03:00
2023-02-05 12:10:43 +01:00
2022-12-08 13:05:19 -03:00
2023-03-07 10:48:04 +01:00

IDE Metrics

Handy, cheaper and easier way to help collect error report and metrics for ide components (i.e. supervisor vscode-desktop-extension vscode-web-workbench)

How to Debug

From source in Gitpod Browser Code

start simple server

go run main.go run --config config-example.json --verbose

with breakpoints

  • Start a dlv server
dlv debug --listen=127.0.0.1:32991 --headless --api-version=2 -- run main.go run --config config-example.json --verbose
  • Run Attack to Delve (gitpod) in Run and Debug panel

Hot deploy to preview env

./debug.sh