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 topic:

  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 topic that was created for that purpose. Note: The Pub/Sub topic can be located in a different project.
  4. Click Create and wait for the confirmation message to show up.

Data Collected

Metrics

gcp.firebaseappcheck.resources.verification_count
(count)
Verifications performed by an integrating service for a target resource.
gcp.firebaseappcheck.services.verification_count
(count)
Verifications performed by an integrating service.
gcp.firebaseauth.phone_auth.phone_verification_count
(count)
Detailed count of phone verification.
gcp.firebasedatabase.io.database_load
(gauge)
Percentage of I/O 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 I/O utilization.
Shown as percent
gcp.firebasedatabase.network.active_connections
(gauge)
Number of outstanding connections.
Shown as connection
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.disabled_for_overages
(gauge)
Indicates if the Firebase database has been disabled for network overages.
gcp.firebasedatabase.network.https_requests_count
(count)
Number of HTTPS requests received.
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.network.sent_bytes_count
(count)
Outgoing bandwidth usage for Firebase database.
Shown as byte
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.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
gcp.firebasedatabase.storage.total_bytes
(gauge)
Total size of the Firebase database storage.
Shown as byte
gcp.firebasedataconnect.connector.datasource_latencies.avg
(count)
The average the latency of the data sources queried by the pre-defined operation executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.connector.datasource_latencies.samplecount
(count)
The sample count for the latency of the data sources queried by the pre-defined operation executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.connector.datasource_latencies.sumsqdev
(count)
The sum of squared deviation for the latency of the data sources queried by the pre-defined operation executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.connector.datasource_request_bytes_count
(count)
The number of bytes sent to the data source queried by the pre-defined operation executed by the connector.
Shown as byte
gcp.firebasedataconnect.connector.datasource_response_bytes_count
(count)
The number of bytes returned by the data source queried by the pre-defined operation executed by the connector.
Shown as byte
gcp.firebasedataconnect.connector.network.sent_bytes_count
(count)
The number of bytes transferred out by the connector.
Shown as byte
gcp.firebasedataconnect.connector.operation_count
(count)
The number of pre-defined operations executed by the connector.
gcp.firebasedataconnect.connector.operation_latencies.avg
(count)
The average the latency of the pre-defined operations executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.connector.operation_latencies.samplecount
(count)
The sample count for the latency of the pre-defined operations executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.connector.operation_latencies.sumsqdev
(count)
The sum of squared deviation for the latency of the pre-defined operations executed by the connector.
Shown as millisecond
gcp.firebasedataconnect.service.datasource_latencies.avg
(count)
The average the latency of the data sources queried by arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebasedataconnect.service.datasource_latencies.samplecount
(count)
The sample count for the latency of the data sources queried by arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebasedataconnect.service.datasource_latencies.sumsqdev
(count)
The sum of squared deviation for the latency of the data sources queried by arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebasedataconnect.service.datasource_request_bytes_count
(count)
The number of bytes sent to the data source queried by arbitrary, admin operations executed directly on the service.
Shown as byte
gcp.firebasedataconnect.service.datasource_response_bytes_count
(count)
The number of bytes returned by the data sources queried by arbitrary, admin operations executed directly on the service.
Shown as byte
gcp.firebasedataconnect.service.network.sent_bytes_count
(count)
The number of bytes transferred out by arbitrary, admin operations executed directly on the service.
Shown as byte
gcp.firebasedataconnect.service.operation_count
(count)
The number of arbitrary, admin operations executed directly on the service.
gcp.firebasedataconnect.service.operation_latencies.avg
(count)
The average the latency of arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebasedataconnect.service.operation_latencies.samplecount
(count)
The sample count for the latency of arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebasedataconnect.service.operation_latencies.sumsqdev
(count)
The sum of squared deviation for the latency of arbitrary, admin operations executed directly on the service.
Shown as millisecond
gcp.firebaseextensions.extension.version.active_instances
(gauge)
The number of active instances of the published extension version.
gcp.firebasehosting.network.monthly_sent
(gauge)
The total outgoing bytes sent, aggregated and reset monthly.
Shown as byte
gcp.firebasehosting.network.monthly_sent_limit
(gauge)
The monthly network limit for Firebase Hosting.
Shown as byte
gcp.firebasehosting.network.sent_bytes_count
(count)
The outgoing bandwidth usage for Firebase Hosting.
Shown as byte
gcp.firebasehosting.storage.limit
(gauge)
The storage limit for Firebase Hosting.
Shown as byte
gcp.firebasehosting.storage.total_bytes
(gauge)
The size of the Firebase Hosting storage.
Shown as byte
gcp.firebasestorage.rules.evaluation_count
(count)
The number of Cloud Storage for Firebase Security Rules evaluations performed in response to write or read requests.

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.