I am making a software using firebase, this software has both user UI and Admin UI. An admin either activate, deactivate or remove certain users and do nothing. I want to add some more features to the admin UI. Something like being able to check my firebase account’s usage, current plan and so on.
In simple words, is there any way to find below details of a single firebase project of mine using firebase-admin package?
- Used storage bucket space and totally available bucket size, downloads and uploads
- Firestore database write and read counts and maximum read/writes as per the current plan
- The total number of users currently existing in my firebase auth
- Cloud functions errors count
Being able to fetch these data in realtime would be more better and there maybe some kind of way for drawing graphs on the dashboard on the basis on these data.
I have initialized firebase-admin by calling
admin.initializeApp(); and the code for activating and or deactivating users. What about the analytics ? Is it possible with firebase-admin ? I’d tried a lot Googling but didn’t found a way…