Docker diskio 度量集编辑

Docker diskio 度量集收集磁盘 I/O 指标。

这是一个默认的度量集。如果主机模块未配置,则默认情况下启用此度量集。

字段

有关度量集中的每个字段的描述,请参见 导出字段 部分。

以下是由此度量集生成的示例文档

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "container": {
        "id": "3f2af516565acd770488bc82f55d8ed17b335988f13bb7c5cd3e2dc9abdac6f4",
        "image": {
            "name": "docker.elastic.co/elasticsearch/elasticsearch:8.2.0-SNAPSHOT"
        },
        "name": "elastic-package-stack_elasticsearch_1",
        "runtime": "docker"
    },
    "docker": {
        "diskio": {
            "read": {
                "bytes": 65941504,
                "ops": 0,
                "queued": 0,
                "rate": 0,
                "service_time": 0,
                "wait_time": 0
            },
            "summary": {
                "bytes": 0,
                "ops": 0,
                "queued": 0,
                "rate": 0,
                "service_time": 0,
                "wait_time": 0
            },
            "write": {
                "bytes": 182902059008,
                "ops": 0,
                "queued": 0,
                "rate": 0,
                "service_time": 0,
                "wait_time": 0
            }
        }
    },
    "event": {
        "dataset": "docker.diskio",
        "duration": 115000,
        "module": "docker"
    },
    "metricset": {
        "name": "diskio",
        "period": 10000
    },
    "service": {
        "address": "/var/run/docker.sock",
        "type": "docker"
    }
}