aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/prometheus/prometheus-haproxy-exporter/Dockerfile.j223
-rw-r--r--releasenotes/notes/remove-prometheus-haproxy-exporter-22d5af88af7e4a9d.yaml8
2 files changed, 8 insertions, 23 deletions
diff --git a/docker/prometheus/prometheus-haproxy-exporter/Dockerfile.j2 b/docker/prometheus/prometheus-haproxy-exporter/Dockerfile.j2
deleted file mode 100644
index 5b5e1074c..000000000
--- a/docker/prometheus/prometheus-haproxy-exporter/Dockerfile.j2
+++ /dev/null
@@ -1,23 +0,0 @@
-FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
-{% block labels %}
-LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
-{% endblock %}
-
-{% block haproxy_exporter_header %}{% endblock %}
-
-{% block haproxy_exporter_repository_version %}
-ARG haproxy_exporter_version=0.15.0
-ARG haproxy_exporter_url=https://github.com/prometheus/haproxy_exporter/releases/download/v${haproxy_exporter_version}/haproxy_exporter-${haproxy_exporter_version}.linux-{{debian_arch}}.tar.gz
-{% endblock %}
-
-{% block haproxy_exporter_install %}
-RUN curl -o /tmp/haproxy_exporter.tar.gz ${haproxy_exporter_url} \
- && tar xvf /tmp/haproxy_exporter.tar.gz -C /opt/ \
- && rm -f /tmp/haproxy_exporter.tar.gz \
- && ln -s /opt/haproxy_exporter* /opt/haproxy_exporter
-{% endblock %}
-
-{% block haproxy_exporter_footer %}{% endblock %}
-{% block footer %}{% endblock %}
-
-USER prometheus
diff --git a/releasenotes/notes/remove-prometheus-haproxy-exporter-22d5af88af7e4a9d.yaml b/releasenotes/notes/remove-prometheus-haproxy-exporter-22d5af88af7e4a9d.yaml
new file mode 100644
index 000000000..5a0522e05
--- /dev/null
+++ b/releasenotes/notes/remove-prometheus-haproxy-exporter-22d5af88af7e4a9d.yaml
@@ -0,0 +1,8 @@
+---
+upgrade:
+ - |
+ HAProxy Prometheus metrics are now available directly from HAProxy. As
+ such, the standalone Prometheus HAProxy exporter was archived in March
+ 2023, is no longer supported and the Docker image has been removed from
+ Kolla. For further details see `here
+ <https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint>`__.