-
Notifications
You must be signed in to change notification settings - Fork 22
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
DBZ-6998: Align min, max of Histogram/Statistics #91
Conversation
Motivation: Users experienced inconvenience because the statistics-related class was implemented separately. So that we abstracted common methods. Modification: - Fix(Statistics): Add set method Result: User experience will be improved by common methods. Co-authored-by: Bue-von-hon <dkssudvn2@gmail.com> Co-authored-by: chungeun-choi <cucuridas@gmail.com>
Welcome as a new contributor to Debezium, @dongwook-chan. Reviewers, please add missing author name(s) and alias name(s) to the COPYRIGHT.txt and Aliases.txt respectively. |
@Bue-von-hon No worries. The files in question are located in the main repository. |
Co-authored-by: sean-k1 <uhs2000@naver.com> Co-authored-by: jongwony <lastone9182@gmail.com>
2d9b068
to
3e3c598
Compare
@jpechane |
Co-authored-by: cjho0316 <cjho03160316@gmail.com>
@nancyxu123 Hi, can you please take a look? What freedom do we have in playing with metrics? |
@nancyxu123 PTAL |
Thanks for the PR! Will take a look this week, thanks! |
Overall LGTM. (1) What motivated the need for this PR? (2) Can we add metrics validation into one of the integration tests? For example, any file that ends with IT.java: https://github.com/debezium/debezium-connector-spanner/blob/main/src/test/java/io/debezium/connector/spanner/BasicSanityCheckIT.java |
@nancyxu123 (1) (2) assertThat(mBeanServer.isRegistered(objectName, "totalLatency")).isEqualTo(true);
assertThat(mBeanServer.isRegistered(objectName, "connectorLatency")).isEqualTo(true);
// and same for the other metrics as well |
Sounds good, thanks for the explanation! |
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.
@nancyxu123 Feel free to merge when you are satisifed with tests.
@nancyxu123 |
@jpechane To resolve the issue, I tried running integration tests.
But the test failed and especially for running
Could I get some advice on how to run integration tests? |
Hi, I'd recommend to re-build the core repo locally (with clean) and then do the same with Spanner repo. |
@jpechane
To be honest, I'm really not sure what I'm doing wrong here at this point. |
Motivation:
Users experienced inconvenience because the statistics-related class was implemented separately. So that we abstracted common methods.
Modification:
Result:
User experience will be improved by common methods.