Datadog-Disk Integration

Overview

Collect metrics related to disk usage and IO.

Setup

Installation

The disk check is packaged with the Agent, so simply install the Agent anywhere you wish to use it.

Configuration

The disk check is enabled by default, and the Agent will collect metrics on all local partitions. If you want to configure the check with custom options, create a file disk.yaml in the Agent’s conf.d directory. See the sample disk.yaml for all available configuration options.

Validation

Run the Agent’s info subcommand and look for disk under the Checks section:

  Checks
  ======
    [...]

    disk
    -------
      - instance #0 [OK]
      - Collected 40 metrics, 0 events & 0 service checks

    [...]

Data Collected

Metrics

system.disk.free
(gauge)
The amount of disk space that is free.
shown as byte
system.disk.in_use
(gauge)
The amount of disk space in use as a fraction of the total.
shown as fraction
system.disk.read_time_pct
(gauge)
Percent of time spent reading from disk.
shown as percent
system.disk.total
(gauge)
The total amount of disk space.
shown as byte
system.disk.used
(gauge)
The amount of disk space in use.
shown as byte
system.disk.write_time_pct
(gauge)
Percent of time spent writing to disk.
shown as percent
system.fs.inodes.free
(gauge)
The number of free inodes.
shown as inode
system.fs.inodes.in_use
(gauge)
The number of inodes in use as a fraction of the total.
shown as fraction
system.fs.inodes.total
(gauge)
The total number of inodes.
shown as inode
system.fs.inodes.used
(gauge)
The number of inodes in use.
shown as inode

Events

The Disk check does not include any event at this time.

Service Checks

The Disk check does not include any service check at this time.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

Learn more about infrastructure monitoring and all our integrations on our blog