-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Describe the enhancement:
Currently our Metricbeat Kubernetes volume is not collecting volume types in the volume
metricset.
Kubernetes volumes can be of many different types, and many of them might be unwanted by the users in certain visualizations or even during data collection. Examples of volume types are: Secret
, ConfigMap
, HostPath
, EmptyDir
, PersistentVolumeClaim
.
It would be very useful to include the volume type into the field kubernetes.volume.type
, which is currently not offered.
In case of supporting this, ideally we should also offer in the metricset the capacity of filtering out incoming data, in the same way as we do in the system-->filesystem
metricset with filesystem.ignore_types
. We could offer this with something like volume.ignore_types
.
I also believe implementing this should be easy as the --> Update: the previous is incorrect. A volume doesn't have an explicit type
is part of the volume metadata.type
setting, it just has different settings depending on its type.
The same should be applied to Elastic Agent Kubernetes integration.
Describe a specific use case for the enhancement or feature:
Kubernetes monitoring and wanting to optimize data collection.