kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-17248 - KIP 1076 implementation

Open bbejeck opened this issue 1 year ago • 5 comments

Implementation of KIP-1076 to allow for adding client application metrics to the KIP-714 framework

Integration and unit tests forthcoming

Committer Checklist (excluded from commit message)

  • [ ] Verify design and implementation
  • [ ] Verify test coverage and CI build status
  • [ ] Verify documentation (including upgrade notes)

bbejeck avatar Aug 27 '24 22:08 bbejeck

Thanks for the comments @apoorvmittal10 - I've addressed your comments.

bbejeck avatar Sep 05 '24 21:09 bbejeck

should we also verify state store metrics (or are they automatically verified as part of task metrics)?

They are covered as part of task metrics, but I expanded the test to explicitly verify state store metrics are correct as well

bbejeck avatar Sep 09 '24 20:09 bbejeck

@mjsax thanks for the second review, I've addressed your comments

bbejeck avatar Sep 13 '24 17:09 bbejeck

@mjsax, @apoorvmittal10, @AndrewJSchofield comments addressed

bbejeck avatar Sep 30 '24 17:09 bbejeck

@AndrewJSchofield, thanks for the review; I've addressed your comment.

bbejeck avatar Oct 01 '24 17:10 bbejeck

@mjsax

Did not look at test code yet.

I've updated the integration test and I consider it completed at this point

bbejeck avatar Oct 21 '24 20:10 bbejeck

should we extend the test, to not only verify task metrics, but also thread metrics? What about DEBUG and TRACE level?

Sure, but I don't think that should block the PR. Given that TRACE will include all metrics I'd say the end-to-end test should simply extend to set trace level to ensure all expected metrics make it through.

EDIT: I've updated the end-to-end test to include all expected metrics at the INFO, DEBUG, andTRACE levels.

bbejeck avatar Oct 24 '24 20:10 bbejeck

@bbejeck Can you rebase this PR to resolve merge conflicts?

mjsax avatar Nov 02 '24 00:11 mjsax

@mjsax rebased on trunk - ready for final review

bbejeck avatar Nov 02 '24 17:11 bbejeck

Merged #17021 into trunk

bbejeck avatar Nov 05 '24 16:11 bbejeck