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

fix: use window function lagInFrame for rate calculation #4068

Merged
merged 8 commits into from
Nov 28, 2023

Conversation

srikanthccv
Copy link
Member

@srikanthccv srikanthccv commented Nov 25, 2023

Copy link

request-info bot commented Nov 25, 2023

We would appreciate it if you could provide us with more info about this issue/pr!

@github-actions github-actions bot added the bug Something isn't working label Nov 25, 2023
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@srikanthccv srikanthccv marked this pull request as ready for review November 27, 2023 09:30
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@srikanthccv
Copy link
Member Author

@ankitnayan PTAL.

@srikanthccv
Copy link
Member Author

I verified by comparing the side-by-side version of this window function vs the running difference in production. The query timing is mostly the same. The window function is guaranteed to produce correct results all the time and customers won't see something like this https://signoz-team.slack.com/archives/C060B97HFRN/p1700744154708009

@srikanthccv
Copy link
Member Author

I would like to get this merged and released.

@srikanthccv
Copy link
Member Author

Please review

@srikanthccv srikanthccv merged commit b6a79ab into develop Nov 28, 2023
8 checks passed
@srikanthccv srikanthccv deleted the use-lag-in-frame branch November 28, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working request-more-info
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants