问题描述
在哪里可以获得Firebase Realtime Database的详细用法,即我想获取有关在何处使用数据的详细信息?我的数据库大小大约为700kb,两天内下载了10GB,我无法弄清楚,这是怎么发生的.目前,使用情况标签仅按天显示基本使用情况.我可以获取更多详细的使用信息吗?
Where can I get Firebase Realtime Database detailed usage i.e. I want to get details about where data is being used? My database size is about 700kb and 10GB downloaded in 2 days, I am unable to figure it out, how did this happen. Currently, the usage tab just showing me the basic usage by day. Can I get more detailed usage information?
推荐答案
请参见监控使用情况,其中列出了两个主要选项:
See the Firebase documentation on monitoring usage, which lists two main options:
- 您已经找到的Firebase控制台中的用法.
- StackDriver监视,它将为您提供更详尽的使用情况数据.
如果这些都不能让您确定使用的来源,那么您还有其他选择/事项要考虑:
If neither of these allow you to determine where the usage is coming from, you have a few more options/things to consider:
- 请记住,在Firebase控制台中显示数据库的流量也要收费.特别是在开发的早期,这可能是用法的主要部分,因为您还没有很多用户.
- 您可以使用数据库分析器,它将所有活动记录在您在指定时间内的数据库.
- Keep in mind that traffic for showing the database in the Firebase console is also charged. Especially early on in development this can be a major portion of the usage, as you won't have many users yet.
- You can use the database profiler, which logs all the activity in your database over a given period of time.
这篇关于Firebase实时数据库的详细用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!