Memcached plugin

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.

Discovery

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

The services discovered are displayed on the memcached Services page in the Resources menu. After you install the monitoring agent and configure the memcached plugin on your instances, Monitoring populates the memcached Services page with inventory and metrics.

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

On your VM instance, download memcached.conf from the GitHub configuration repository and place it in the directory /opt/stackdriver/collectd/etc/collectd.d/:

(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 collectd memcached plugin, see Plugin:memcached.

What is monitored

The full list of metrics the Memcached plugin monitors is at Agent metrics: memcached.

هل كانت هذه الصفحة مفيدة؟ يرجى تقييم أدائنا:

إرسال تعليقات حول...

Stackdriver Monitoring
هل تحتاج إلى مساعدة؟ انتقل إلى صفحة الدعم.