Example, the compute overview dashboard has the following for scheduled VMs.
sum by(project_name) (libvirt_domain_info_meta{juju_application=~"$juju_application",juju_model=~"$juju_model",juju_model_uuid=~"$juju_model_uuid",juju_unit=~"$juju_unit",project_name=~"$project"})
Source
But, the cloud usage dashboard has the following for scheduled VMs.
sum(openstack_nova_running_vms{hostname=~"$hypervisor.*",juju_application=~"$juju_application",juju_model=~"$juju_model",juju_model_uuid=~"$juju_model_uuid",juju_unit=~"$juju_unit"})
Source
The first does not work without the libvirt exporter, and the second does. Making these changes where possible is beneficial due to the prometheus libvirt exporter being deprecated.
Example, the compute overview dashboard has the following for scheduled VMs.
Source
But, the cloud usage dashboard has the following for scheduled VMs.
Source
The first does not work without the libvirt exporter, and the second does. Making these changes where possible is beneficial due to the prometheus libvirt exporter being deprecated.