Skip to content

[FEATURE] project_id label in libvirt_domain_info_meta metric #46

Description

@joek-office

This exporter is the standard libvirtd exporter for Kolla/Kolla-Ansible.
https://github.com/openstack/kolla/blob/master/docker/prometheus/prometheus-libvirt-exporter/Dockerfile.j2

I deploy kolla-ansible with cloudkitty as rating module and with prometheus as metric source. So cloudkitty has to be configured to use the promQL to retrieve the data from Prometheus. Unfortunately there is no label 'project_id' in the libvirt_domain_info_meta metric. project_id is the standard label name for cloudkitty to filter the domains by. This is configurable, but then other exporters like openstack exporter can't retrieve data.

So for better compatibility i hope you can insert a label with name project_id in the libvirt_domain_info_meta metric.
I'm not a programmer, but think it is not much work to do.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions