From 897a5d761a0ab6d43e8bac4c4e9a5ad47edfb4b0 Mon Sep 17 00:00:00 2001 From: Seunghun Lee <45145778+seunghun1ee@users.noreply.github.com> Date: Thu, 27 Feb 2025 08:18:13 +0000 Subject: [PATCH] Match job name of OS Capacity to what Azimuth expects (#1531) Match job name of OS Capacity to what Azimuth expects --- .../config/prometheus/prometheus.yml.d/70-oscapacity.yml | 2 +- ...job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-os-capacity-prometheus-job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml diff --git a/etc/kayobe/kolla/config/prometheus/prometheus.yml.d/70-oscapacity.yml b/etc/kayobe/kolla/config/prometheus/prometheus.yml.d/70-oscapacity.yml index afed8d915..f886734a4 100644 --- a/etc/kayobe/kolla/config/prometheus/prometheus.yml.d/70-oscapacity.yml +++ b/etc/kayobe/kolla/config/prometheus/prometheus.yml.d/70-oscapacity.yml @@ -3,7 +3,7 @@ {% if stackhpc_enable_os_capacity | bool %} {% raw %} scrape_configs: - - job_name: os-capacity + - job_name: os_capacity static_configs: - targets: - '{{ kolla_internal_fqdn | put_address_in_context('url') }}:9090' diff --git a/releasenotes/notes/fix-os-capacity-prometheus-job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml b/releasenotes/notes/fix-os-capacity-prometheus-job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml new file mode 100644 index 000000000..da274014f --- /dev/null +++ b/releasenotes/notes/fix-os-capacity-prometheus-job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Changed the Prometheus job name of OS Capacity exporter to + ``os_capacity`` which is what Azimuth is expecting to have for + `cloud metrics dashboard `__.