Memcached stats 度量集

编辑

这是 Memcached 模块的 stats 度量集。

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

字段

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

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

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "event": {
        "dataset": "memcached.stats",
        "duration": 115000,
        "module": "memcached"
    },
    "memcached": {
        "stats": {
            "bytes": {
                "current": 0,
                "limit": 67108864
            },
            "cmd": {
                "get": 0,
                "set": 0
            },
            "connections": {
                "current": 10,
                "total": 135
            },
            "evictions": 0,
            "get": {
                "hits": 0,
                "misses": 0
            },
            "items": {
                "current": 0,
                "total": 0
            },
            "pid": 1,
            "read": {
                "bytes": 18
            },
            "threads": 4,
            "uptime": {
                "sec": 139
            },
            "written": {
                "bytes": 2616
            }
        }
    },
    "metricset": {
        "name": "stats"
    },
    "service": {
        "address": "172.26.0.2:11211",
        "type": "memcached"
    }
}