This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Kubernetes state_persistentvolumeclaim metricset
editKubernetes state_persistentvolumeclaim metricset
editThe state_persistentvolumeclaim
metricset for kubernetes service related metrics from kube-state-metrics
.
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.persistentvolumeclaim", "duration": 115000, "module": "kubernetes" }, "kubernetes": { "namespace": "default", "persistentvolumeclaim": { "access_mode": "ReadWriteOnce", "created": "2024-04-23T08:51:31.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" } }