PostgreSQL bgwriter 度量集

编辑

这是 PostgreSQL 模块的 bgwriter 度量集。

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

字段

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

这是一个由该度量集生成的示例文档

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "dataset": "postgresql.bgwriter",
        "duration": 115000,
        "module": "postgresql"
    },
    "metricset": {
        "name": "bgwriter",
        "period": 10000
    },
    "postgresql": {
        "bgwriter": {
            "buffers": {
                "allocated": 273,
                "backend": 0,
                "backend_fsync": 0,
                "checkpoints": 8,
                "clean": 0,
                "clean_full": 0
            },
            "checkpoints": {
                "requested": 0,
                "scheduled": 4,
                "times": {
                    "sync": {
                        "ms": 9
                    },
                    "write": {
                        "ms": 804
                    }
                }
            },
            "stats_reset": "2021-03-05T18:39:17.954Z"
        }
    },
    "service": {
        "address": "192.168.128.2:5432",
        "type": "postgresql"
    }
}