Kubernetes state_persistentvolumeclaim 指标集

编辑

Kubernetes state_persistentvolumeclaim 指标集编辑

kube-state-metrics 收集 kubernetes 服务相关指标的 state_persistentvolumeclaim 指标集。

字段

有关指标集中每个字段的描述,请参阅导出字段 部分。

以下是由此指标集生成的示例文档

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.persistentvolumeclaim",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "default",
        "persistentvolumeclaim": {
            "access_mode": "ReadWriteOnce",
            "created": "2023-10-31T11:19:20.000Z",
            "name": "task-pv-claim",
            "phase": "Bound",
            "request_storage": {
                "bytes": 1024
            },
            "storage_class": "generic",
            "volume_name": "task-pv-volume"
        }
    },
    "metricset": {
        "name": "state_persistentvolumeclaim",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}