Overview
Cloud Datastore is a highly-scalable NoSQL database for your web and mobile applications.
Get metrics from Google Datastore to:
- Visualize the performance of your Datastores.
- Correlate the performance of your Datastores 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 Cloud Datastore 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 Cloud Datastore logs from Google Cloud Logging to the Pub/Sub topic:
- Go to the Google Cloud Logging page and filter the Google Cloud Datastore logs.
- Click Create Export and name the sink.
- 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.
- Click Create and wait for the confirmation message to show up.
Data Collected
Metrics
gcp.datastore.api.request_count (count) | Datastore API calls. Shown as request |
gcp.datastore.index.write_count (count) | Datastore index writes. Shown as write |
gcp.datastore.entity.read_sizes.avg (gauge) | Average of sizes of read entities. Shown as byte |
gcp.datastore.entity.read_sizes.samplecount (count) | Sample Count for sizes of read entities. Shown as byte |
gcp.datastore.entity.read_sizes.sumsqdev (gauge) | Sum of Squared Deviation for sizes of read entities. Shown as byte |
gcp.datastore.entity.write_sizes.avg (gauge) | Average of sizes of written entities. Shown as byte |
gcp.datastore.entity.write_sizes.samplecount (gauge) | Sample Count for sizes of written entities. Shown as byte |
gcp.datastore.entity.write_sizes.sumsqdev (gauge) | Sum of Squared Deviation for sizes of written entities. Shown as byte |
Events
The Google Cloud Datastore integration does not include any events.
Service Checks
The Google Cloud Datastore integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.