Skip to content

fix(coderd): optimize template app insights query for speed and decrease intervals #9302

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

Merged
merged 6 commits into from
Aug 24, 2023

Conversation

mafredri
Copy link
Member

789ms -> 160ms whilst fixing app usage windows from 5min -> 1min

  • lower app intervals to 1m and increase test coverage
  • fix(coderd): rewrite template app insights query for speed, decrease intervals

@mafredri mafredri requested a review from mtojek August 24, 2023 13:11
@mafredri mafredri requested a review from johnstcn August 24, 2023 13:11
@mafredri mafredri changed the title fix(coderd): rewrite template app insights query for speed, decrease intervals fix(coderd): optimize template app insights query for speed and decrease intervals Aug 24, 2023
@mafredri mafredri force-pushed the mafredri/perf-improve-tempalte-insights-3 branch from 2f6ea8b to d96187f Compare August 24, 2023 13:23
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.

Oh this whole optimization initiative could be a nice blog post :)

@mafredri mafredri enabled auto-merge (squash) August 24, 2023 14:15
@mafredri mafredri merged commit af939d1 into main Aug 24, 2023
@mafredri mafredri deleted the mafredri/perf-improve-tempalte-insights-3 branch August 24, 2023 14:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2023
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.

3 participants