Firebase Analytics上传延迟 [英] Firebase Analytics upload delay

查看:143
本文介绍了Firebase Analytics上传延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以提高Android上已记录事件的Firebase Analytics上传率吗?目前,它每小时都会上传一次,对于测试而言,它太慢了.

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.

我在jars中找到了对以下键(具有硬编码默认值)的引用,但不知道如何更改它们.

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

推荐答案

当前无法手动覆盖这些设置.但是,我们认识到有必要更快地查看您的报告,并希望尽快解决这一需求.

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

希望这会有所帮助,

Steve Ganem

Steve Ganem

Firebase Analytics产品经理

Product Manager, Firebase Analytics

这篇关于Firebase Analytics上传延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆