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

CASSANDRASC-117 Record existing and additional metrics with dropwizard #111

Merged
merged 29 commits into from
Apr 17, 2024

Conversation

sarankk
Copy link
Contributor

@sarankk sarankk commented Apr 9, 2024

No description provided.

@sarankk sarankk changed the title Record existing and additional metrics with dropwizard CASSANDRASC-117 Record existing and additional metrics with dropwizard Apr 9, 2024
@sarankk sarankk force-pushed the additional-metrics branch 8 times, most recently from 1ac085b to 06d6c16 Compare April 10, 2024 05:57
Copy link
Contributor

@yifan-c yifan-c left a comment

Choose a reason for hiding this comment

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

Not a complete review, but submit what I have so far.

@sarankk sarankk force-pushed the additional-metrics branch 3 times, most recently from e9beb62 to bb32b9e Compare April 11, 2024 20:59
@sarankk sarankk requested a review from yifan-c April 11, 2024 21:05
Copy link
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

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

I've left a few comments, but I think we need to address the SSTable Component metrics, because it seems they are not really SSTable Component per se, but rather based on the extension. So either the metric will need to be extension based metric, or we need to correctly determine the SSTable Component

workerExecutor.executeBlocking(promise -> {
long startTime = System.nanoTime();
handler.handle(id);
recordTimeTaken(System.nanoTime() - startTime);
Copy link
Contributor

Choose a reason for hiding this comment

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

unrelated to the PR, but do we need to complete the promise here?

Copy link
Contributor

Choose a reason for hiding this comment

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

It is wrong w/o fulfilling the promise. I have a feedback commit (to be pushed) to address it.

@sarankk
Copy link
Contributor Author

sarankk commented Apr 12, 2024

Thanks @frankgh for the review. Addressed them. Modified to using SSTable component name instead of extension while tagging metrics

Copy link
Contributor

@yifan-c yifan-c left a comment

Choose a reason for hiding this comment

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

The comments and the feedback commit at yifan-c@b12517b

@sarankk sarankk force-pushed the additional-metrics branch 3 times, most recently from da3e0ed to d9f4855 Compare April 16, 2024 22:17
@sarankk
Copy link
Contributor Author

sarankk commented Apr 16, 2024

Thanks @yifan-c for the feedback, addressed it.

Copy link
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

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

+1 thanks for addressing all the comments!

@frankgh frankgh merged commit fd6f7ac into apache:trunk Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants