- Notifications
You must be signed in to change notification settings - Fork928
feat(coderd): addcoder_app
usage stats#9001
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
This comment was marked as outdated.
This comment was marked as outdated.
9bf63a4
tobefb4dc
CompareUh 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.
mafredri commentedAug 10, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I've refactored the stats collection to perform rollups on short-lived requests and added full test coverage for the Default rollup window is 1 minute, we can extend it if we want to reduce rows further, but I don't think it'll be necessary. What's left is:
For now, the data looks like this: SELECT*, session_ended_at- session_started_atAS session_lengthFROM workspace_app_statsORDER BY session_started_at;
|
e903d16
to1705138
Compareb17b944
to6ec178b
CompareUh 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.
Uh oh!
There was an error while loading.Please reload this page.
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.
Note before merging: double-check for a duplicate migration!
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 don't think there's any newer migration on main? But yea, I will merge in main and fix if needed before merge. 👍🏻
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.
a23297b
toc9272c5
Comparecoder_app
usagecoder_app
usage stats
Updates#8658