Hi,
I have an android app and a webapp using Firestore. The firestore read count is strangely high in my application, which I cannot explain by looking at how my app is supposed to behave.
I tried to find a way to profile firestore, so I can get an idea on which collection is used the most, or which client is reading the data the most, but couldn't find any way to profile the db.
Then I added a log entry to webapp and android app in each place a read operation is done, which reports the read count to a server. But, it only reports a very low number of reads, compared to the read count I see in usage stats in firebase console. So I am guessing there are some read operations I have missed to log.
It would be better if I could get the the read count directly from the firestore client library, so I don't miss to log any reads.
Is there any way I can get the usage statistics from android and javascript client libraries? Or can anyone suggest a better way to locate the issue?
Thanks