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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libvirt-dev to kvm-host bundle #61

Closed
bswinnerton opened this issue Aug 12, 2018 · 7 comments
Closed

Add libvirt-dev to kvm-host bundle #61

bswinnerton opened this issue Aug 12, 2018 · 7 comments
Assignees

Comments

@bswinnerton
Copy link

馃憢 Hi there!

I'm using the kvm-host bundle, and it's working great. I run a Grafana instance and I'd like to get some libvirt related data out of it. I started researching and there's a tool to pull data out using Prometheus over in https://github.com/kumina/libvirt_exporter, but it depends on libvirt-dev in order to access the libvirt APIs and get metrics.

It looks like the libvirt-dev package is available in os-utils-gui-dev, but I was wondering if it could be added to the kvm-host bundle, or perhaps adding a kvm-host-dev bundle with it 馃檹.

For posterity, when trying to build the libvirt_exporter source, this was the error I was getting that led me towards this request:

Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
@bryteise
Copy link
Member

Hello, that would be fine but I think it might be even easier for you if we were to add libvirt_exporter to a related bundle (or maybe as a standalone bundle) instead.

@bryteise
Copy link
Member

I just looked over at the git repo and it looks like they haven't made a release yet, we could take the latest git commit but we really prefer projects that make releases.

@bswinnerton
Copy link
Author

馃憢 @bryteise, thank you for the assistance on this!

I just looked over at the git repo and it looks like they haven't made a release yet, we could take the latest git commit but we really prefer projects that make releases.

I just wrote them a proposal to support GitHub releases (or tags, even) over in kumina/libvirt_exporter#12. We'll have to wait and see what they say.

In the mean time, what are your thoughts on adding libvirt-dev to the kvm-host bundle (or a new kvm-host-dev bundle)? That may open up possibilities for others who may want to tap into the libvirt APIs outside of the libvirt_exporter project.

@bswinnerton
Copy link
Author

Hey @bryteise! Just wondering if you had any thoughts on my message above.

@bryteise
Copy link
Member

Hey, thanks for the ping, too many things going on X(. In general we keep development libraries out of use case oriented bundles (outside of developer use case bundles) so I guess I'll just spin up the kvm-host-dev bundle.

@bryteise
Copy link
Member

Should in theory be in the morning build. Hopefully we can get the exporter in when they make their release.

@bswinnerton
Copy link
Author

Thank you so much, @bryteise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants