概要

Firebase は、高品質のアプリを迅速に開発し、ユーザー基盤を成長させ、収益の増大を可能にするモバイルプラットフォームです。

Google Firebase からメトリクスを取得して、以下のことができます。

  • Firebase のデータベースおよびホスティングサービスのパフォーマンスを視覚化。
  • Firebase ツールのパフォーマンスをアプリケーションと関連付け。

セットアップ

インストール

Google Cloud Platform インテグレーションをまだセットアップしていない場合は、最初にセットアップします。これ以外に必要なインストール手順はありません。

収集データ

Google Firebase のログは Google Cloud Logging で収集され、Cloud Pub/Sub トピックを通じて Dataflow ジョブに送信されます。まだの場合は、Datadog Dataflow テンプレートでロギングをセットアップしてください

これが完了したら、Google Firebase のログを Google Cloud Logging から Pub/Sub トピックへエクスポートします。

  1. Google Cloud Logging のページに移動し、Google Firebase のログを絞り込みます。
  2. Create Export をクリックし、シンクに名前を付けます。
  3. 宛先として “Cloud Pub/Sub” を選択し、その目的で作成された Pub/Sub トピックを選択します。: Pub/Sub トピックは別のプロジェクトに配置できます。
  4. 作成をクリックし、確認メッセージが表示されるまで待ちます。

収集データ

メトリクス

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.

イベント

Google Firebase インテグレーションには、イベントは含まれません。

サービスチェック

Google Firebase インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問い合わせください。