Kubernetes state_job metricset

edit

Kubernetes state_job metricset

edit

This is the state_job metricset of the module kubernetes.

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.job",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "job": {
            "completions": {
                "desired": 1
            },
            "name": "hello-cronjob-27900586",
            "owner": {
                "is_controller": "true",
                "kind": "CronJob",
                "name": "hello-cronjob"
            },
            "parallelism": {
                "desired": 1
            },
            "pods": {
                "active": 0,
                "failed": 0,
                "succeeded": 1
            },
            "status": {
                "complete": "true"
            },
            "time": {
                "completed": "2023-01-18T09:46:04.000Z",
                "created": "2023-01-18T09:46:00.000Z"
            }
        },
        "namespace": "kube-system"
    },
    "metricset": {
        "name": "state_job",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}