angular / angular/angularfire

Performance traces are not being reported to firebase anymore

オープン
#3,282 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
comp: performance needs: recheck type: bug version: current (v17+)
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。