Auto alerts for Firebase users with Functions, Logging, and BigQuery
summary
Builds a Firebase restaurant-review app, routes Hosting request logs via a Cloud Logging sink into BigQuery, and queries aggregated HTTP status codes with a BigQuery remote function that calls a Cloud Function. The deployed function (tested locally with the Functions Framework, Node.js runtime) inspects each row and sends an email when a status code is >= 400 with count > 50. A scheduled query runs this regularly, and alerts are sent automatically.
AI-written summary · about
chapters (5)
- 0:00Introduction to serverless
- 1:30Building the firebase app
- 3:14Developing the alert function
- 5:13Connecting BigQuery and alerts
- 6:21Automation and conclusion
related talks
46mFirebase & BigQuery - Do Mobile App Analytics Easily & at Scale - Queries Included
28mFirebase analytics for BigQuery
54mFocus on Your Code, Not Infrastructure, with Google Cloud Functions
48mWhat’s new in Firebase
29mCrash-reporting taken to next-level
33mRealtime Awesomeness: An Intro to Building Apps With Firebase
37mBuilding Scalable Apps with Cloud Firestore
36mCodelab: Build an Android app with Firebase and Cloud Firestore
