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()` 呼叫開始。在 production 環境中重現,並檢查請求是否到達 `firebaselogging.googleapis.com`;當效能追蹤再次回報至 Firebase 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
firebase, typescript
領域
observability
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。