Kubernetes state_container metricset

edit

Kubernetes state_container metricset

edit

This is the state_container metricset of the Kubernetes module.

Fields

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "container": {
        "id": "eb97eb439a6c71ec0d24241d23c87b019776e770d09a3026a518b6910275ed5d",
        "image": {
            "name": "registry.k8s.io/etcd:3.5.7-0"
        },
        "runtime": "containerd"
    },
    "event": {
        "dataset": "kubernetes.container",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "container": {
            "cpu": {
                "request": {
                    "cores": 0.1
                }
            },
            "id": "eb97eb439a6c71ec0d24241d23c87b019776e770d09a3026a518b6910275ed5d",
            "memory": {
                "request": {
                    "bytes": 104857600
                }
            },
            "name": "etcd",
            "status": {
                "phase": "running",
                "ready": true,
                "restarts": 0
            }
        },
        "namespace": "kube-system",
        "node": {
            "name": "kind-control-plane"
        },
        "pod": {
            "name": "etcd-kind-control-plane"
        }
    },
    "metricset": {
        "name": "state_container",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}