From ec922705bfafd3a2d0395b240041e087227f3e89 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 24 Feb 2025 10:20:53 +0000 Subject: [PATCH 1/2] 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..56fd101bd --- /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 __`. From 4807487e53355fe0cc132a1ae0577942d3b9a09d Mon Sep 17 00:00:00 2001 From: Seunghun Lee <45145778+seunghun1ee@users.noreply.github.com> Date: Wed, 26 Feb 2025 16:00:58 +0000 Subject: [PATCH 2/2] Fix reno syntax Co-authored-by: Alex-Welsh <112560678+Alex-Welsh@users.noreply.github.com> --- ...eus-job-name-for-azimuth-cloud-metrics-39cf81eebe16b879.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 56fd101bd..da274014f 100644 --- 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 @@ -3,4 +3,4 @@ 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 __`. + `cloud metrics dashboard `__.