Kubernetes state_container 度量集

编辑

Kubernetes state_container 度量集

编辑

这是 Kubernetes 模块的 state_container 度量集。

字段

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

以下是由此度量集生成的示例文档

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "container": {
        "id": "054b424625a7c22c210e3fe0aae55069d4f3e18ce8bc802a9a96ce87bb7a2483",
        "image": {
            "name": "docker.io/library/busybox:latest"
        },
        "runtime": "containerd"
    },
    "event": {
        "dataset": "kubernetes.container",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "container": {
            "id": "054b424625a7c22c210e3fe0aae55069d4f3e18ce8bc802a9a96ce87bb7a2483",
            "name": "hello",
            "status": {
                "phase": "terminated",
                "ready": false,
                "reason": "Completed",
                "restarts": 0
            }
        },
        "namespace": "default",
        "node": {
            "name": "kind-control-plane"
        },
        "pod": {
            "name": "hello-28564555-zdfjz"
        }
    },
    "metricset": {
        "name": "state_container",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}