gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Add metrics for ide start and stop

Open mustard-mh opened this issue 10 months ago • 0 comments

Description

Related Issue(s)

Fixes #

How to test

  • Start workspaces and make IDE exit with different reasons
  • Check monitoring data by ./dev/preview/portforward-monitoring-satellite.sh
  • Query with supervisor_ide_start_total and supervisor_ide_stop_total

Way to stop IDEs

  • Force kill PID
  • Hot deploy launcher to make it start failed to mock cmd failed
  • Hot deploy launcher to make it crush after seconds to mock crach
  • Make mem increasing so that system could kill IDE

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • [ ] /werft with-werft Run the build with werft instead of GHA
  • [ ] leeway-no-cache
  • [ ] /werft no-test Run Leeway with --dont-test
Publish
  • [ ] /werft publish-to-npm
  • [ ] /werft publish-to-jb-marketplace
Installer
  • [ ] analytics=segment
  • [ ] with-dedicated-emulation
  • [ ] workspace-feature-flags Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • [ ] /werft with-local-preview If enabled this will build install/preview
  • [x] /werft with-preview
  • [ ] /werft with-large-vm
  • [x] /werft with-gce-vm If enabled this will create the environment on GCE infra
  • [x] /werft preemptible Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • [ ] with-integration-tests=all Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • [ ] with-monitoring

/hold

mustard-mh avatar Apr 23 '24 18:04 mustard-mh