---
title: Google Cloud API Gateway monitoring integration
source: https://docs.newrelic.com/docs/infrastructure/google-cloud-platform-integrations/gcp-integrations-list/google-cloud-api-gateway-monitoring-integration
---

[New Relic integrations](https://docs.newrelic.com/docs/infrastructure/introduction-infra-monitoring) with the [Google Cloud Platform (GCP)](https://cloud.google.com/) include one that reports [Google Cloud API Gateway](https://cloud.google.com/api-gateway) data to New Relic. This document explains how to activate the GCP API Gateway integration and describes the data it reports.

## Features

Google Cloud API Gateway is a fully managed service for creating, securing, and monitoring APIs in front of Google Cloud backend services. New Relic API Gateway integration collects request traffic and response-code metrics for each gateway, with breakdowns by API config and response-code class.

## Activate integration [#activate]

To enable the integration, follow standard procedures to [connect your GCP service to New Relic](https://docs.newrelic.com/docs/connect-google-cloud-platform-services-infrastructure):

-   [Connect with Workload Identity Federation](https://docs.newrelic.com/docs/connect-google-cloud-platform-services-infrastructure)

## Polling frequency [#polling]

New Relic integrations query your GCP services according to a polling interval that varies by integration. The polling frequency for Google Cloud API Gateway is 5 minutes. The resolution is 1 data point every minute.

## Workload Identity Federation [#wif]

### Find and use data [#find-data-wif]

After you enable the integration, your API Gateway resources appear as entities in the New Relic entity explorer. To see dashboards and manage services, go to [one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Infrastructure > GCP.

All API Gateway 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 API Gateway metrics documentation](https://cloud.google.com/monitoring/api/metrics_gcp_a_b#gcp-apigateway) for the complete list.

#### Entities

**API Gateway entities**

| Entity  | Entity type     | Resource type                       |
| ------- | --------------- | ----------------------------------- |
| Gateway | `GCPAPIGATEWAY` | `apigateway.googleapis.com/Gateway` |

### Metric data [#metrics-wif]

#### Key metrics — Gateway

| Metric name                          | Unit  | Description                                                                                                                |
| ------------------------------------ | ----- | -------------------------------------------------------------------------------------------------------------------------- |
| `gcp.apigateway.proxy.request_count` | Count | Number of requests served by the API gateway, faceted by `response_code_class` (1xx, 2xx, 3xx, 4xx, 5xx) and `api_config`. |

For the complete list of API Gateway metrics, see [Google's API Gateway metrics documentation](https://cloud.google.com/monitoring/api/metrics_gcp_a_b#gcp-apigateway).
