Datadog-btrfs Integration

Overview

Get metrics from btrfs service in real time to:

  • Visualize and monitor btrfs states
  • Be notified about btrfs failovers and events.

Setup

Installation

The Btrfs check is packaged with the Agent, so simply install the Agent on every server that uses at least one Btrfs filesystem.

Configuration

  1. Configure the Agent according to your needs, edit conf.d/btrfs.yaml. See the sample btrfs.yaml for all available configuration options.
  2. Restart the Agent

Validation

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

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

    btrfs
    -------
      - instance #0 [OK]
      - Collected 26 metrics, 0 events & 1 service check

    [...]

Compatibility

The Btrfs check is compatible with all major platforms.

Data Collected

Metrics

system.disk.btrfs.total
(gauge)
The total amount of space on a device
shown as byte
system.disk.btrfs.used
(gauge)
The used space on a device
shown as byte
system.disk.btrfs.free
(gauge)
The free space on a device
shown as byte
system.disk.btrfs.usage
(gauge)
The amount of space used on a device as a fraction of the total
shown as fraction

Events

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

Service Checks

The Btrfs 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