Firebase 性能视图会话显示没有会话

问题描述 投票:0回答:2

我正在尝试按照 文档将我的 Android 应用程序与 Firebase 性能监控集成。

我看到控制台中报告了数据,但我总是看到“0 个会话”。当我点击“查看会话”时,我只是收到一条通用消息,说我需要升级我的 SDK。

我正在使用

'com.google.firebase:firebase-perf:20.0.1'

我错过了什么吗?

android firebase firebase-performance
2个回答
0
投票

如果您正在使用远程配置,请检查它,并创建更多性能场景以收听,因为设备未正确触发它。

来源:https://firebase.google.com/docs/perf-mon/app-start-foreground-background-traces?authuser=0#more-detail-trace-samples


0
投票

您是否生成了 100 个或更多样本?我发现这个 Github 评论解释说采样率为 1%,因此您需要至少 100 个样本才能显示会话:https://github.com/firebase/firebase-ios-sdk/issues/10799#issuecomment -1424141052

© www.soinside.com 2019 - 2024. All rights reserved.