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_job metricset
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Kubernetes state_job metricset
editThis is the state_job metricset of the module kubernetes.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{
"@timestamp": "2021-06-24T13:52:28.941Z",
"event": {
"dataset": "kubernetes.job",
"module": "kubernetes",
"duration": 159363320
},
"metricset": {
"name": "state_job",
"period": 10000
},
"service": {
"address": "http://localhost:8080/metrics",
"type": "kubernetes"
},
"kubernetes": {
"namespace": "parallel-ns",
"job": {
"status": {
"complete": "true"
},
"parallelism": {
"desired": 5
},
"owner": {
"kind": "CronJob",
"name": "sleep-5-parallel-cron",
"is_controller": "true"
},
"name": "sleep-5-parallel-cron-27075669",
"completions": {
"desired": 20
},
"time": {
"created": "2021-06-24T13:09:00.000Z",
"completed": "2021-06-24T13:38:57.000Z"
},
"pods": {
"active": 0,
"succeeded": 20,
"failed": 0
}
}
}
}