zhangjianweibj / prometheus-libvirt-exporter

prometheus-libvirt-exporter
MIT License
150 stars 58 forks source link

libvirt update and some refactoring #26

Closed cavus700 closed 3 years ago

cavus700 commented 3 years ago

Hi I really like your project but in order to make it work I had to update the go-libvirt version to make use of the libvirt.ConnectToURI()-function. While doing this I started to refactor some of the longer functions and removed the log.fatalf()-calls, so the exporter can keep running in case some metric is not available. If you do not like the refactoring just tell me and I will remove them but it would be nice to merge the updated go-libvirt package.

zhangjianweibj commented 3 years ago

verty thanks for your pr.