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

[content-service] log ready file metrics #18781

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Conversation

kylos101
Copy link
Contributor

@kylos101 kylos101 commented Sep 22, 2023

Description

These can be useful when exploring individual workspace start performance.

Summary generated by Copilot

🤖 Generated by Copilot at de5a41a

Add logging to content initialization. This change adds a log statement to the PlaceWorkspaceReadyFile function in initializer.go to help monitor and debug the content service metrics.

Related Issue(s)

Fixes n/a

How to test

  1. inspect the ready file
gitpod@kylos101-dotfiles-psyi99aslbf:/workspace/dotfiles$ cat /workspace/.gitpod/ready
{"source":"from-other","metrics":[{"type":"git","duration":1339992994,"size":294912}]}
  1. Check logs

cc: @lucasvaltl per your request

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
  • 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

@kylos101 kylos101 force-pushed the kylos101/log-init-stats branch from 46ce7dc to 770f01e Compare September 22, 2023 21:24
@kylos101 kylos101 marked this pull request as ready for review September 22, 2023 22:15
@kylos101 kylos101 requested a review from a team as a code owner September 22, 2023 22:15
@roboquat roboquat merged commit 2389937 into main Sep 23, 2023
47 of 48 checks passed
@roboquat roboquat deleted the kylos101/log-init-stats branch September 23, 2023 01:53
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.

3 participants