CoreDNS 统计指标集

编辑

这是 coredns 模块的统计指标集。

字段

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

这是一个此指标集生成的示例文档

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "coredns": {
        "stats": {
            "dns": {
                "request": {
                    "size": {
                        "bytes": {
                            "bucket": {
                                "+Inf": 440,
                                "0": 0,
                                "100": 440,
                                "1023": 440,
                                "16000": 440,
                                "200": 440,
                                "2047": 440,
                                "300": 440,
                                "32000": 440,
                                "400": 440,
                                "4095": 440,
                                "48000": 440,
                                "511": 440,
                                "64000": 440,
                                "8291": 440
                            },
                            "count": 440,
                            "sum": 22880
                        }
                    }
                },
                "response": {
                    "size": {
                        "bytes": {
                            "bucket": {
                                "+Inf": 440,
                                "0": 0,
                                "100": 440,
                                "1023": 440,
                                "16000": 440,
                                "200": 440,
                                "2047": 440,
                                "300": 440,
                                "32000": 440,
                                "400": 440,
                                "4095": 440,
                                "48000": 440,
                                "511": 440,
                                "64000": 440,
                                "8291": 440
                            },
                            "count": 440,
                            "sum": 29480
                        }
                    }
                }
            },
            "proto": "udp",
            "server": "dns://:53",
            "zone": "."
        }
    },
    "event": {
        "dataset": "coredns.stats",
        "duration": 115000,
        "module": "coredns"
    },
    "metricset": {
        "name": "stats",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "coredns"
    }
}