Slide 4 of 9

Memcached integration

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 monitorsCache hit/miss rate, evictions, memory usage, connections, items stored
How it worksGrafana Alloy’s built-in Memcached exporter scrapes metrics from your instance
What you get4 alerts + 1 dashboard (Memcached Overview)
PrerequisitesGrafana 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

AlertSeverity
MemcachedDownCritical
MemcachedConnectionLimitApproachingWarning / Critical
MemcachedOutOfMemoryErrorsWarning

Documentation

View the Memcached integration documentation.

Path completed

Script

The Memcached integration monitors cache performance, memory usage, and connection health. It tracks a focused set of cache metrics and needs only a minimal exporter configuration.

The dashboard focuses on the metrics that matter most for a caching layer. Cache hit and miss rates, eviction trends, memory utilization, and connection tracking. The built-in alerts cover Memcached being down, approaching the connection limit, and out-of-memory errors.

Setup is straightforward because Memcached exposes its stats protocol directly. Grafana Alloy’s built-in exporter connects and scrapes metrics without any additional components.

If Memcached is what you’re running, the documentation link below takes you to the full setup guide.