What problem do you want to solve?
All instrumentations are lacking in thorough autoinstrumentation tests
Describe the solution you'd like
Consider taking the logic in [this pr](: #2860) and modularizing it to be easily used across all instrumentations. Make sure that a breaking change like this would still break the tests.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
None