Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. For more information visit memcached.org.
Even if the memcached plugin is not configured, Stackdriver Monitoring will discover memcached services running in your Cloud Platform project by:
- Searching instance names for memcached
- Checking for ports opened to 11211 via firewall rules
To see the metrics for Memcached, go to Monitoring:
If Resources appears in the navigation pane, select Resources and then select Memcached.
Otherwise, select Dashboards and then select the Memcached dashboard from the list.
Configuring Monitoring to monitor memcached
After you install the monitoring agent, use the following instructions to configure the memcached plugin on your instances.
Enabling the memcached monitoring plugin
(cd /opt/stackdriver/collectd/etc/collectd.d/ && sudo curl -O https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/memcached.conf)
After adding the configuration file, restart the monitoring agent by running the following command:
sudo service stackdriver-agent restart
For more information on the
memcached plugin, see
What is monitored
The full list of metrics the Memcached plugin monitors is at Agent metrics: memcached.