-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[receiver/kubeletstats] volume metrics should include pvc reference #31728
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@stoetti does the resource attribute |
Unfortunately not as we want to monitor for all workloads in the cluster and the volume name is not an indicator for the type of the volume. This can also not be established as we run external components. |
We do support a subset of volume types and the pvc name is available as attr. You'll need to enable it with the below config
Example metric with the attribute |
Great that is exactly what I was looking for 👏 |
Component(s)
receiver/kubeletstats
Is your feature request related to a problem? Please describe.
We want to monitor the available disk space of persistent volumes but the receiver does not provide any information to differentiate by volume type (pvc, emptydir, configmap, ...)
Describe the solution you'd like
The stats endpoint of the kubelet returns a field "pvcref" for volumes of type persistentVolumeClaim. Adding the name and namespace from that field as label would make it possible to monitor actual disk usage for persistent volumes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: