NATS 路由指标集编辑

这是 nats 模块的路由指标集,它收集每个连接的指标。

字段

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

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

{
    "@timestamp":"2016-05-23T08:05:34.853Z",
    "beat":{
        "hostname":"beathost",
        "name":"beathost"
    },
    "metricset":{
        "host":"localhost",
        "module":"nats",
        "name":"routes",
        "rtt":44269
    },
    "nats":{
        "server": {
            "id": "bUAdpRFtMWddIBWw80Yd9D",
            "time": "2018-12-28T12:33:53.026865597Z"
        },
        "routes": {
            "in": {
                "bytes": 0,
                "messages": 0
            },
            "ip": "172.25.255.2",
            "out": {
                "bytes": 0,
                "messages": 0
            },
            "pending_size": 0,
            "port": 60736,
            "remote_id": "NCYX4P3ZCXZT3UF4BBZUG46S7EU224XXXLUTUBUDOIAUAIR5WJV73BV5",
            "subscriptions": 0,
        }
    },
    "type":"metricsets"
}