Monitor your Realtime Database usage

Firebase offers three different pricing plans, with different usage limits, so you can pay for what you need. Use the Firebase console to monitor your usage, see your plan's limits, change the frequency of usage alerts, and upgrade your plan. 

If you exceed your usage limits, upgrade your plan to avoid service disruptions. Click Upgrade in the Firebase console. It may take up to 15 minutes to update your plan limits in the Firebase console.

Check your Realtime Database usage

Monitor your database usage and check your plan's limits from the Usage tab in the Firebase console. You can check usage over the current billing period, the last 30 days, or the last 24 hours.

Firebase shows usage statistics for the following limits:

  • Connections: The number of simultaneous, currently open, realtime connections to your database. This includes the following realtime connections: WebSocket, long polling, and HTML server-sent events. It does not include RESTful requests.
  • Storage: How much data is stored in your database. This doesn't include Firebase hosting or data stored through other Firebase products.
  • Downloads: All bytes downloaded from your database, including protocol and encryption overhead. 

Set usage alerts

You can choose to receive email alerts when your Realtime Database usage is approaching one of the limits on your Spark or Flame plan. Firebase sends email alerts by default when you've reached or exceeded a plan limit, but you can opt-in to these earlier notifications to adjust your plan or usage and avoid any service disruptions.

  1. Go to the Alert subscriptions section of the Firebase console and select your project from the list.
  2. Select the Email option in the section for Database alerts.

 

Was this helpful?
How can we improve it?