Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Analytics upload delay

Is there any way to increase Firebase Analytics upload rate for logged events on android? Currently it uploads them every hour and it is too slow for testing purposes.

I found references to following keys (with hardcoded defaults) in jars, but no idea how to change them.

  • "measurement.upload.backoff_period", 43200000L
  • "measurement.upload.window_interval", 3600000L
  • "measurement.upload.interval", 3600000L
like image 564
Yapaxi Avatar asked May 24 '16 14:05

Yapaxi


2 Answers

There is currently no way to manually override these settings. However, we recognize the need to see your reporting more quickly and we hope to address this need soon.

In the meantime, you can enable verbose debug output to verify that your events are indeed being logged and uploaded. Issue the following commands and then run your app and log events :

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

Hope this helps,

Steve Ganem

Product Manager, Firebase Analytics

like image 88
Steve Ganem Avatar answered Oct 21 '22 20:10

Steve Ganem


I found a "way" to load test data a bit faster: data wipe (emulator) forces app to use "initial delay", which is 15 seconds only.

like image 23
Yapaxi Avatar answered Oct 21 '22 21:10

Yapaxi