Currently it is not possible to specify the PluginInstanceFormat parameter to the collectd virt plugin, which would allow knowing the available instance (virtual machines) UUID, name, metadata, etc.
This is merged upstream, and ready for import. PR is linked.
Released upstream in puppet-collectd 12.1.0.
Oops, released upstream puppet-collectd 12.2.0.
*** Bug 1907285 has been marked as a duplicate of this bug. ***
Exception + flag given
Testing should be as simple as adding the collectd::plugin::virt::plugin_instance_format configuration to the ExtraConfig of the stf-connections.yaml file. ``` ExtraConfig: collectd::plugin::virt::plugin_instance_format: name ``` Values that are valid: - name - uuid - metadata Once enabled and deployed look at the collectd_virt module in Prometheus and note that the `plugin_instance` label for returned values is no longer `base` but should be name of the virtual machine or similar. A virtual machine must be created on the OpenStack project for any statistics to be returned. (Run InfraRed workload plugin or otherwise.)
collectd_virt_if_packets_rx_total{endpoint="prom-http",host="instance-00000005:StfInstance:a48dcb79-deb5-4844-8bd7-89d5b0b7ed2a",plugin_instance="instance-00000005",service="default-cloud1-coll-meter-smartgateway",type_instance="tap10491ab2-2b"}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.1.4 director bug fix advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:0817