Skip to content
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(coderd/database): use template_usage_stats in GetUserActivityInsights query #12672

Merged
merged 4 commits into from
Mar 25, 2024

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Mar 19, 2024

This PR updates the GetUserActivityInsights query to use rolled up template_usage_stats instead of raw agent and app stats.

@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from c0b0216 to 1793acb Compare March 20, 2024 10:25
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from cedf108 to 77c3115 Compare March 20, 2024 10:25
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Another stamp, it would be nice to see the full PR for the feature before merging the stack.

@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 1793acb to 91d960f Compare March 20, 2024 12:37
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 77c3115 to 7495c04 Compare March 20, 2024 12:37
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 91d960f to 83f3b78 Compare March 20, 2024 14:53
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 7495c04 to c2965f4 Compare March 20, 2024 14:53
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 83f3b78 to 2947a31 Compare March 20, 2024 16:02
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from c2965f4 to 357bf15 Compare March 20, 2024 16:03
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 2947a31 to da749ae Compare March 20, 2024 19:04
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 357bf15 to 1de2d1e Compare March 20, 2024 19:04
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from da749ae to 6027088 Compare March 20, 2024 19:19
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 1de2d1e to c6de855 Compare March 20, 2024 19:19
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 6027088 to e0f339c Compare March 20, 2024 19:56
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 1f87513 to 9266306 Compare March 21, 2024 17:54
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 150df95 to 11efd8b Compare March 21, 2024 18:06
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 9266306 to d7ad400 Compare March 21, 2024 18:06
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 11efd8b to 92a0a25 Compare March 22, 2024 15:40
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from d7ad400 to b2c2c4b Compare March 22, 2024 15:40
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 71bfa51 to a73afb7 Compare March 22, 2024 16:20
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 92a0a25 to ac22243 Compare March 22, 2024 17:11
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from a73afb7 to 5612832 Compare March 22, 2024 17:11
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from ac22243 to c5457d4 Compare March 22, 2024 17:15
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 5612832 to e00136a Compare March 22, 2024 17:15
@mafredri mafredri changed the title feat(coderd/database): rewrite GetUserActivityInsights to use template_usage_stats feat(coderd/database): use template_usage_stats in GetUserActivityInsights query Mar 25, 2024
@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from c5457d4 to 48b0729 Compare March 25, 2024 11:18
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch 5 times, most recently from 3b36ffa to 6f7dc7b Compare March 25, 2024 13:18
@mafredri mafredri marked this pull request as ready for review March 25, 2024 13:25
Copy link
Member Author

mafredri commented Mar 25, 2024

Merge activity

  • Mar 25, 9:33 AM EDT: @mafredri started a stack merge that includes this pull request via Graphite.
  • Mar 25, 10:08 AM EDT: Graphite rebased this pull request as part of a merge.
  • Mar 25, 10:16 AM EDT: @mafredri merged this pull request with Graphite.

@mafredri mafredri force-pushed the mafredri/rewrite-getuserlatencyinsights branch from 7750bb6 to 438d3a9 Compare March 25, 2024 13:58
Base automatically changed from mafredri/rewrite-getuserlatencyinsights to main March 25, 2024 14:07
@mafredri mafredri force-pushed the mafredri/rewrite-getuseractivityinsights branch from 6f7dc7b to cb975fc Compare March 25, 2024 14:08
@mafredri mafredri merged commit 2332d81 into main Mar 25, 2024
23 checks passed
@mafredri mafredri deleted the mafredri/rewrite-getuseractivityinsights branch March 25, 2024 14:16
@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants