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 PluginInstanceFormat parameter to virt plugin #955

Merged

Conversation

leifmadsen
Copy link
Contributor

Add the PluginInstanceFormat parameter to the virt plugin to allow for specifying the
plugin instance format, resulting in a new label being available to the virt metrics. By
adding this you can provide the UUID of the virtual machine, along with HostnameFormat
to have information about VMs that exist per physical host.

@leifmadsen leifmadsen force-pushed the lmadsen-add-virt-plugininstanceformat branch from 26e3103 to e56e713 Compare September 11, 2020 14:19
Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs a spec test

@leifmadsen leifmadsen force-pushed the lmadsen-add-virt-plugininstanceformat branch from e56e713 to 0a255d1 Compare September 14, 2020 16:07
@leifmadsen
Copy link
Contributor Author

@igalic test added

Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

templates/plugin/virt.conf.erb Show resolved Hide resolved
…ceFormat parameter to the virt plugin to allow forspecifying the plugin instance format, resulting in a new label beingavailable to the virt metrics. By adding this you can provide the UUIDof the virtual machine, along with HostnameFormat to have informationabout VMs that exist per physical host.Adds spec test to validate that PluginInstanceFormat is available incollectd version 5.5.0 or later.
@leifmadsen leifmadsen force-pushed the lmadsen-add-virt-plugininstanceformat branch from 0a255d1 to 20494e4 Compare September 18, 2020 17:25
@bastelfreak bastelfreak added enhancement New feature or request and removed needs-tests labels Sep 18, 2020
@bastelfreak bastelfreak merged commit 9286412 into voxpupuli:master Sep 18, 2020
@leifmadsen leifmadsen deleted the lmadsen-add-virt-plugininstanceformat branch September 18, 2020 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants