Dynatrace Memcached server monitoring provides insights into your distributed memory-object caching system so that you can pinpoint server performance issues and identify potential bottlenecks.
- Dynatrace OneAgent version 1.95+
- Memcached Server 1.4.24+
- Dynatrace supports TCP UDP and socket connections to Memcached servers. Admin permissions are required for socket connection types 666 or higher.
Enabling Memcached monitoring globally
With Memcached monitoring enabled globally, when a new host running Memcached is detected in your environment Dynatrace automatically collects Memcached metrics.
- In the Dynatrace menu, go to Settings.
- Select Monitoring > Monitored technologies.
- On the Supported technologies tab, find the Memcached entry and turn on the Global monitoring switch for Memcached.
Memcached server monitoring is enabled globally.
Enabling Memcached monitoring for individual hosts
Dynatrace provides the option of enabling Memcached monitoring for specific hosts rather than globally.
- If global Memcached monitoring is currently switched on, switch it off: in the Dynatrace menu, go to Settings, select Monitoring > Monitored technologies, and turn off the Memcached switch.
- In the Dynatrace menu, go to Hosts.
- Find the host you want to configure.
Use the filter at the top of the list to help you locate the host.
- Select the host to open the host page.
- Select More (…) > Settings to open the Host settings page.
- In the Monitored technologies list, find the Memcached row and turn on the Monitoring switch.
Memcached monitoring is enabled for the selected host.
Memcached monitoring metrics
Key Memcached metrics are displayed on each Memcached process page within an intuitive infographic. Click the Memcached metrics and Further details tabs to view deeper insights.
Percentage of available memory used for Memcached.
Number of open connections.
Number of valid items removed from cache to free up memory for new items. Evictions indicate that either:
Current number of bytes used to store items.
Maximum number of bytes allowed in cache. You can adjust this setting via a config file or the command line while starting your Memcached server.
Number of open connections. There should always be available space for new connections. The default max setting for simultaneous connections is 1024.
Number of GET requests received by server per second.
Number of SET requests received by server per second.
Number of successful GET requests (items requested and found) per second. The ratio of hits to misses should be as high as possible. Note that this ratio is low following Memcached restart (when the database receives data).
Number of missed GET requests (items requested but not found) per second. These occur when nothing has been cached for a requested key or the cached value of an object is expired.
Number of bytes per second sent from the network and read by the server.
Number of bytes per second sent by the server to the network.