fix: simplify logic and enable correct recording rule groups for managed prom #8737
bragi92:main was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.
Pushing new commits will allow the pull request to be re-opened.