Etcd 自身指标集编辑

这是模块 etcd 的自身指标集。此指标从 Etcd V2 端点读取,不会显示有关 Etcd V3 的任何活动。

这是一个默认指标集。如果主机模块未配置,则默认情况下会启用此指标集。

字段

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

以下是此指标集生成的示例文档

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "etcd": {
        "api_version": "2",
        "self": {
            "id": "8e9e05c52164694d",
            "leaderinfo": {
                "leader": "8e9e05c52164694d",
                "starttime": "2019-03-25T18:00:33.457653099+01:00",
                "uptime": "20.338096195s"
            },
            "name": "default",
            "recv": {
                "appendrequest": {
                    "count": 0
                },
                "bandwidthrate": 0,
                "pkgrate": 0
            },
            "send": {
                "appendrequest": {
                    "count": 0
                },
                "bandwidthrate": 0,
                "pkgrate": 0
            },
            "starttime": "2019-03-25T18:00:32.755273186+01:00",
            "state": "StateLeader"
        }
    },
    "event": {
        "dataset": "etcd.self",
        "duration": 115000,
        "module": "etcd"
    },
    "metricset": {
        "name": "self"
    },
    "service": {
        "address": "127.0.0.1:2379",
        "type": "etcd"
    }
}