Google Cloud Firebase

Overview

Firebase is a mobile platform that helps you quickly develop high-quality apps, grow your user base, and earn more money.

Get metrics from Google Firebase to:

  • Visualize the performance of your Firebase databases and hosting services.
  • Correlate the performance of your Firebase tools with your applications.

Setup

Installation

If you haven’t already, set up the Google Cloud Platform integration first. There are no other installation steps that need to be performed.

Log collection

Google Firebase logs are collected with Google Cloud Logging and sent to a Dataflow job through a Cloud Pub/Sub topic. If you haven’t already, set up logging with the Datadog Dataflow template.

Once this is done, export your Google Firebase logs from Google Cloud Logging to the pub/sub:

  1. Go to the Google Cloud Logging page and filter the Google Firebase logs.
  2. Click Create Export and name the sink.
  3. Choose “Cloud Pub/Sub” as the destination and select the pub/sub that was created for that purpose. Note: The pub/sub can be located in a different project.
  4. Click Create and wait for the confirmation message to show up.

Data Collected

Metrics

gcp.firebasedatabase.io.database_load
(gauge)
Percentage of io database load grouped by type
Shown as percent
gcp.firebasedatabase.io.persisted_bytes_count
(count)
Bytes of data persisted to disk
Shown as byte
gcp.firebasedatabase.io.sent_responses_count
(count)
Number of responses sent or broadcasted to clients
Shown as byte
gcp.firebasedatabase.io.utilization
(gauge)
Percentage of io utilization
Shown as percent
gcp.firebasedatabase.network.active_connections
(gauge)
Number of outstanding connections
Shown as connection
gcp.firebasedatabase.network.sent_bytes_count
(count)
Outgoing bandwidth usage for Firebase database
Shown as byte
gcp.firebasedatabase.network.api_hits_count
(count)
The number of hits against your database grouped by type
gcp.firebasedatabase.network.broadcast_load
(gauge)
Utilization of the time it takes to prepare and send broadcasts to clients
gcp.firebasedatabase.network.https_requests_count
(count)
Number of HTTPS requests received
gcp.firebasedatabase.network.sent_payload_and_protocol_bytes_count
(count)
The outgoing bandwidth usage without encryption overhead
Shown as byte
gcp.firebasedatabase.network.sent_payload_bytes_count
(count)
The outgoing bandwidth usage without encryption nor protocol
Shown as byte
gcp.firebasedatabase.rules.evaluation_count
(count)
The number of Firebase Realtime Database Security Rule evaluations performed
gcp.firebasedatabase.storage.total_bytes
(gauge)
Total size of the Firebase database storage.
Shown as byte
gcp.firebasehosting.network.sent_bytes_count
(count)
Outgoing bandwidth usage for Firebase Hosting
Shown as byte
gcp.firebasehosting.storage.total_bytes
(gauge)
Total size of the Firebase Hosting storage.
Shown as byte
gcp.firebasedatabase.network.disabled_for_overages
(gauge)
Indicates if the Firebase database has been disabled for network overages
gcp.firebasedatabase.network.monthly_sent
(gauge)
The total outgoing bytes sent aggregated and reset monthly
Shown as byte
gcp.firebasedatabase.network.monthly_sent_limit
(gauge)
The monthly network limit for the Firebase database
Shown as byte
gcp.firebasedatabase.status.disabled_for_overages
(gauge)
Indicates if the Firebase database has been disabled for overages
gcp.firebasedatabase.storage.disabled_for_overages
(gauge)
Indicates if the Firebase database has been disabled for storage overages
gcp.firebasedatabase.storage.limit
(gauge)
The storage limit for the Firebase database
Shown as byte

Events

The Google Firebase integration does not include any events.

Service Checks

The Google Firebase integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.