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