Back to Beats

Linux pressure metricset [metricbeat-metricset-linux-pressure]

docs/reference/metricbeat/metricbeat-metricset-linux-pressure.md

9.4.01.6 KB
Original Source

% This file is generated! See metricbeat/scripts/mage/docs_collector.go

Linux pressure metricset [metricbeat-metricset-linux-pressure]

::::{warning} This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. ::::

The Pressure module reports Pressure Stall Information (PSI) collected for the cpu, memory, and io files/resources found in /proc/pressure. PSI metrics are included in Linux kernel versions from 4.20. Some distributions might have PSI support, but have disabled the feature via the CONFIG_PSI_DEFAULT_DISABLED setting, to enable PSI metrics pass psi=1 on the kernel command line during boot.

Fields [_fields]

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

Here is an example document generated by this metricset:

json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "dataset": "linux.pressure",
        "duration": 115000,
        "module": "linux"
    },
    "linux": {
        "pressure": {
            "cpu": {
                "some": {
                    "10": 1.63,
                    "300": 0.06,
                    "60": 0.29,
                    "total": 155911207
                }
            }
        }
    },
    "metricset": {
        "name": "pressure",
        "period": 10000
    },
    "service": {
        "type": "linux"
    }
}