Memcached extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Get insight on your distributed caching system.

Get started

Overview

Monitor Memcached servers to detect database issues and optimize cache performance.

Memchaced is a distributed caching system used to speed up dynamic database-driven websites. 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.

Compatibility information

  • Dynatrace OneAgent version 1.265+
  • 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.

Activation and setup

  1. Go to Hub.
  2. Find Memcached and select Add to environment.
  3. Create a configuration. No parameters are needed, just activate it and you're ready to go.

We recommend enabling the extension only on the hosts where memcached is actually running.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly, the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

Memory usage
Metric nameMetric keyDescription
Memory max bytesmemcached.limit_maxbytesMaximum memory allocated for Memcached
Memory bytesmemcached.bytesCurrent memory usage in Memcached
Memory evictionsmemcached.evictions.countNumber of items evicted from cache in Memcached
Malloc failsmemcached.malloc_fails.countNumber of memory allocation failures in Memcached
Memory reclaimsmemcached.reclaimed.countNumber of memory reclaims in Memcached
Throughput
Metric nameMetric keyDescription
Read throughputmemcached.bytes_read.countNumber of bytes read from Memcached
Write throughputmemcached.bytes_written.countNumber of bytes written to Memcached
Log
Metric nameMetric keyDescription
Log worker droppedmemcached.log_worker_dropped.countNumber of log entries dropped by the log worker in Memcached
Log worker writtenmemcached.log_worker_written.countNumber of log entries written by the log worker in Memcached
Log watcher skippedmemcached.log_watcher_skipped.countNumber of log entries skipped by the log watcher in Memcached
Log watcher sentmemcached.log_watcher_sent.countNumber of log entries sent by the log watcher in Memcached
Connections
Metric nameMetric keyDescription
Connectionsmemcached.curr_connectionsCurrent number of client connections to Memcached
Rejected connectionsmemcached.rejected_connections.countNumber of client connections rejected by Memcached
Uptime
Metric nameMetric keyDescription
Uptimememcached.uptimeUptime of the Memcached instance, in seconds
Threads
Metric nameMetric keyDescription
Threadsmemcached.threadsNumber of threads in Memcached
Usage
Metric nameMetric keyDescription
Get commandsmemcached.cmd_get.countNumber of get commands executed in Memcached
Set commandsmemcached.cmd_set.countNumber of set commands executed in Memcached
Get hitsmemcached.get_hits.countNumber of successful get commands in Memcached
Get missesmemcached.get_misses.countNumber of unsuccessful get commands in Memcached
Related tags
DatabasePythonCacheDormandoApplication Observability