Kubernetes state_job 度量集

编辑

Kubernetes state_job 度量集

编辑

这是 kubernetes 模块的 state_job 度量集。

字段

有关度量集每个字段的描述,请参阅已导出字段部分。

这是一个此度量集生成的示例文档

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.job",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "job": {
            "completions": {
                "desired": 1
            },
            "name": "hello-28564554",
            "owner": {
                "is_controller": "true",
                "kind": "CronJob",
                "name": "hello"
            },
            "parallelism": {
                "desired": 1
            },
            "pods": {
                "active": 0,
                "failed": 0,
                "succeeded": 1
            },
            "status": {
                "complete": "true"
            },
            "time": {
                "completed": "2024-04-23T11:54:02.000Z",
                "created": "2024-04-23T11:54:00.000Z"
            }
        },
        "namespace": "default"
    },
    "metricset": {
        "name": "state_job",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}