Skip to content
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

Add pvc name and namespace to kubernetes volume metricset #6977

Closed
morganchristiansson opened this issue Apr 30, 2018 · 2 comments · Fixed by #38839
Closed

Add pvc name and namespace to kubernetes volume metricset #6977

morganchristiansson opened this issue Apr 30, 2018 · 2 comments · Fixed by #38839
Labels
containers Related to containers use case enhancement Metricbeat Metricbeat module Stalled Team:Integrations Label for the Integrations team

Comments

@morganchristiansson
Copy link

I am trying to monitor PVC space utilization. There's currently no way to easily distinguish between a emptyDir/configMap from a pvc volume from the metrics reported.

This PR added PVCRef with namespace and name of the PVC which would easily allow me to filter out volumes aren't relevant. kubernetes/kubernetes#51448

It would be grand if we can add pvc name and namespace to the volume metricset.

Thank you

@morganchristiansson morganchristiansson changed the title Add PVCRef to kubernetes volume metricset Add pvc name and namespace to kubernetes volume metricset Apr 30, 2018
@morganchristiansson
Copy link
Author

Something like this matches well with defined metricset style and how metricbeat munges kubelet API json nicely

    "kubernetes": {
        "volume": {
            "pvc": {
                "name": "pvcname",
                "namespace": "pvcnamespace"
            }
        }
    }
}

Full metricset: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-metricset-kubernetes-volume.html

@jsoriano jsoriano added enhancement module Metricbeat Metricbeat containers Related to containers use case labels Apr 30, 2018
@ruflin ruflin added the Team:Integrations Label for the Integrations team label Nov 21, 2018
@botelastic
Copy link

botelastic bot commented Jul 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Related to containers use case enhancement Metricbeat Metricbeat module Stalled Team:Integrations Label for the Integrations team
Projects
None yet
3 participants