This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/memcachedreceiver.md.

Memcached Receiver

OpenTelemetry Collector receiver · contrib distribution

This receiver can fetch stats from a Memcached instance using the stats command. A detailed description of all the stats available is at https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L1159.

  • Component ID: contrib-memcachedreceiver
  • Name: memcachedreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betametrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
memcached.bytesgaugeintBydevelopmentyesCurrent number of bytes used by this server to store items.
memcached.commandssum (monotonic)int{commands}developmentyescommand (string)Commands executed.
memcached.connections.currentsumint{connections}developmentyesThe current number of open connections.
memcached.connections.totalsum (monotonic)int{connections}developmentyesTotal number of connections opened since the server started running.
memcached.cpu.usagesum (monotonic)doublesdevelopmentyesstate (string)Accumulated user and system time.
memcached.current_itemssumint{items}developmentyesNumber of items currently stored in the cache.
memcached.evictionssum (monotonic)int{evictions}developmentyesCache item evictions.
memcached.networksum (monotonic)intBydevelopmentyesdirection (string)Bytes transferred over the network.
memcached.operation_hit_ratiogaugedouble%developmentyesoperation (string)Hit ratio for operations, expressed as a percentage value between 0.0 and 100.0.
memcached.operationssum (monotonic)int{operations}developmentyesoperation (string), type (string)Operation counts.
memcached.threadssumint{threads}developmentyesNumber of threads used by the memcached instance.

Attributes

AttributeTypeDescription
commandstringThe type of command.
directionstringDirection of data flow.
operationstringThe type of operation.
statestringThe type of CPU usage.
typestringResult of cache request.

Data

  • JSON (latest): /data/collector/components/contrib-memcachedreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-memcachedreceiver/contrib-memcachedreceiver-c4524f5e57c5.json
  • Explore: /collector/components/contrib/memcachedreceiver