Collecting custom metrics for vsphere module?

Hi Everyone,

OS: CentOS 7.x
Beat: Metricbeat
Version: 6.0.0-beta2

can we customize the list of metric that we want to collect in the vsphere module? I'm not sure if that's the purpose of get_custom_fields in the config. I've tried to add new metric such as ballooning, but does not seem to work.

Also, the metric names listed in the fields.yml file seem different with the standard metric internal names that we see in vcenter.

Thanks

Could you please open an issue on GitHub for both of these issues. We can improve the documentation for the config options and make sure that the fields.yml is correct. It would really help if you could call out the fields that are different/missing.

From researching the get_custom_fields I believe that setting this to true causes the virtualmachine metricset to report all of the custom attributes set on the virtual machine. Hopefully after opening the GH issue we can get confirmation from the original author of the module. We might also want to consider renaming the config option to virtualmachine.include_custom_attributes to help clarify what metricset it affects and what it does.

Thanks @andrewkroh for pointing out that link on the custom attributes.
Yeah, seems it is basically just "tagging" feature that you want to associate to either VM, host or global.

I'll open up issues for these in github.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.