Google Cloud Functions monitoring integration

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

New Relic Infrastructure's integrations with the Google Cloud Platform (GCP) include an integration to report Google Cloud Functions data to New Relic products. This document explains how to activate the GCP Cloud Functions integration and describes the data that can be reported.


Google Cloud Functions service allows running code in a serverless way. Using a Google UI, developers can create short pieces of code that are intended to do a specific function. The function can then respond to cloud events without the need to manage an application server or runtime environment.

Activate integration

Anyone can view and explore the GCP data reporting to your New Relic Infrastructure account.

Only Owner, Admins, or Infrastructure add-on managers can manage the GCP integrations.

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 integrations query your GCP services according to a polling interval, which varies depending on the integration. The polling frequency for GCP Cloud Functions is five minutes. The resolution is 1 data point every minute.

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 dashboards and alert settings, go to > Integrations > Google Cloud Platform > (select an integration).

Metric data

Metric data that New Relic receives from your GCP Cloud Functions integration include:

Attribute Description


Count of functions that executed, by status.


Time for each function to execute, in nanoseconds.


Memory used for each function, in bytes.

Inventory data

Inventory data that New Relic receives from your GCP Cloud Functions integration include:

Attribute Description


The amount of memory in MB available for a function.


The GCP project used.


The zone where the function is running.


The GCP project name.

For more help

Recommendations for learning more: