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

标签 firebase google-cloud-firestore

我在 Firebase 控制台 > Firestore > 使用部分监控文档读取计数。

但是,我想找到一种方法来查看按集合分类的文档读取计数,以便我可以知道要优化哪个查询。

有什么办法吗?
我查看了 GCP 监控,但我无法在这里实现我想做的事情。

我从js SDK和nodejs Admin SDK读取文档

最佳答案

除了过去 30 天整个数据库的总运行读取计数外,Firestore 不提供其他统计信息。如果您需要更具体的内容,则必须自己以某种方式记录下来。

关于Firebase Firestore : How to monitor read document count by collection?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61112274/

相关文章:

ios - 显示最近的问题 clang : error: linker command failed with exit code 1 (use -v to see invocation)?

ios - 在 Swift 中采用 FIRGeoPoint 到 Codable 协议(protocol)

firebase - Firebase:让用户分别与服务器通信

swift - 数组中不在 UITableView 中的所有项目

swift - 如何同时从firebase获取第一级和第二级数据?

java - 发现名称 : getText 存在冲突的 getter

firebase - 如何检查数组是否包含 Firestore 中的两个特定字符串?

angular - 我有一个关于长度的问题。错误类型错误 : Cannot read property 'length' of undefined

firebase - angular2 firebase 实时更新不起作用

firebase - 在谷歌云功能中找不到包 "firebase.google.com/go"