fix: Confluent Platform Intergration - Correct Mbean regex stream thread metric
What does this PR do?
Fixed the JMX Mbean regex to collect stream thread metrics of ksqldb in Confluent Platform. And added the blocked-time-ns-total metric. (described in confluent docs as being very useful for debugging Kafka Streams application performance)
Motivation
I am maintaining a confluent platform, and while configuring the ksqldb dashboard, I discovered that stream thread metrics were not collected.
Additional Notes
Review checklist (to be filled by reviewers)
- [ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
- [ ] Changelog entries must be created for modifications to shipped code
- [ ] Add the
qa/skip-qalabel if the PR doesn't need to be tested during QA. - [ ] If you need to backport this PR to another branch, you can add the
backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.83%. Comparing base (
2a6ec26) to head (4bc637c). Report is 113 commits behind head on master.
Additional details and impacted files
| Flag | Coverage Δ | |
|---|---|---|
| confluent_platform | 81.96% <ø> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Test Results
8 files 8 suites 53s :stopwatch: 1 tests 1 :white_check_mark: 0 :zzz: 0 :x: 8 runs 4 :white_check_mark: 4 :zzz: 0 :x:
Results for commit d07f2869.
:recycle: This comment has been updated with latest results.
@jhgilbert thank you for your approve.
@jhgilbert how may i merge this pr?
@steveny91 Could you please confirm?
Looks good on my end. Thanks for the contribution. I'll get this merged in next week so that it can be released with the next agent (7.55).
One last nit is to rename the changelog enty file from .fixed to .added. But I can take care of that as well next week. Thanks again!
@steveny91 thank you! renamed the changelog to be more appropriate as suggested. Thank you again for accepting my PR.
@tlsdnwn55 no problem! Thanks for the contribution! I'll merge this in this week.