Bump prometheus-openstack-exporter version to 1.6.0

Change-Id: I4bd581c3ea422e1c9a075a71721413d47fdbdfe4
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828902
This commit is contained in:
Pierre Riteau 2022-06-22 16:57:32 +02:00
parent 9931f83913
commit 5f94e53bea
2 changed files with 16 additions and 5 deletions

View File

@ -6,15 +6,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% block prometheus_openstack_exporter_header %}{% endblock %}
{% block prometheus_openstack_exporter_repository_version %}
ARG prometheus_openstack_exporter_version=1.3.0
ARG prometheus_openstack_exporter_url=https://github.com/openstack-exporter/openstack-exporter/releases/download/v${prometheus_openstack_exporter_version}/openstack-exporter-${prometheus_openstack_exporter_version}.linux-{{debian_arch}}.tar.gz
ARG prometheus_openstack_exporter_version=1.6.0
ARG prometheus_openstack_exporter_url=https://github.com/openstack-exporter/openstack-exporter/releases/download/v${prometheus_openstack_exporter_version}/openstack-exporter_${prometheus_openstack_exporter_version}_linux_{{debian_arch}}.tar.gz
{% endblock %}
{% block prometheus_openstack_exporter_install %}
RUN curl -o /tmp/prometheus_openstack_exporter.tar.gz ${prometheus_openstack_exporter_url} \
&& tar xvf /tmp/prometheus_openstack_exporter.tar.gz -C /opt/ \
&& rm -f /tmp/prometheus_openstack_exporter.tar.gz \
&& ln -s /opt/openstack-exporter* /opt/openstack-exporter
&& mkdir /opt/openstack-exporter \
&& tar xvf /tmp/prometheus_openstack_exporter.tar.gz -C /opt/openstack-exporter \
&& rm -f /tmp/prometheus_openstack_exporter.tar.gz
{% endblock %}
{% block prometheus_openstack_exporter_footer %}{% endblock %}

View File

@ -0,0 +1,11 @@
---
features:
- |
Updates the OpenStack exporter for Prometheus to `version 1.6.0
<https://github.com/openstack-exporter/openstack-exporter/releases/tag/v1.6.0>`__.
upgrade:
- |
The updated OpenStack exporter for Prometheus uses the latest Nova API
microversion by default, resulting in changes to existing metrics. To keep
existing behaviour, set
``prometheus_openstack_exporter_compute_api_version`` to ``2.1``.