CNDB-9707 Implement RequestSensorsFactory to control sensors tracking per keyspace
Addresses: https://github.com/riptano/cndb/issues/9707
Adds RequestSensorsFactory that can be provided from upstream dependents to effectively enable/disable sensors tracking per ks
This looks ok to me conceptually. Is this ready for a review?
Let me do the changes on CNDB side and then mark it as ready for review - but I thought I'd share a draft version for early feedback on the direction
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
89.6% Coverage on New Code
0.0% Duplication on New Code
@niksajakovljevic This is ready for review: the first commit has been rebased to the latest main-ucu, the second commit is some new stuff needed by CNDB.
we should properly mark constructors for testing
Done it based on your previous comments but forgot to push :man_facepalming:, here you are: https://github.com/datastax/cassandra/pull/1148/commits/d4b6a3d3f255f87aa02f197e45de484086934b35
Quality Gate passed
Issues
5 New issues
0 Accepted issues
Measures
0 Security Hotspots
91.4% Coverage on New Code
0.0% Duplication on New Code