System raid metricset

This is the raid metricset of the module system. It collects stats about the raid.

This metricset is available on:

  • Linux

The config option raid.mount_point: can be used to configure the location of the raid metadata. If running this metricset inside a container, you will need to mount /sys/block inside the container under the path specified by --system.hostfs

Fields

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "dataset": "system.raid",
        "duration": 115000,
        "module": "system"
    },
    "metricset": {
        "name": "raid"
    },
    "service": {
        "type": "system"
    },
    "system": {
        "raid": {
            "blocks": {
                "synced": 0,
                "total": 4189184
            },
            "disks": {
                "active": 2,
                "failed": 0,
                "spare": 1,
                "states": {
                    "in_sync": 2,
                    "spare": 1
                },
                "total": 3
            },
            "level": "raid1",
            "name": "md0",
            "status": "clean",
            "sync_action": "repair"
        }
    }
}