Kubernetes 代理指标集

编辑

proxy 指标集适用于 Kubernetes 模块。

字段

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

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

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.proxy",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "proxy": {
            "client": {
                "request": {
                    "duration": {
                        "us": {
                            "bucket": {
                                "+Inf": 1,
                                "100000": 1,
                                "1000000": 1,
                                "15000000": 1,
                                "2000000": 1,
                                "25000": 1,
                                "250000": 1,
                                "30000000": 1,
                                "4000000": 1,
                                "5000": 0,
                                "500000": 1,
                                "60000000": 1,
                                "8000000": 1
                            },
                            "count": 1,
                            "sum": 8318.793
                        }
                    },
                    "size": {
                        "bytes": {
                            "bucket": {
                                "+Inf": 1,
                                "1024": 1,
                                "1048576": 1,
                                "16384": 1,
                                "16777216": 1,
                                "256": 1,
                                "262144": 1,
                                "4096": 1,
                                "4194304": 1,
                                "512": 1,
                                "64": 0,
                                "65536": 1
                            },
                            "count": 1,
                            "sum": 218
                        }
                    }
                },
                "response": {
                    "size": {
                        "bytes": {
                            "bucket": {
                                "+Inf": 1,
                                "1024": 1,
                                "1048576": 1,
                                "16384": 1,
                                "16777216": 1,
                                "256": 0,
                                "262144": 1,
                                "4096": 1,
                                "4194304": 1,
                                "512": 1,
                                "64": 0,
                                "65536": 1
                            },
                            "count": 1,
                            "sum": 465
                        }
                    }
                }
            },
            "host": "control-plane.minikube.internal:8443",
            "verb": "POST"
        }
    },
    "metricset": {
        "name": "proxy",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}