New Relic offers an integration that fetches data about your Google App Engine services so that you can view the data in the New Relic UI.
For more information about monitoring applications that reside in a Google App Engine environment with (instead of how to monitor your Google App Engine services), see Google App Engine environment.
Features of the Google App Engine integration
You can use the Google App Engine integration to view charts and set for your Google App Engine services in New Relic and to create custom queries and charts. Google App Engine is a Google Cloud Platform service that abstracts away the underlying infrastructure for your mobile and web applications, allowing you to focus on their development.
- The Google App Engine Standard environment provides a set of preconfigured runtimes and is suitable for applications that require fully-managed, fast scaling.
- The Google App Engine Flexible environment runs applications within Docker containers and is suitable for applications that require configurable, gradual scaling.
Activate integration
To enable the integration follow standard procedures to connect your GCP service to New Relic.
Polling frequency
New Relic queries your Google App Engine services based on a polling interval of 5 minutes. The resolution is 1 data point every minute.
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.
重要
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. |