-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat(analytics): GPU Usage #580
base: main
Are you sure you want to change the base?
Conversation
); | ||
} | ||
|
||
export async function getLatestGpuBreakdown(): Promise<GpuBreakdownData[]> { |
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.
Can we expose this method as a documented route please?
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.
On it - okay to take as a follow-up PR @baktun14?
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.
You can add it to this pr, you just need to add a route.
|
||
export async function getGpuUtilization() { | ||
return await cacheResponse( | ||
60 * 5, // 5 minutes |
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.
there are relevant constants in date-fns
, the comment wouldn't be needed
v1/graph-data/
for GPU Utilization (aggregate)Todo: