- Notifications
You must be signed in to change notification settings - Fork1.1k
fix(coderd): fix logic for reporting prebuilt workspace duration metric#19641
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
3cde6ae to1631ffdCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
dannykopping left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, with a couple nits.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
353f5de intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Description
When creating a prebuilt workspace, both
flags.IsPrebuildandflags.IsFirstBuildare true. Previously, the logic rejected cases with multiple flags, socoderd_workspace_creation_duration_secondswasn’t updated for prebuilt creations. This is the only valid scenario where two flags can be true.Changes
coderd_workspace_creation_duration_secondsmetric for prebuilt workspaces.Follow-up:#19503
Related to:#19528