gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 10:14:53 26 4
gpt4 key购买 nike

我在 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com