Skip to main content

BTRFS

Plugin: proc.plugin Module: /sys/fs/btrfs

Overview

This integration provides usage and error statistics from the BTRFS filesystem.

This collector is supported on all platforms.

This collector supports collecting metrics from multiple instances of this integration, including remote instances.

Default Behavior

Auto-Detection

This integration doesn't support auto-detection.

Limits

The default configuration for this integration does not impose any limits on data collection.

Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Metrics

Metrics grouped by scope.

The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.

Per btrfs filesystem

Labels:

LabelDescription
filesystem_uuidTBD
filesystem_labelTBD

Metrics:

MetricDimensionsUnit
btrfs.diskunallocated, data_free, data_used, meta_free, meta_used, sys_free, sys_usedMiB
btrfs.datafree, usedMiB
btrfs.metadatafree, used, reservedMiB
btrfs.systemfree, usedMiB
btrfs.commitscommitscommits
btrfs.commits_perc_timecommitspercentage
btrfs.commit_timingslast, maxms

Per btrfs device

Labels:

LabelDescription
device_idTBD
filesystem_uuidTBD
filesystem_labelTBD

Metrics:

MetricDimensionsUnit
btrfs.device_errorswrite_errs, read_errs, flush_errs, corruption_errs, generation_errserrors

Alerts

The following alerts are available:

Alert nameOn metricDescription
btrfs_allocated btrfs.diskpercentage of allocated BTRFS physical disk space
btrfs_data btrfs.datautilization of BTRFS data space
btrfs_metadata btrfs.metadatautilization of BTRFS metadata space
btrfs_system btrfs.systemutilization of BTRFS system space
btrfs_device_read_errors btrfs.device_errorsnumber of encountered BTRFS read errors
btrfs_device_write_errors btrfs.device_errorsnumber of encountered BTRFS write errors
btrfs_device_flush_errors btrfs.device_errorsnumber of encountered BTRFS flush errors
btrfs_device_corruption_errors btrfs.device_errorsnumber of encountered BTRFS corruption errors
btrfs_device_generation_errors btrfs.device_errorsnumber of encountered BTRFS generation errors

Setup

Prerequisites

No action required.

Configuration

File

There is no configuration file.

Options

There are no configuration options.

Examples

There are no configuration examples.


Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.