Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Tablet throttler: read and use MySQL host metrics #16904
Tablet throttler: read and use MySQL host metrics #16904
Changes from 40 commits
71d98fe
9922731
214db0d
5660b77
2ec9f75
0741a2b
0b3666b
20e0577
df99856
a5d76d3
098e6a4
338c52c
4250909
07a3461
2c48d36
0d73d30
e3fccae
757cada
7dd4b8b
73fd43f
9166093
545112f
72b09b9
91d2e42
38b9d73
adfcf6d
d8b6ec2
6726285
79b964f
838e610
9d9d551
e25437a
14bae55
4c097f9
80891a0
3b45b2b
6a37aa2
5675ea8
ceb2f81
50f7f27
c2c3384
b3f3199
8adc7eb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do these changes relate to the PR? Is it that we're getting rid of the old
loadavg
OS metric now that we have the newmysql-loadavg
metric and so we wanted to test another MySQL process metric here?Is there any reason that we're not using any of the new MySQL host metrics in the e2e tests? Or am I missing something here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #16904 (comment): it's about tests failing on MacOS machines.
You're not missing anything here. Let me see what we can do for e2e tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
endtoend
tests that verify the fullMysqlHostMetrics
path don to mysqld, and checking response values. We check the existence of both newmysqld-*
values, and we specifically check thatmysqld-datadir-used-ratio
is non-zero (as can be expected in local hosts and in CI). We do not check the value ofmysqld-loadavg
as that could be arbitrarily low and even appear to be zero, as well as because we do not implement it in MacOS.