Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Performance not showing requests made to Cloud Firestore

I installed the Firebase Performance SDK and was surprised by the success rate I was getting. I went into more detail only to see that the calls listed on the "Network Request" tab are all of different requests such as Crashlytics and other custom ones, but nothing related to the performance of my Cloud Firestore requests.

Are these requests meant to show up there, or am I using FP wrong? Is there any other way to see the success rate and performance of my Cloud Firestore Database?

Thanks!

like image 510
Jacobo Koenig Avatar asked Sep 17 '25 04:09

Jacobo Koenig


1 Answers

Firebase Performance Monitoring only picks up HTTP requests automatically. It doesn't know anything about Firestore requests, because they don't go over an HTTP connection using an API that it knows about.

If you want to measure Firestore performance from using Firebase Perf, you'll have to write code for that, either with traces or the manual HTTP . You can use the manual network request API. The API is not well documented right now, but it lets you write code that creates HTTP metrics in the dashboard according to your own measurements.

like image 191
Doug Stevenson Avatar answered Sep 19 '25 22:09

Doug Stevenson