Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metrics for ide start and stop #19657

Closed
wants to merge 4 commits into from
Closed

Add metrics for ide start and stop #19657

wants to merge 4 commits into from

Conversation

mustard-mh
Copy link
Contributor

@mustard-mh mustard-mh commented Apr 23, 2024

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
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants