PHP_FPM 进程指标集编辑

这是 php_fpm 模块的进程指标集。

字段

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

以下是由此指标集生成的示例文档

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "php_fpm.process",
        "duration": 115000,
        "module": "php_fpm"
    },
    "http": {
        "request": {
            "method": "get"
        },
        "response": {
            "body": {
                "bytes": 0
            }
        }
    },
    "metricset": {
        "name": "process",
        "period": 10000
    },
    "php_fpm": {
        "pool": {
            "name": "www"
        },
        "process": {
            "last_request_cpu": 0,
            "last_request_memory": 0,
            "request_duration": 135,
            "requests": 9,
            "script": "-",
            "start_since": 3471,
            "start_time": 1551792028,
            "state": "Running"
        }
    },
    "process": {
        "pid": 24
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "php_fpm"
    },
    "url": {
        "original": "/status?full\u0026json"
    },
    "user": {
        "name": "-"
    }
}