IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Kubernetes state_container metricset
editKubernetes state_container metricset
editThis is the state_container
metricset of the Kubernetes module.
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-10-02T16:47:01.499Z", "metricset": { "name": "state_container", "period": 10000 }, "service": { "address": "kube-state-metrics.kube-system:8080", "type": "kubernetes" }, "kubernetes": { "labels": { "app": "playground" }, "container": { "name": "ubuntu", "cpu": { "request": { "cores": 0.15 } }, "id": "docker://5f8ce416d10ab0b28ce5c7d521de2264aa03ff4d001e1194076f6a02a330139f", "status": { "ready": true, "restarts": 0, "phase": "running" } }, "pod": { "name": "playground", "uid": "d52bd3cb-df62-4cb5-b293-7009055bcaff" }, "namespace": "default", "node": { "name": "minikube" } }, "host": { "os": { "codename": "bionic", "platform": "ubuntu", "version": "18.04.3 LTS (Bionic Beaver)", "family": "debian", "name": "Ubuntu", "kernel": "4.15.0" }, "containerized": false, "hostname": "minikube", "name": "minikube", "architecture": "x86_64" }, "agent": { "version": "8.0.0", "type": "metricbeat", "ephemeral_id": "fed15ef3-ab8f-4e11-aded-115ff923bc1e", "hostname": "minikube", "id": "0df400e0-a5fc-40cc-a0c6-b99029a30cd5" }, "ecs": { "version": "1.1.0" }, "container": { "runtime": "docker", "id": "5f8ce416d10ab0b28ce5c7d521de2264aa03ff4d001e1194076f6a02a330139f", "image": { "name": "ubuntu:latest" }, }, "event": { "dataset": "kubernetes.container", "module": "kubernetes", "duration": 33750820 } }