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

refactor: collecting memory usage during scan #2353

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

shuiyisong
Copy link
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This pr mainly replaces BaselineMetrics to a customized metrics struct in order to hold memory usage during scan plan, indicating the returning size of the dataset to the corresponding query request.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@shuiyisong shuiyisong marked this pull request as ready for review September 12, 2023 03:11
Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #2353 (a027806) into develop (466fbac) will decrease coverage by 0.35%.
The diff coverage is 94.44%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2353      +/-   ##
===========================================
- Coverage    85.13%   84.78%   -0.35%     
===========================================
  Files          715      716       +1     
  Lines       117560   117592      +32     
===========================================
- Hits        100082    99705     -377     
- Misses       17478    17887     +409     

@shuiyisong
Copy link
Contributor Author

shuiyisong commented Sep 12, 2023

@sunng87 PTAL ☺️

@waynexia waynexia merged commit 6e59340 into GreptimeTeam:develop Sep 12, 2023
22 checks passed
@shuiyisong shuiyisong deleted the refactor/mem_metrics branch September 12, 2023 07:54
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: try custom metrics

* chore: fix header

* chore: minor change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants