memcached


Overview

Grafana dashboard for operating Memcached, in the form of a monitoring mixin.

Jsonnet source code is available at github.com/grafana/jsonnet-libs

Alerts

Complete list of pregenerated alerts is available here.

memcached

MemcachedDown

alert: MemcachedDown
annotations:
  description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} is down
    for more than 15 minutes.
  summary: Memcached instance is down.
expr: |
  memcached_up == 0
for: 15m
labels:
  severity: critical

MemcachedConnectionLimitApproaching

alert: MemcachedConnectionLimitApproaching
annotations:
  description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} connection
    usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes.
  summary: Memcached max connection limit is approaching.
expr: |
  (memcached_current_connections / memcached_max_connections * 100) > 80
for: 15m
labels:
  severity: warning

MemcachedConnectionLimitApproaching

alert: MemcachedConnectionLimitApproaching
annotations:
  description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} connection
    usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes.
  summary: Memcached connections at critical level.
expr: |
  (memcached_current_connections / memcached_max_connections * 100) > 95
for: 15m
labels:
  severity: critical

MemcachedOutOfMemoryErrors

alert: MemcachedOutOfMemoryErrors
annotations:
  description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} has OutOfMemory
    errors for at least 15 minutes, current rate is {{ printf "%0.0f" $value }}
  summary: Memcached has OutOfMemory errors.
expr: |
  sum without (slab) (rate(memcached_slab_items_outofmemory_total[5m])) > 0
for: 15m
labels:
  severity: warning

Dashboards

Following dashboards are generated from mixins and hosted on github: