Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Firestore: How to monitor read document count by collection?

I'm monitoring document read count in Firebase Console > Firestore > Usage section.

However, I want to find a way to see document read count by collection so that I can know which query to optimize.

Is there anyway for that?
I looked into GCP monitoring but I couldn't achieve what I want to do here.

I read documents from js SDK and nodejs Admin SDK

like image 203
tera_mx Avatar asked Oct 23 '25 11:10

tera_mx


1 Answers

Firestore provides no accounting other than a total running read count for the entire database for the last 30 days. If you need something more specific, you'll have to record it yourself somehow.

like image 67
Doug Stevenson Avatar answered Oct 25 '25 10:10

Doug Stevenson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!