Kubernetes state_service metricset

edit

Kubernetes state_service metricset

edit

The state_service metricset for kubernetes service related metrics 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-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.service",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "kube-system",
        "service": {
            "cluster_ip": "10.96.0.10",
            "created": "2023-10-30T14:21:22.000Z",
            "name": "kube-dns",
            "type": "ClusterIP"
        }
    },
    "metricset": {
        "name": "state_service",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}