Sign inSign up

beylistan/libvirt_exporter

By beylistan

•Updated almost 9 years ago

This exporter connects to any libvirt daemon and exports per-domain metrics.

Image
0

100K+

beylistan/libvirt_exporter repository overview

This exporter is running in docker container and connects to any libvirt daemon and exports per-domain metrics related to CPU, memory, disk and network usage. Metrics are exposing on port 9177

docker run --privileged -dp 9177:9177
-v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock
--name libvirt_exporter beylistan/libvirt_exporter
python3 libvirt_exporter.py [-si SCRAPE_INTERVAL] [-uri UNIFORM_RESOURCE_IDENTIFIER]

List of metrics/labels are being exported:

libvirt_cpu_stats_system_time_nanosecs{domain=""} libvirt_cpu_stats_user_time_nanosecs{domain=""} libvirt_cpu_stats_cpu_time_nanosecs{domain=""}

libvirt_mem_stats_rss{domain=""} libvirt_mem_stats_swap_in{domain=""} libvirt_mem_stats_unused{domain=""} libvirt_mem_stats_minor_fault{domain=""} libvirt_mem_stats_last_update{domain=""} libvirt_mem_stats_actual{domain=""} libvirt_mem_stats_major_fault{domain=""} libvirt_mem_stats_available{domain=""}

libvirt_block_stats_errors_number{domain="",target_device=""} libvirt_block_stats_write_requests_issued{domain="",target_device=""} libvirt_block_stats_write_bytes{domain="",target_device=""} libvirt_block_stats_read_bytes{domain="",target_device=""} libvirt_block_stats_read_requests_issued{domain="",target_device=""}

libvirt_interface_write_errors{domain="",target_device=""} libvirt_interface_write_bytes{domain="",target_device=""} libvirt_interface_write_packets{domain="",target_device=""} libvirt_interface_write_drops{domain="-",target_device=""}

libvirt_interface_read_packets{domain="",target_device=""} libvirt_interface_read_errors{domain="",target_device=""} libvirt_interface_read_drops{domain="",target_device=""} libvirt_interface_read_bytes{domain="-",target_device=""}

Tag summary

Content type

Image

Digest

Size

230 MB

Last updated

almost 9 years ago

docker pull beylistan/libvirt_exporter