Add KafkaNodePool resource count metric and fix dashboard defaults#12281
Conversation
cb1bc6a to
4dc1d42
Compare
scholzj
left a comment
There was a problem hiding this comment.
Thanks for the PR.
I wonder whether this is an efficient solution given we are doing the listing here just for the sake of the metric. But it seems the same kind of workaround we alreadyuse for connectors, so maybe we can stick with it ... 🤔
|
It seems some tests failed on Azure. Let's see if they fail on GitHub Actions as well. But my guess is that they are related to this change: I think you likely need to mock additional methods to make them pass. |
dbe4540 to
db4f82c
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12281 +/- ##
============================================
- Coverage 74.82% 74.81% -0.01%
- Complexity 6633 6639 +6
============================================
Files 376 376
Lines 25351 25370 +19
Branches 3402 3402
============================================
+ Hits 18969 18981 +12
- Misses 4995 5000 +5
- Partials 1387 1389 +2
🚀 New features to boost your workflow:
|
|
/gha run pipeline=regression |
|
⏳ System test verification started: link The following 6 job(s) will be executed:
Tests will start after successful build completion. |
|
🎉 System test verification passed: link |
scholzj
left a comment
There was a problem hiding this comment.
@syedazeez337 The code for the Node pool metrics looks good to me. But on the community call on Thursday during the issue triaged, we discussed the #12139 issue and the decision was that the defaults should be verywhere N/A rather than 0. Maybe the easiest way would be to remove the dashboard change from this PR, get this merged and the #12139 can be handled in a separate PR? Thanks.
- Add nodePoolResourceCounter to KafkaAssemblyOperatorMetricsHolder - Override reconcileThese() in KafkaAssemblyOperator to count NodePools - Add unit tests for new metrics methods - Add mocks for nodePoolOperator.listAsync() in KafkaAssemblyOperatorWithKRaftTest Fixes strimzi#12138 Signed-off-by: Azeez Syed <syedazeez337@gmail.com>
db4f82c to
39a6648
Compare
|
@scholzj Hi, if I may ask, is anyone working on the other pr or can I take that as well? |
|
@syedazeez337 You mean the #12139? Sure, you can work on it. |
Fixes #12138