I have a Books API project, and the GCP shows "No data is available for the selected time frame" for the last 30 days. This message appears on both the "Metrics" and "Quotas" pages. See screenshots below.
Clearly there is data, which I can see via my app analytics reports.
Any suggestions on how to fix it?


UPDATE 1: Following are some points that were missing on the original post:
Any suggestion why would the GCP console tell that no data is available, while data is indeed available?

Just putting this here since when I googled this was the first link that came up. I was experiencing the same issue. But my issue was on GKE's observability tab. I had enabled monitoring for the cluster but I was still getting the error above. I had to ensure the service account running GKE has these permissions:
Thanks to this blog post which helped me figure this out after struggling to determine what was the issue. It's a shame GCP does not really document this important step.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With