Menu
Grafana Cloud

Memcached integration for Grafana Cloud

Memcached is a distributed, in-memory key-value store used to speed up dynamic database-driven websites by caching information in memory. This integration enables the agent to send metrics to Grafana Cloud along with a useful default dashboard for visualization.

Install Memcached integration for Grafana Cloud

  1. In your Grafana instance, Click Integrations and Connections (lightning bolt icon), then click on install integration on Memcached tile.
  2. Wait for the integration to be installed and then follow the steps shown to setup Grafana Agent to automatically scrape and send Memcached metrics to your Cloud Instance.

Pre-install configuration for the Memcached integration

This integration monitors Memcached instances.

Post-install configuration for the Memcached integration

Add the following to the integrations section of your Agent configuration file, making sure to change the memcached_address to the address of the memcached server you want to monitor:

integrations:
  memcached_exporter:
    enabled: true
    memcached_address: 'memcached:11211'

For a full description of configuration options, , see memcached_exporter_config in the Agent documentation.

Dashboards

This integration includes the following dashboards.

  • Memcached Overview

Memcached overview

image

Metrics

Below is a list of the metrics used on the dashboards and in alerts of the integration and are automatically written to your Grafana Cloud instance.

  • memcached_commands_total
  • memcached_connections_total
  • memcached_current_bytes
  • memcached_current_connections
  • memcached_current_items
  • memcached_items_evicted_total
  • memcached_items_total
  • memcached_max_connections
  • memcached_read_bytes_total
  • memcached_up
  • memcached_uptime_seconds
  • memcached_version
  • memcached_written_bytes_total

Alerts

The integration also comes packaged with a number of handy alerts.

Group: memcached

AlertDescription
MemcachedDownCritical: Memcached instance is down.
MemcachedConnectionLimitApproachingWarning: Memcached max connection limit is approaching.
MemcachedConnectionLimitApproachingCritical: Memcached connections at critical level.

Changelog

# 0.0.4 - December 2022

- Update mixin to latest version
- Add screenshot

# 0.0.3 - September 2022

- Update dashboard panels descriptions.

# 0.0.2 - October 2021

- Update mixin to latest version:
  - Update queries to use $\_\_rate_interval

# 0.0.1 - November 2020

- Initial release

Cost

By connecting your Memcached instance to Grafana Cloud you might incur charges. To view information on the number of active series that your Grafana Cloud account uses for metrics included in each Cloud tier, see Active series and dpm usage and Cloud tier pricing.