gitpod
gitpod copied to clipboard
Add metrics for ide start and stop
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.
- 🏷️ Name - hw-ide-slo
- 🔗 URL - hw-ide-slo.preview.gitpod-dev.com/workspaces.
- 📚 Documentation - See our internal documentation for information on how to interact with your preview environment.
- 📦 Version - hw-ide-slo-gha.24560
- 🗒️ Logs - GCP Logs Explorer
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
andwith-large-vm
will be enabled. - [ ] with-monitoring
/hold