Check project onboarded before getting usage data
Problem
In the backend for fetching a groups product analytics usage quota data, we check to see if product analytics is enabled (globally) and return early if not, but we don't check if the project itself is onboarded for product analytics.
This results in many unnecessary requests being made to the analytics configurator, which result in database does not exist
errors.
Proposal
Add a check for the project being onboarded before doing usage quota request
Edited by Elwyn Benson