feat(coderd/database): use template_usage_stats in GetUserLatencyInsights query#12671
Merged
Conversation
This was referenced Mar 19, 2024
Merged
Member
Author
This was referenced Mar 19, 2024
db6c026 to
59c0a23
Compare
b1e5d1a to
c0b0216
Compare
johnstcn
approved these changes
Mar 20, 2024
59c0a23 to
db40db5
Compare
c0b0216 to
1793acb
Compare
mtojek
reviewed
Mar 20, 2024
| // ConnectionLatency shows the latency for a connection. | ||
| type ConnectionLatency struct { | ||
| P50 float64 `json:"p50" example:"31.312"` | ||
| P95 float64 `json:"p95" example:"119.832"` |
Member
Author
There was a problem hiding this comment.
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 to
689d1c9
Compare
1793acb to
91d960f
Compare
689d1c9 to
6d96a3e
Compare
91d960f to
83f3b78
Compare
6d96a3e to
754d6c1
Compare
83f3b78 to
2947a31
Compare
ef0f1bc to
a6a8055
Compare
2947a31 to
da749ae
Compare
a6a8055 to
23cf1c6
Compare
da749ae to
6027088
Compare
23cf1c6 to
b11b3b6
Compare
6027088 to
e0f339c
Compare
e0f339c to
e66ae18
Compare
87f22f1 to
2cf5f94
Compare
e66ae18 to
150df95
Compare
2cf5f94 to
02d0f24
Compare
150df95 to
11efd8b
Compare
02d0f24 to
dfa069b
Compare
11efd8b to
92a0a25
Compare
dfa069b to
6fca988
Compare
92a0a25 to
ac22243
Compare
6fca988 to
0cd1f85
Compare
ac22243 to
c5457d4
Compare
GetUserLatencyInsights to use template_usage_statstemplate_usage_stats in GetUserLatencyInsights query
0cd1f85 to
549a837
Compare
c5457d4 to
48b0729
Compare
kylecarbs
approved these changes
Mar 25, 2024
mtojek
approved these changes
Mar 25, 2024
Member
Author
549a837 to
6813b73
Compare
Base automatically changed from
mafredri/rewrite-gettemplateappinsights
to
main
March 25, 2024 13:58
7750bb6 to
438d3a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR updates the
GetUserLatencyInsightsquery to use rolled uptemplate_usage_statsinstead of raw agent and app stats.