angular / angular/angularfire

Performance traces are not being reported to firebase anymore

未关闭
#3,282 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
comp: performance needs: recheck type: bug version: current (v17+)
主要语言
TypeScript
星标
7.8k
派生
2.2k
平均合并
22 小时 28 分钟
30 天内合并 PR
6

描述

### Version info

**Angular:**14.2.4

**Firebase:**9.10.0

**AngularFire:**7.4.1

### How to reproduce these conditions
```
...
imports: [
provideFirebaseApp(() => initializeApp(environment.firebase)),
providePerformance(() => (environment.production ? getPerformance() : undefined)),
]
```

Note that the environment is in fact production, I've verified it, so the `getPerformance()` should be evaluated.

### Debug output

** Screenshots **
![image](https://user-images.githubusercontent.com/22910115/197647332-f196407b-bf48-467b-82e2-c9832c594afe.png)

### Expected behavior

AngularFire Performance reporting performance data to Firebase.

### Actual behavior

Not even network requests to `firebaselogging.googleapis.com` are happening. I've received data only between 11 and 20 of October. The relevant code did not change, so I have no clue why trace reporting stopped after the 20th.

贡献指南

打开贡献指南

调研方向

使用列出的 Angular、Firebase 和 AngularFire 版本,从复现中所示的 AngularFire `providePerformance` 集成和 `getPerformance()` 调用开始。在生产环境中复现,并检查请求是否到达 `firebaselogging.googleapis.com`;当性能跟踪再次报告到 Firebase 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
firebase, typescript
领域
observability
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。