Google App Engine monitoring integration

Access to this feature will depend on your subscription level. Requires Infrastructure Pro.

New Relic Infrastructure 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 New Relic APM (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 alerts for your Google App Engine services in New Relic Infrastructure and to create custom queries and charts in New Relic Insights. 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:

  1. Make sure you have installed the Infrastructure agent before you activate GCP integrations from your Infrastructure account.
  2. Follow standard procedures to connect your GCP service to New Relic Infrastructure.

Polling frequency

New Relic Infrastructure 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 Infrastructure and waiting a few minutes (based on the polling frequency), you can find and use integration data in Infrastructure Integrations and in Insights:

View Google App Engine integrations data Here...
Dashboards and alerts Go to infrastructure.newrelic.com > Integrations > Google Cloud Platform > Google App Engine.
Metric data on custom dashboards Go to insights.newrelic.com and create queries for GcpAppEngineServiceSample and GcpCloudTasksQueueSample events.
Inventory data for Google App Engine services Go to infrastructure.newrelic.com > Integrations > Inventory and search for or select gcp/appengine/service or gcp/cloudtasks/queue .

Metric data

To view metric data for your Google App Engine integration in Insights, 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 Insights to view data for the following attributes:

Attribute Description

flex.Cpu.ReservedCores

Total number of CPU cores allocated to an App Engine flexible environment version.

flex.Cpu.Utilization

The fraction of allocated CPU in use across an App Engine flexible environment version.
flex.Disk.ReadBytes Delta count of bytes read from disk across an App Engine flexible environment version.
flex.Disk.WriteBytes Delta count of bytes written from disk across an App Engine flexible environment version.
flex.Disk.ReceivedBytes Delta count of incoming network bytes across all VMs in an App Engine flexible environment version.
flex.Disk.SentBytes Delta count of outgoing network bytes across all VMs in an App Engine flexible environment version.
server.DosIntercepts Delta count of interceptions performed to prevent DoS attacks.
server.QuotaDenials Delta count of requests that failed due to the app being over quota.
server.Responses Delta HTTP response count.
server.ResponseLatenciesMilliseconds HTTP response latency, in milliseconds.
server.ResponseStyle Delta counts on the HTTP serve style.
memcache.CentiMcu Memcache utilization, in 1/100th of a Memcache Compute Unit.
memcache.Operations Count of memcache key operations.
memcache.ReceivedBytes Number of bytes received by app from the memcache API.
memcache.SentBytes Number of bytes sent by app through the memcache API.
system.cpu.Usage CPU usage in megacycles.
system.Instances Number of instances that exist.
system.Memory.UsageBytes Total memory used by running instances.
system.Network.ReceivedBytes Delta count of incoming network bandwidth.
system.Network.SentBytes Delta count of outgoing network bandwidth.

GcpCloudTasksQueueSample

Query GcpCloudTasksQueueSample events in Insights to view data for the following attributes:

Attribute Description

api.Requests

Count of Cloud Tasks API calls.

queue.TaskAttempts

Count of task attempts broken down by response code.
queue.taskAttemptDelaysMilliseconds Delay between each scheduled attempt time and actual attempt time.

Inventory data

To view inventory data for Google App Engine services, go to infrastructure.newrelic.com > Integrations > Inventory and search for or select the following:

gcp/appengine/service

Inventory data Description

name

The identifier of the service or application, which is a concatenation of the serviceId and the version attributes, separated by a '.' character.
serviceId The name of the service or application.
version The deployment version of the service or application.

gcp/cloudtasks/queue

Inventory data Description

name

The name of the queue.
targetType The target type the queue is dispatching to.

For more help

Recommendations for learning more: