# Memcached Receiver

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Collector receiver · contrib distribution

This receiver can fetch stats from a Memcached instance using the [stats command](https://github.com/memcached/memcached/wiki/Commands#statistics). 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

| Level | Signals |
| --- | --- |
| beta | metrics |

## Attributes

| Attribute | Type | Description |
| --- | --- | --- |
| `command` | string | The type of command. |
| `direction` | string | Direction of data flow. |
| `operation` | string | The type of operation. |
| `state` | string | The type of CPU usage. |
| `type` | string | Result of cache request. |

## Data

- **JSON**: [/data/collector/components/contrib-memcachedreceiver/contrib-memcachedreceiver-15f47285ab9a.json](/data/collector/components/contrib-memcachedreceiver/contrib-memcachedreceiver-15f47285ab9a.json)
- **Explore**: [/collector/components/contrib/memcachedreceiver](/collector/components/contrib/memcachedreceiver)
