Open misomarcell opened 1 year ago
Update
After a couple of days debugging this issue I figured, that performance reports only being sent, if the Performance class is injected at least once, for example in the constructor of the app.component.ts
. Weirdly enough I didn't even have to use the the performance instance, it just has to be injected.
I believe it's a bug, since if I only need the traceUntilFirst
operators in my app, there's no point injecting this class.
@misomarcell I was having the same problem and injecting the performance class solved my issue, thanks.
Seems like a pretty major issue to have been reported more than 6 months ago and still not being solved.
Version info
Angular:14.2.4
Firebase:9.10.0
AngularFire:7.4.1
How to reproduce these conditions
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.