Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
mafredri merged 3 commits intomainfrommafredri/rewrite-getuserlatencyinsights
Mar 25, 2024

Conversation

mafredri
Copy link
Member

@mafredrimafredri commentedMar 19, 2024
edited
Loading

This PR updates theGetUserLatencyInsights query to use rolled uptemplate_usage_stats instead of raw agent and app stats.

@mafredriGraphite App
Copy link
MemberAuthor

mafredri commentedMar 19, 2024
edited
Loading

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@mafredri and the rest of your teammates onGraphiteGraphite

@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch from59c0a23 todb40db5CompareMarch 20, 2024 10:25
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch fromc0b0216 to1793acbCompareMarch 20, 2024 10:25
@@ -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"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is this change intentional?

Copy link
MemberAuthor

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.)

@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch fromdb40db5 to689d1c9CompareMarch 20, 2024 12:37
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from1793acb to91d960fCompareMarch 20, 2024 12:37
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch from689d1c9 to6d96a3eCompareMarch 20, 2024 14:53
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from91d960f to83f3b78CompareMarch 20, 2024 14:53
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch from6d96a3e to754d6c1CompareMarch 20, 2024 16:02
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from83f3b78 to2947a31CompareMarch 20, 2024 16:02
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch fromef0f1bc toa6a8055CompareMarch 20, 2024 19:04
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from2947a31 toda749aeCompareMarch 20, 2024 19:04
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch froma6a8055 to23cf1c6CompareMarch 20, 2024 19:19
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch fromda749ae to6027088CompareMarch 20, 2024 19:19
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsightsbytemplate branch from23cf1c6 tob11b3b6CompareMarch 20, 2024 19:56
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from6027088 toe0f339cCompareMarch 20, 2024 19:56
@mafredrimafredri changed the base branch frommafredri/rewrite-gettemplateappinsightsbytemplate tomafredri/rewrite-gettemplateappinsightsMarch 21, 2024 15:07
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch frome0f339c toe66ae18CompareMarch 21, 2024 15:07
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from87f22f1 to2cf5f94CompareMarch 21, 2024 17:54
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch frome66ae18 to150df95CompareMarch 21, 2024 17:54
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from2cf5f94 to02d0f24CompareMarch 21, 2024 18:06
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from150df95 to11efd8bCompareMarch 21, 2024 18:06
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from02d0f24 todfa069bCompareMarch 22, 2024 15:40
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from11efd8b to92a0a25CompareMarch 22, 2024 15:40
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch fromdfa069b to6fca988CompareMarch 22, 2024 17:11
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from92a0a25 toac22243CompareMarch 22, 2024 17:11
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from6fca988 to0cd1f85CompareMarch 22, 2024 17:15
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch fromac22243 toc5457d4CompareMarch 22, 2024 17:15
@mafredrimafredri changed the titlefeat(coderd/database): rewriteGetUserLatencyInsights to usetemplate_usage_statsfeat(coderd/database): usetemplate_usage_stats inGetUserLatencyInsights queryMar 25, 2024
@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from0cd1f85 to549a837CompareMarch 25, 2024 11:18
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch fromc5457d4 to48b0729CompareMarch 25, 2024 11:18
@mafredrimafredri marked this pull request as ready for reviewMarch 25, 2024 13:02
@mafredriGraphite App
Copy link
MemberAuthor

mafredri commentedMar 25, 2024
edited
Loading

Merge activity

  • Mar 25, 9:33 AM EDT:@mafredri started a stack merge that includes this pull request viaGraphite.
  • Mar 25, 9:59 AM EDT:Graphite rebased this pull request as part of a merge.
  • Mar 25, 10:07 AM EDT:@mafredri merged this pull request withGraphite.

@mafredrimafredriforce-pushed themafredri/rewrite-gettemplateappinsights branch from549a837 to6813b73CompareMarch 25, 2024 13:46
Base automatically changed frommafredri/rewrite-gettemplateappinsights tomainMarch 25, 2024 13:58
@mafredrimafredriforce-pushed themafredri/rewrite-getuserlatencyinsights branch from7750bb6 to438d3a9CompareMarch 25, 2024 13:58
@mafredrimafredri merged commita8ed689 intomainMar 25, 2024
@mafredrimafredri deleted the mafredri/rewrite-getuserlatencyinsights branchMarch 25, 2024 14:07
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 25, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@kylecarbskylecarbskylecarbs approved these changes

@mtojekmtojekmtojek approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@mafredri@johnstcn@kylecarbs@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp