New Relic integrations with the Google Cloud Platform (GCP) include one that reports Google App Engine data to New Relic. This document explains how to activate the GCP App Engine integration and describes the data it reports.
For more information about monitoring applications that reside in a Google App Engine environment with (instead of monitoring your Google App Engine services themselves), see Google App Engine environment.
Features
App Engine is a Google Cloud Platform service that abstracts away the underlying infrastructure for your mobile and web applications. New Relic App Engine integration collects request, response, latency, memory, and instance metrics for each App Engine service. Both the Standard and Flexible environments are supported.
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 App Engine is 5 minutes. The resolution is 1 data point every minute.
Workload Identity Federation
Find and use data
After you enable the integration, your App Engine 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 App Engine 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 App Engine metrics documentation for the complete list.
Entities
Metric data
Key metrics — Service
Metric name | Unit | Description |
|---|---|---|
| Count | Number of HTTP responses served by the App Engine service, faceted by |
| Milliseconds | Request latency distribution served by the App Engine service. |
| Count | Number of instances currently running for the App Engine service. |
| Bytes | Memory in use by App Engine service instances. |
| Percent | CPU utilization on App Engine service instances. |
| Bytes | Network bytes received by App Engine service instances. |
| Bytes | Network bytes sent by App Engine service instances. |
For the complete list of App Engine metrics, see Google's App Engine metrics documentation.
Key metrics — Task Queue
Metric name | Unit | Description |
|---|---|---|
| Count | Count of task attempts broken down by response code. |
| Milliseconds | Delay between each scheduled attempt time and actual attempt time. |
| Count | Number of tasks in the queue. |
| Count | Count of Cloud Tasks API calls, faceted by |
For the complete list of Cloud Tasks metrics, see Google's Cloud Tasks metrics documentation.
Service account or user account
Find and use data
After connecting the Google App Engine integration to New Relic and waiting a few minutes (based on the polling frequency), you can find and use integration data:
View Google App Engine integrations data | Here... |
|---|---|
and alerts | Go to one.newrelic.com > All capabilities > Infrastructure > GCP > Google App Engine. |
Metric data on custom dashboards | Create custom queries and charts using |
Metric data
To view metric data for your Google App Engine integration in New Relic, create NRQL queries for GcpAppEngineServiceSample and GcpCloudTasksQueueSample events and their related attributes.
Important
Different metrics are available depending on whether your application is running in a standard or flexible environment, so some metrics may not be available for your application.
GcpAppEngineServiceSample
Query GcpAppEngineServiceSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Total number of CPU cores allocated to an App Engine flexible environment version. |
| The fraction of allocated CPU in use across an App Engine flexible environment version. |
| Delta count of bytes read from disk across an App Engine flexible environment version. |
| Delta count of bytes written from disk across an App Engine flexible environment version. |
| Delta count of incoming network bytes across all VMs in an App Engine flexible environment version. |
| Delta count of outgoing network bytes across all VMs in an App Engine flexible environment version. |
| Delta count of interceptions performed to prevent DoS attacks. |
| Delta count of requests that failed due to the app being over quota. |
| Delta HTTP response count. |
| HTTP response latency, in milliseconds. |
| Delta counts on the HTTP serve style. |
| Memcache utilization, in 1/100th of a Memcache Compute Unit. |
| Count of memcache key operations. |
| Number of bytes received by app from the memcache API. |
| Number of bytes sent by app through the memcache API. |
| CPU usage in megacycles. |
| Number of instances that exist. |
| Total memory used by running instances. |
| Delta count of incoming network bandwidth. |
| Delta count of outgoing network bandwidth. |
GcpCloudTasksQueueSample
Query GcpCloudTasksQueueSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Count of Cloud Tasks API calls. |
| Count of task attempts broken down by response code. |
| Delay between each scheduled attempt time and actual attempt time. |