Google Cloud Firestore

Información general

Google Cloud Firestore es una base de datos flexible y escalable para el desarrollo móvil, web y de servidor de Firebase y Google Cloud Platform.

Utiliza la integración Google Cloud Platform en Datadog para recopilar métricas de Google Cloud Firestore.

Configuración

Instalación

Si aún no lo has hecho, primero configura la integración Google Cloud Platform. No es necesario realizar ningún otro paso de instalación.

APM

Los logs de Google Cloud Firestore se recopilan con Google Cloud Logging y se envían a una tarea de Dataflow a través de un tema Cloud Pub/Sub. Si aún no lo has hecho, configura la generación de logs con la plantilla Dataflow de Datadog.

Una vez hecho esto, exporta tus logs de Google Cloud Firestore de Google Cloud Logging al tema Pub/Sub:

  1. Ve a la página de Google Cloud Logging y filtra logs de Google Cloud Firestore.
  2. Haz clic en Create Export (Crear exportación) y asigna un nombre al sumidero.
  3. Elige “Cloud Pub/Sub” como destino y selecciona el tema Pub/Sub creado para tal fin. Nota: El tema Pub/Sub puede encontrarse en un proyecto diferente.
  4. Haz clic en Create (Crear) y espera a que aparezca el mensaje de confirmación.

Datos recopilados

Métricas

gcp.firestore.api.request_count
(count)
Count of Firestore API calls.
gcp.firestore.api.request_latencies.avg
(count)
The average non-streaming Firestore v1, Datastore v1, and Datastore v3 request latencies from the frontend.
Shown as second
gcp.firestore.api.request_latencies.samplecount
(count)
The sample count for non-streaming Firestore v1, Datastore v1, and Datastore v3 request latencies from the frontend.
Shown as second
gcp.firestore.api.request_latencies.sumsqdev
(count)
The sum of squared deviation for non-streaming Firestore v1, Datastore v1, and Datastore v3 request latencies from the frontend.
Shown as second
gcp.firestore.composite_indexes_per_database
(gauge)
Current number of composite indexes per database.
gcp.firestore.document.delete_count
(count)
The number of successful document deletes.
Shown as document
gcp.firestore.document.delete_ops_count
(count)
The number of successful document deletes.
gcp.firestore.document.read_count
(count)
The number of successful document reads from queries or lookups.
Shown as document
gcp.firestore.document.read_ops_count
(count)
The number of successful document reads from queries or lookups.
gcp.firestore.document.ttl_deletion_count
(count)
Total count of documents deleted by TTL services.
gcp.firestore.document.ttl_expiration_to_deletion_delays.avg
(count)
The average time elapsed between when a document with a TTL expired, and when it was actually deleted.
Shown as second
gcp.firestore.document.ttl_expiration_to_deletion_delays.samplecount
(count)
The sample count for time elapsed between when a document with a TTL expired, and when it was actually deleted.
Shown as second
gcp.firestore.document.ttl_expiration_to_deletion_delays.sumsqdev
(count)
The sum of squared deviation for time elapsed between when a document with a TTL expired, and when it was actually deleted.
Shown as second
gcp.firestore.document.write_count
(count)
The number of successful document writes.
Shown as document
gcp.firestore.document.write_ops_count
(count)
The number of successful document writes.
gcp.firestore.field_configurations_per_database
(gauge)
Current number of field configurations per database.
gcp.firestore.network.active_connections
(gauge)
The number of active connections. Each mobile client will have one connection. Each listener in admin SDK will be one connection.
gcp.firestore.network.snapshot_listeners
(gauge)
The number of snapshot listeners currently registered across all connected clients.
gcp.firestore.query_stat.per_query.result_counts.avg
(count)
The average distribution of number of results yielded per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as result
gcp.firestore.query_stat.per_query.result_counts.samplecount
(count)
The sample count for distribution of number of results yielded per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as result
gcp.firestore.query_stat.per_query.result_counts.sumsqdev
(count)
The sum of squared deviation for distribution of number of results yielded per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as result
gcp.firestore.query_stat.per_query.scanned_documents_counts.avg
(count)
The average distribution of number of documents scanned per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as document
gcp.firestore.query_stat.per_query.scanned_documents_counts.samplecount
(count)
The sample count for distribution of number of documents scanned per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as document
gcp.firestore.query_stat.per_query.scanned_documents_counts.sumsqdev
(count)
The sum of squared deviation for distribution of number of documents scanned per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as document
gcp.firestore.query_stat.per_query.scanned_index_entries_counts.avg
(count)
The average distribution of number of scanned index entries per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as index entry
gcp.firestore.query_stat.per_query.scanned_index_entries_counts.samplecount
(count)
The sample count for distribution of number of scanned index entries per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as index entry
gcp.firestore.query_stat.per_query.scanned_index_entries_counts.sumsqdev
(count)
The sum of squared deviation for distribution of number of scanned index entries per query. Real-time queries are excluded. Note. This metric is for performance observability. It is not relevant to billing calculations. To understand how read operations contribute to your bill, use firestore.googleapis.com/document/read_ops_count.
Shown as index entry
gcp.firestore.quota.composite_indexes_per_database.exceeded
(count)
Number of attempts to exceed the limit on quota metric firestore.googleapis.com/composite_indexes_per_database.
gcp.firestore.quota.composite_indexes_per_database.limit
(gauge)
Current limit on quota metric firestore.googleapis.com/composite_indexes_per_database.
gcp.firestore.quota.composite_indexes_per_database.usage
(gauge)
Current usage on quota metric firestore.googleapis.com/composite_indexes_per_database.
gcp.firestore.rules.evaluation_count
(count)
The number of Cloud Firestore Security Rule evaluations performed in response to write (create, update, delete) or read (get, list) requests.

Eventos

La integración Google Cloud Firestore no incluye eventos.

Checks de servicio

La integración Google Cloud Firestore no incluye checks de servicio.

Resolución de problemas

¿Necesitas ayuda? Ponte en contacto con el servicio de asistencia de Datadog.