Budget alerts can be setup in the Google Cloud Console. These budgets aren't just for Firebase, but across all approximately 272 Google products.
Budgets in Google go against a billing account. Get started by going to the Google Billing and choose your billing account and on the left menu choose "Budgets & alerts". Click "+ Create Budget" in the top menu.
Setting up a budget and alerts is a multi-step process. You will need to repeat the process for each Firebase feature you want to track.
Start by naming your budget, choosing a project (note, non-Firebase projects will be listed), and selecting the product you want to track.
To find the Firebase products search for "Firebase",
Find the Firebase products by filtering for "Firebase", "Cloud Storage", or "Cloud Functions".
Filter for Firebase
Important: "Cloud Firestore" is not a selectable product. If you want a budget alert for Firestore you'll need to select "Firebase", which includes all Firebase products. However, you get can setup Firestore budget alerts with fireRun.io.
Next, you will need to specify your target budget amount. If you want to include your free quota limit, leave the checkbox "Include credits in cost". We suggest you do.
Finally, you need to create the alert and specify the thresholds to send the emails on. You can also send these to a pub/sub topic.
If you want to create a budget for a different Firebase product, you'll need to repeat the steps again.
Create fireRun.io Firebase Budget Alerts
Creating budget alerts in the fireRun.io dashboard is a one-step process. You will be emailed whenever your budget is hit.
Head to your fireRun.io Alerts in your dashboard. Scroll down to Budget Alerts.
Firebase Budget Alert
For each of your Firebase project set a alert $ amount. Once the dollar amount is hit in a given month, you will be alerted via email.
Changes are auto saved.
You'll now get emails when a budget limit is hit. Head back to the dashboard to change or disable these alerts.
You can also set up Anomaly Detection Alerts to detect when abnormal usage occurs.