---
title: "Memcached integration | Grafana Labs"
description: "Set up Memcached monitoring with Grafana Cloud integrations"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## Memcached integration

Memcached is a distributed, in-memory key-value store used to speed up dynamic database-driven websites by caching data in memory. The Memcached integration monitors cache performance, memory usage, and connection health.

|                      |                                                                                 |
|----------------------|---------------------------------------------------------------------------------|
| **What it monitors** | Cache hit/miss rate, evictions, memory usage, connections, items stored         |
| **How it works**     | Grafana Alloy’s built-in Memcached exporter scrapes metrics from your instance  |
| **What you get**     | 4 alerts + 1 dashboard (Memcached Overview)                                     |
| **Prerequisites**    | Grafana Alloy installed on a host with network access to the Memcached instance |

## What you’ll see in the dashboard

- **Cache performance** — Hit rate, miss rate, and eviction trends
- **Memory utilization** — Current bytes stored vs. available memory
- **Connection tracking** — Current connections, connection rate, and max connection threshold
- **Item statistics** — Items stored, items evicted, and storage throughput
- **Resource usage** — CPU time (user and system) and network bytes (read/written)

## Key alerts

| Alert                               | Severity           |
|-------------------------------------|--------------------|
| MemcachedDown                       | Critical           |
| MemcachedConnectionLimitApproaching | Warning / Critical |
| MemcachedOutOfMemoryErrors          | Warning            |

## Trade-offs

| Strengths                                           | Considerations                                  |
|-----------------------------------------------------|-------------------------------------------------|
| Focused on the metrics that matter most for caching | Single dashboard with essential metrics         |
| Eviction and OOM alerting out of the box            | No slab-level analysis in the default dashboard |
| Simplest setup of all database integrations         | Memcached must be network-accessible from Alloy |

* * *

## Documentation

View the full documentation. *Learning path coming soon!*

[Memcached integration](https://grafana.com/docs/grafana-cloud/monitor-infrastructure/integrations/integration-reference/integration-memcached/)
