Skip to content

Commit df9315e

Browse files
authored
Merge pull request #776 from stackhpc/openstack-exporter-nova-api
Restore flavor_id on openstack_nova_server_status metrics
2 parents 457e27e + eb3b4a9 commit df9315e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

etc/kayobe/kolla/globals.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@ prometheus_ceph_mgr_exporter_endpoints:
4848

4949
# Use inventory hostnames as labels
5050
prometheus_instance_label: "{% raw %}{{ ansible_facts.hostname }}{% endraw %}"
51+
52+
# Make openstack-exporter use Nova API version 2.1 to keep metrics the same as
53+
# in Yoga. This is required to include a valid value for the flavor_id label on
54+
# openstack_nova_server_status metrics.
55+
prometheus_openstack_exporter_compute_api_version: "2.1"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Restores valid value for the ``flavor_id`` label on
5+
``openstack_nova_server_status`` Prometheus metrics.

0 commit comments

Comments
 (0)