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": "c260e83eedc09fc53e541d1ce22f4f75c3d316341ccb7b8f028abdfb9fc9945f",
        "image": {
            "name": "registry.k8s.io/kube-proxy:v1.26.3"
        },
        "runtime": "containerd"
    },
    "event": {
        "dataset": "kubernetes.container",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "container": {
            "id": "c260e83eedc09fc53e541d1ce22f4f75c3d316341ccb7b8f028abdfb9fc9945f",
            "name": "kube-proxy",
            "status": {
                "phase": "running",
                "ready": true,
                "restarts": 0
            }
        },
        "namespace": "kube-system",
        "node": {
            "name": "kind-control-plane"
        },
        "pod": {
            "name": "kube-proxy-nw7gg"
        }
    },
    "metricset": {
        "name": "state_container",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}