- Notifications
You must be signed in to change notification settings - Fork928
feat(coderd/database): usetemplate_usage_stats
inGetUserLatencyInsights
query#12671
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
mafredri commentedMar 19, 2024 • 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.
db6c026
to59c0a23
Compareb1e5d1a
toc0b0216
Compare59c0a23
todb40db5
Comparec0b0216
to1793acb
Comparecodersdk/insights.go Outdated
@@ -98,7 +98,8 @@ type UserActivity struct { | |||
// ConnectionLatency shows the latency for a connection. | |||
type ConnectionLatency struct { | |||
P50 float64 `json:"p50" example:"31.312"` | |||
P95 float64 `json:"p95" example:"119.832"` |
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.
Is this change intentional?
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.
It was, but I reverted it. (It was based on a discussion in Slack where p90/p99 would be preferable over p95, and since this p95 isn't used anywhere, the change would be harmless, but this is not the right place for it.)
db40db5
to689d1c9
Compare1793acb
to91d960f
Compare689d1c9
to6d96a3e
Compare91d960f
to83f3b78
Compare6d96a3e
to754d6c1
Compare83f3b78
to2947a31
Compareef0f1bc
toa6a8055
Compare2947a31
toda749ae
Comparea6a8055
to23cf1c6
Compareda749ae
to6027088
Compare23cf1c6
tob11b3b6
Compare6027088
toe0f339c
Comparee0f339c
toe66ae18
Compare87f22f1
to2cf5f94
Comparee66ae18
to150df95
Compare2cf5f94
to02d0f24
Compare150df95
to11efd8b
Compare02d0f24
todfa069b
Compare11efd8b
to92a0a25
Comparedfa069b
to6fca988
Compare92a0a25
toac22243
Compare6fca988
to0cd1f85
Compareac22243
toc5457d4
CompareGetUserLatencyInsights
to usetemplate_usage_stats
template_usage_stats
inGetUserLatencyInsights
query0cd1f85
to549a837
Comparec5457d4
to48b0729
Comparemafredri commentedMar 25, 2024 • 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.
549a837
to6813b73
Compare7750bb6
to438d3a9
Compare
Uh oh!
There was an error while loading.Please reload this page.
This PR updates the
GetUserLatencyInsights
query to use rolled uptemplate_usage_stats
instead of raw agent and app stats.