We wanted to try out the new analytics capabilities provided by firebase, and followed all the steps in the getting started guide.
我们想要试用firebase提供的新分析功能,并按照入门指南中的所有步骤进行操作。
We 've run the app, logged a lot of events and its been a few hours; yet there is no data on the dashboard - We just see a banner saying "Your analytics data will appear here soon"
我们运行应用程序,记录了很多事件,并且已经过了几个小时;但仪表板上没有数据 - 我们只看到一条横幅,上面写着“您的分析数据很快就会出现在这里”
How much time does it take to get our first reports, events, etc.?
获取我们的第一份报告,活动等需要多长时间?
4 个解决方案
#1
25
It takes a few hours. I would say it takes like 4 hours or something like that, based on current experiments.
这需要几个小时。根据目前的实验,我会说需要4个小时或类似的东西。
Firebase says that it can take up to 24h hours, but the docs says that the dashboard updates "a few times every day".
Firebase表示它可能需要24小时,但文档说仪表板每天更新“几次”。
And if you send the Firebase events to BigQuery, they create a new dataset there everyday, but it seems that the "old" events are not sent immediately, maybe that takes a few hours too, don't know yet.
如果您将Firebase事件发送到BigQuery,他们每天都会在那里创建一个新数据集,但似乎“旧”事件不会立即发送,可能需要几个小时,但还不知道。
If you want to test other features, or see if Firebase is working for your app, you can force a crash, and see it in the Crash panel, cause this works almost real time.
Or you can send a notification to all users, this should work too, and it is faster than waiting for 4h or more to see if it is working really.
Remember to add the dependencies if you are going to try this:
如果您要测试其他功能,或者看看Firebase是否适用于您的应用,您可以强制崩溃,并在“崩溃”面板中查看它,因为这几乎是实时的。或者您可以向所有用户发送通知,这也应该有效,并且比等待4小时或更长时间以查看它是否真的有效更快。如果您要尝试这样做,请记住添加依赖项:
compile 'com.google.firebase:firebase-crash:9.0.0'
compile 'com.google.firebase:firebase-messaging:9.0.0'
#2
16
From the moment an event is logged it might take up to an hour for the event to be uploaded to Firebase Analytics server. First open is normally uploaded within 15 seconds after the app starts but the exact time depends on many factors. You can enable debug logging to verify the events are logged and uploaded.
从记录事件的那一刻起,可能需要一个小时才能将事件上传到Firebase Analytics服务器。首次打开通常在应用程序启动后的15秒内上传,但确切的时间取决于许多因素。您可以启用调试日志记录以验证是否记录和上载事件。
On Android:
在Android上:
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
On iOS:
在iOS上:
- In Xcode, select Product > Scheme > Edit scheme...
- 在Xcode中,选择产品>方案>编辑方案...
- Select Run from the left menu.
- 从左侧菜单中选择“运行”。
- Select the Arguments tab.
- 选择Arguments选项卡。
- In the Arguments Passed On Launch section, add -FIRAnalyticsDebugEnabled.
- 在Argmentments Passed On Launch部分中,添加-FIRAnalyticsDebugEnabled。
Once the data is uploaded it takes about 3 hours for it to appear in the dashboard.
数据上传后,它需要大约3个小时才能显示在仪表板中。
The export to BugQuery runs once a day so you need 24 hours to see the data after the events were uploaded.
导出到BugQuery每天运行一次,因此您需要24小时才能在事件上传后查看数据。
#3
11
Why it just so happens I wrote a blog post on exactly this topic!
为什么会这样呢?我写了一篇关于这个主题的博文!
You should check it out for all the details, but the tl;dr is "a few hours", unless you're exporting your data to BigQuery.
您应该查看所有详细信息,但tl; dr是“几个小时”,除非您将数据导出到BigQuery。
#4
2
Firebase Analytics Event Update time on Firebase Console.
Firebase控制台上的Firebase Analytics事件更新时间。
When an event is logged, It might take up to an hour for the event to be uploaded to Firebase Analytics server and to reflect on Firebase console.
记录事件时,可能需要一个小时才能将事件上载到Firebase Analytics服务器并反映在Firebase控制台上。
You can enable debug logging to verify the events are logged and uploaded using the Android studio's terminal
您可以启用调试日志记录,以验证使用Android studio终端记录和上载事件
- Make sure you are not connected to more than one device/emulator
- 确保未连接到多个设备/仿真器
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
#1
25
It takes a few hours. I would say it takes like 4 hours or something like that, based on current experiments.
这需要几个小时。根据目前的实验,我会说需要4个小时或类似的东西。
Firebase says that it can take up to 24h hours, but the docs says that the dashboard updates "a few times every day".
Firebase表示它可能需要24小时,但文档说仪表板每天更新“几次”。
And if you send the Firebase events to BigQuery, they create a new dataset there everyday, but it seems that the "old" events are not sent immediately, maybe that takes a few hours too, don't know yet.
如果您将Firebase事件发送到BigQuery,他们每天都会在那里创建一个新数据集,但似乎“旧”事件不会立即发送,可能需要几个小时,但还不知道。
If you want to test other features, or see if Firebase is working for your app, you can force a crash, and see it in the Crash panel, cause this works almost real time.
Or you can send a notification to all users, this should work too, and it is faster than waiting for 4h or more to see if it is working really.
Remember to add the dependencies if you are going to try this:
如果您要测试其他功能,或者看看Firebase是否适用于您的应用,您可以强制崩溃,并在“崩溃”面板中查看它,因为这几乎是实时的。或者您可以向所有用户发送通知,这也应该有效,并且比等待4小时或更长时间以查看它是否真的有效更快。如果您要尝试这样做,请记住添加依赖项:
compile 'com.google.firebase:firebase-crash:9.0.0'
compile 'com.google.firebase:firebase-messaging:9.0.0'
#2
16
From the moment an event is logged it might take up to an hour for the event to be uploaded to Firebase Analytics server. First open is normally uploaded within 15 seconds after the app starts but the exact time depends on many factors. You can enable debug logging to verify the events are logged and uploaded.
从记录事件的那一刻起,可能需要一个小时才能将事件上传到Firebase Analytics服务器。首次打开通常在应用程序启动后的15秒内上传,但确切的时间取决于许多因素。您可以启用调试日志记录以验证是否记录和上载事件。
On Android:
在Android上:
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
On iOS:
在iOS上:
- In Xcode, select Product > Scheme > Edit scheme...
- 在Xcode中,选择产品>方案>编辑方案...
- Select Run from the left menu.
- 从左侧菜单中选择“运行”。
- Select the Arguments tab.
- 选择Arguments选项卡。
- In the Arguments Passed On Launch section, add -FIRAnalyticsDebugEnabled.
- 在Argmentments Passed On Launch部分中,添加-FIRAnalyticsDebugEnabled。
Once the data is uploaded it takes about 3 hours for it to appear in the dashboard.
数据上传后,它需要大约3个小时才能显示在仪表板中。
The export to BugQuery runs once a day so you need 24 hours to see the data after the events were uploaded.
导出到BugQuery每天运行一次,因此您需要24小时才能在事件上传后查看数据。
#3
11
Why it just so happens I wrote a blog post on exactly this topic!
为什么会这样呢?我写了一篇关于这个主题的博文!
You should check it out for all the details, but the tl;dr is "a few hours", unless you're exporting your data to BigQuery.
您应该查看所有详细信息,但tl; dr是“几个小时”,除非您将数据导出到BigQuery。
#4
2
Firebase Analytics Event Update time on Firebase Console.
Firebase控制台上的Firebase Analytics事件更新时间。
When an event is logged, It might take up to an hour for the event to be uploaded to Firebase Analytics server and to reflect on Firebase console.
记录事件时,可能需要一个小时才能将事件上载到Firebase Analytics服务器并反映在Firebase控制台上。
You can enable debug logging to verify the events are logged and uploaded using the Android studio's terminal
您可以启用调试日志记录,以验证使用Android studio终端记录和上载事件
- Make sure you are not connected to more than one device/emulator
- 确保未连接到多个设备/仿真器
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC