Folks,

I am collecting metrics of libvirt using prometheus_libvirt_exporter and it works but I am trying to add project_name tag in each libvirt label so I can shorten them by project_name. 

It Looks like kolla default image of prometheus libvirt version doesn't have that option to send project name. 

Based on this repo - https://github.com/kumina/libvirt_exporter?tab=readme-ov-file We can add --libvirt.export-nova-metadata flag to send project_name label in each job. 

Do I need different versions of libvirt_exporter to make it work or am I missing something?


# /opt/libvirt-exporter --help
usage: libvirt_exporter [<flags>]

Prometheus metrics exporter for libvirt

Flags:
  --help                        Show context-sensitive help (also try --help-long and --help-man).
  --web.listen-address=":9177"  Address to listen on for web interface and telemetry.
  --web.telemetry-path="/metrics"
                                Path under which to expose metrics.
  --libvirt.uri="qemu:///system"
                                Libvirt URI from which to extract metrics.
  --version                     Show application version.