Kubernetes state_resourcequota metricset

edit

Kubernetes state_resourcequota metricset

edit

The state_resourcequota metricset for kubernetes reads from kube-state-metrics.

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-09-16T18:37:16.237Z",
    "@metadata": {
      "beat": "metricbeat",
      "type": "_doc",
      "version": "8.0.0"
    },
    "agent": {
      "ephemeral_id": "9a223001-a65f-4460-b106-553151987b09",
      "hostname": "minikube",
      "id": "191c7322-6d36-4f6c-b451-d0302b96841b",
      "version": "8.0.0",
      "type": "metricbeat"
    },
    "kubernetes": {
      "namespace": "rqtest",
      "resourcequota": {
        "quota": 2,
        "name": "objects",
        "resource": "services",
        "type": "hard"
      }
    },
    "event": {
      "module": "kubernetes",
      "duration": 13626177,
      "dataset": "kubernetes.resourcequota"
    },
    "metricset": {
      "period": 10000,
      "name": "state_resourcequota"
    },
    "service": {
      "address": "kube-state-metrics.kube-system:8080",
      "type": "kubernetes"
    },
    "ecs": {
      "version": "1.1.0"
    },
    "host": {
      "name": "minikube",
      "architecture": "x86_64",
      "os": {
        "kernel": "4.15.0",
        "codename": "bionic",
        "platform": "ubuntu",
        "version": "18.04.3 LTS (Bionic Beaver)",
        "family": "debian",
        "name": "Ubuntu"
      },
      "containerized": false,
      "hostname": "minikube"
    }
  }
}