# Docker Stats Receiver

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

> OpenTelemetry Collector receiver · contrib distribution

The Docker Stats receiver queries the local Docker daemon's container stats API for all desired running containers on a configured interval. These stats are for container resource usage of cpu, memory, network, and the [blkio controller](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt).

- **Component ID**: `contrib-dockerstatsreceiver`
- **Name**: `dockerstatsreceiver`
- **Type**: receiver
- **Distribution**: contrib
- **Repository**: `opentelemetry-collector-contrib`

## Stability

| Level | Signals |
| --- | --- |
| alpha | metrics |

## Attributes

| Attribute | Type | Description |
| --- | --- | --- |
| `core` | string | The CPU core number when utilising per-CPU metrics. |
| `device_major` | string | Device major number for block IO operations. |
| `device_minor` | string | Device minor number for block IO operations. |
| `interface` | string | Network interface. |
| `operation` | string | Type of BlockIO operation. |

## Data

- **JSON**: [/data/collector/components/contrib-dockerstatsreceiver/contrib-dockerstatsreceiver-2b365726857c.json](/data/collector/components/contrib-dockerstatsreceiver/contrib-dockerstatsreceiver-2b365726857c.json)
- **Explore**: [/collector/components/contrib/dockerstatsreceiver](/collector/components/contrib/dockerstatsreceiver)
