You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
Unfortunately, I've hit a bug. When the exporter finds in domain XML definition of a device without target - for example, VFIO interfaces which can be detected as "hostdev" devices - it fails with error:
libvirt_exporter[20034]: 2017/11/24 10:22:11 Failed to scrape metrics: virError(Code=8, Domain=10, Message='invalid argument: invalid path, '' is not a known interface')
and the exporter stops the processing.
Expected behavior - warn about lack of device and ignore the interface (or gather stats in some different way if possible).
I believe this is the fragment of our domain xml file that causes this issue:
Hi,
great work with this exporter!
Unfortunately, I've hit a bug. When the exporter finds in domain XML definition of a device without target - for example, VFIO interfaces which can be detected as "hostdev" devices - it fails with error:
libvirt_exporter[20034]: 2017/11/24 10:22:11 Failed to scrape metrics: virError(Code=8, Domain=10, Message='invalid argument: invalid path, '' is not a known interface')
and the exporter stops the processing.
Expected behavior - warn about lack of device and ignore the interface (or gather stats in some different way if possible).
I believe this is the fragment of our domain xml file that causes this issue:
The text was updated successfully, but these errors were encountered: