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"
    }
}