Kubernetes state_pod metricset

edit

Kubernetes state_pod metricset

edit

This is the state_pod metricset of the Kubernetes module.

Fields

edit

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",
    "event": {
        "dataset": "kubernetes.pod",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "kube-system",
        "node": {
            "name": "minikube"
        },
        "pod": {
            "host_ip": "192.168.99.100",
            "ip": "172.17.0.3",
            "name": "kube-state-metrics-1303537707-7ncd1",
            "status": {
                "phase": "running",
                "ready": "true",
                "scheduled": "true"
            }
        }
    },
    "metricset": {
        "name": "state_pod"
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}