Logging is here!

Btrfs

Agent Check Agent Check

Supported OS: Linux Mac OS

btrfs metric

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 included in the Datadog Agent package, so you don’t need to install anything else on your servers that use at least one Btrfs filesystem.

Configuration

  1. Configure the Agent according to your needs, edit the btrfs.d/conf.yaml file in the conf.d/ folder at the root of your Agent’s directory. See the sample btrfs.d/conf.yaml for all available configuration options.

  2. Restart the Agent

Validation

Run the Agent’s status subcommand and look for btrfs under the Checks section.

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
system.disk.btrfs.unallocated
(gauge)
The amount of unallocated space on a device
shown as byte

Events

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

Service Checks

The Btrfs check does not include any service checks at this time.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

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