---
title: Google Memorystore for Memcached
source: https://docs.newrelic.com/docs/infrastructure/google-cloud-platform-integrations/gcp-integrations-list/google-memorystore-memcached
---

[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 Memorystore for Memcached](https://cloud.google.com/memorystore/docs/memcached) data to New Relic. This document explains how to activate the GCP Memorystore for Memcached integration and describes the data it reports.

## Features

Memorystore for Memcached is Google Cloud's fully managed Memcached service. New Relic Memorystore for Memcached integration collects node-level CPU, memory, connection, hit-ratio, and item-storage metrics for each Memcached node.

## 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 (recommended)](https://docs.newrelic.com/docs/connect-google-cloud-platform-services-infrastructure)
-   [Connect with service account or user account](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 Memorystore for Memcached 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 Memorystore for Memcached 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 Memorystore for Memcached 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 Memorystore for Memcached metrics documentation](https://cloud.google.com/monitoring/api/metrics_gcp_d_h#gcp-memcache) for the complete list.

#### Entities

**Memorystore for Memcached entities**

| Entity        | Entity type               | Resource type   |
| ------------- | ------------------------- | --------------- |
| Memcache Node | `GCPMEMCACHEMEMCACHENODE` | `memcache_node` |

### Metric data [#metrics-wif]

#### Key metrics — Memcache Node

| Metric name                              | Unit    | Description                                                                                 |
| ---------------------------------------- | ------- | ------------------------------------------------------------------------------------------- |
| `gcp.memcache.node.active_connections`   | Count   | Number of active client connections to the Memcached node.                                  |
| `gcp.memcache.node.cpu.utilization`      | Percent | CPU utilization on the Memcached node.                                                      |
| `gcp.memcache.node.cpu.usage_time`       | Seconds | CPU-seconds consumed by the Memcached node.                                                 |
| `gcp.memcache.node.memory.utilization`   | Percent | Memory utilization on the Memcached node.                                                   |
| `gcp.memcache.node.cache_memory`         | Bytes   | Memory currently used for cached items on the Memcached node.                               |
| `gcp.memcache.node.hit_ratio`            | Percent | Fraction of GET requests that resulted in a cache hit on the Memcached node.                |
| `gcp.memcache.node.items`                | Count   | Number of items stored on the Memcached node.                                               |
| `gcp.memcache.node.eviction_count`       | Count   | Number of items evicted from the Memcached node due to memory pressure.                     |
| `gcp.memcache.node.operation_count`      | Count   | Number of operations processed by the Memcached node, faceted by operation type and result. |
| `gcp.memcache.node.received_bytes_count` | Bytes   | Network bytes received by the Memcached node.                                               |
| `gcp.memcache.node.sent_bytes_count`     | Bytes   | Network bytes sent by the Memcached node.                                                   |
| `gcp.memcache.node.uptime`               | Seconds | Uptime of the Memcached node since it last started.                                         |

For the complete list of Memorystore for Memcached metrics, see [Google's Memorystore for Memcached metrics documentation](https://cloud.google.com/monitoring/api/metrics_gcp_d_h#gcp-memcache).

## Service account or user account [#service-account]

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

To find your integration data, go to [one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Infrastructure > GCP and select the integration.

Data is attached to the following [event types](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types/#event-data):

| Entity       | Event Type                      | Provider                  |
| ------------ | ------------------------------- | ------------------------- |
| MemcacheNode | `GcpMemcacheMemcacheNodeSample` | `GcpMemcacheMemcacheNode` |

For more on how to use your data, see [Understand and use integration data](https://docs.newrelic.com/docs/infrastructure/integrations/find-use-infrastructure-integration-data).

## Metric data [#metrics]

This integration collects GCP Memcache data for MemcacheNode.

### Memcache MemcacheNode data

| Metric                   | Unit    | Description                                                                                                                        |
| ------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `node.ActiveConnections` | Count   | Connections active in this Memcached node.                                                                                         |
| `node.CacheMemory`       | Bytes   | Bytes alloted for Memcached in this node, grouped by whether that memory is used or not.                                           |
| `node.cpu.UsageTime`     | Seconds | CPU usage time by Memcached process grouped by user and kernel mode.                                                               |
| `node.cpu.Utilization`   | Double  | CPU usage percent by Memcached node.                                                                                               |
| `node.Eviction`          | Count   | Count of items evicted by this Memcached node.                                                                                     |
| `node.HitRatio`          | Double  | Hit ratio, expressed as a percentage of the total cache requests excluding set operations. Values are numbers between 0.0 and 1.0. |
| `node.Items`             | Count   | Items stored in this Memcached node.                                                                                               |
| `node.Operation`         | Count   | Count of Memcached operations grouped by command and response_type (for example: hit, miss).                                       |
| `node.ReceivedBytes`     | Bytes   | Bytes received by this Memcached node.                                                                                             |
| `node.SentBytes`         | Bytes   | Bytes sent by this Memcached node.                                                                                                 |
| `node.Uptime`            | Seconds | Time in seconds the node has been running.                                                                                         |
