Etcd 存储度量集

编辑

这是 etcd 模块的存储度量集。这些指标是从 Etcd V2 端点读取的,不会显示任何与 Etcd V3 相关的活动。

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

字段

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

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

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "etcd": {
        "api_version": "2",
        "store": {
            "compareanddelete": {
                "fail": 0,
                "success": 0
            },
            "compareandswap": {
                "fail": 0,
                "success": 0
            },
            "create": {
                "fail": 0,
                "success": 1
            },
            "delete": {
                "fail": 0,
                "success": 0
            },
            "expire": {
                "count": 0
            },
            "gets": {
                "fail": 4,
                "success": 2
            },
            "sets": {
                "fail": 0,
                "success": 12
            },
            "update": {
                "fail": 0,
                "success": 0
            },
            "watchers": 0
        }
    },
    "event": {
        "dataset": "etcd.store",
        "duration": 115000,
        "module": "etcd"
    },
    "metricset": {
        "name": "store"
    },
    "service": {
        "address": "127.0.0.1:2379",
        "type": "etcd"
    }
}