PHP_FPM 池度量集编辑

这是 PHP_FPM 模块的 pool 度量集。

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

字段

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

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

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "php_fpm.pool",
        "duration": 115000,
        "module": "php_fpm"
    },
    "metricset": {
        "name": "pool",
        "period": 10000
    },
    "php_fpm": {
        "pool": {
            "connections": {
                "accepted": 18,
                "listen_queue_len": 0,
                "max_listen_queue": 0,
                "queued": 0
            },
            "name": "www",
            "process_manager": "dynamic",
            "processes": {
                "active": 1,
                "idle": 1,
                "max_active": 1,
                "max_children_reached": 0,
                "total": 2
            },
            "slow_requests": 0,
            "start_since": 3589,
            "start_time": 1551792028
        }
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "php_fpm"
    }
}