# The libvirt plugin collects statistics from virtualized guests using virtualization libvirt API. [[inputs.libvirt]] ## Domain names from which libvirt gather statistics. ## By default (empty or missing array) the plugin gather statistics from each domain registered in the host system. # domains = [] ## Libvirt connection URI with hypervisor. ## The plugin supports multiple transport protocols and approaches which are configurable via the URI. ## The general URI form: driver[+transport]://[username@][hostname][:port]/[path][?extraparameters] ## Supported transport protocols: ssh, tcp, tls, unix ## URI examples for each type of transport protocol: ## 1. SSH: qemu+ssh:///system?keyfile=/&known_hosts=/ ## 2. TCP: qemu+tcp:///system ## 3. TLS: qemu+tls:///system?pkipath=/certs_dir/ ## 4. UNIX: qemu+unix:///system?socket=/ ## Default URI is qemu:///system # libvirt_uri = "qemu:///system" ## Statistics groups for which libvirt plugin will gather statistics. ## Supported statistics groups: state, cpu_total, balloon, vcpu, interface, block, perf, iothread, memory, dirtyrate ## Empty array means no metrics for statistics groups will be exposed by the plugin. ## By default the plugin will gather all available statistics. # statistics_groups = ["state", "cpu_total", "balloon", "vcpu", "interface", "block", "perf", "iothread", "memory", "dirtyrate"] ## A list containing additional statistics to be exposed by libvirt plugin. ## Supported additional statistics: vcpu_mapping ## By default (empty or missing array) the plugin will not collect additional statistics. # additional_statistics = []