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.
This functionality is only available for agents running on Linux. It is not available on Windows.
Even if the memcached plugin is not configured, Cloud 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:
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 /etc/stackdriver/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.