New Relic integrations with the Google Cloud Platform (GCP) include one that reports Google Cloud Datastore data to New Relic. This document explains how to activate the GCP Datastore integration and describes the data it reports.
Features
Cloud Datastore is Google Cloud's NoSQL document database for web and mobile applications. New Relic Datastore integration collects API request, entity read/write, and index-write metrics, with breakdowns by API method, response code, and entity type.
Activate integration
To enable the integration, follow standard procedures to connect your GCP service to New Relic:
Polling frequency
New Relic integrations query your GCP services according to a polling interval that varies by integration. The polling frequency for Google Cloud Datastore is 5 minutes. The resolution is 1 data point every minute.
Workload Identity Federation
Find and use data
After you enable the integration, your Datastore resources appear as entities in the New Relic entity explorer. To see dashboards and manage services, go to one.newrelic.com > All capabilities > Infrastructure > GCP.
All Datastore metrics available in GCP Cloud Monitoring are collected as dimensional metrics in the Metric event type. Additional metrics beyond this table are collected automatically. See Google's Datastore metrics documentation for the complete list.
Entities
Metric data
Key metrics — Request
Metric name | Unit | Description |
|---|---|---|
| Count | Number of Datastore API requests, faceted by |
| Bytes | Distribution of read entity sizes, faceted by entity type. |
| Bytes | Distribution of written entity sizes, faceted by operation. |
| Count | Number of entities deleted by TTL policies. |
| Seconds | Delay between TTL expiration and the corresponding entity deletion. |
| Count | Number of Datastore index writes. |
For the complete list of Datastore metrics, see Google's Datastore metrics documentation.
Service account or user account
Find and use data
After activating the integration and waiting a few minutes (based on the polling frequency), data will appear in the New Relic UI. To find and use your data, including links to your and alert settings, go to one.newrelic.com > All capabilities > Infrastructure > GCP > (select an integration).
Data is attached to the following event type:
Entity | Event Type | Provider |
|---|---|---|
Request |
|
|
For more on how to use your data, see Understand and use integration data.
Datastore Request data
Metric | Unit | Description |
|---|---|---|
| Count | Count of Datastore API calls. |
| Bytes | Distribution of sizes of read entities, grouped by type. |
| Bytes | Distribution of sizes of written entities, grouped by op. |
| Count | Count of Datastore index writes. |