- Notifications
You must be signed in to change notification settings - Fork905
feat: add prebuilds metrics collector#17547
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
2431bbe
to45a0672
CompareThere 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.
Just pointing out a TODO that we still need to look into. Otherwise, looks good.
Uh oh!
There was an error while loading.Please reload this page.
45a0672
to80fba7d
CompareThere 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.
A few small suggestions/nits, otherwise LGTM
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.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
8c3e53e
to9676b65
Comparea69ee41
to7791f50
Compared43c13d
to00ebdde
CompareSigned-off-by: Danny Kopping <dannykopping@gmail.com>Reverting unnecessary changes that crept inSigned-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
00ebdde
to1d66ade
CompareThere 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.
One minor nit/observation, otherwise LGTM!
{"coderd_prebuilt_workspaces_eligible", ptr.To(0.0), false}, | ||
}, | ||
templateDeleted: []bool{false}, | ||
eligible: []bool{false}, |
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.
I'm not seeing any test-cases where we'd need slices for deleted/eligible and it probably isn't too compatible with the way expected metrics are defined. Consider simplifying (helps reduce complexity of test body too)?
e0483e3
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closescoder/internal#509