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.
Anyone can view and explore the GCP data reporting to your New Relic Infrastructure account.
To enable the integration:
- Make sure you have installed the Infrastructure agent before you activate GCP integrations from your Infrastructure account.
- Follow standard procedures to connect your GCP service to New Relic Infrastructure.
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 infrastructure.newrelic.com > Integrations > Google Cloud Platform > (select an integration).
Metric data that New Relic receives from your GCP Cloud Functions integration include:
||Count of functions that executed, by status.|
Time for each function to execute, in nanoseconds.
||Memory used for each function, in bytes.|
Inventory data that New Relic receives from your GCP Cloud Functions integration include:
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.|