From 04968e690f3c6a1624016256e5b4f148c9ecfae1 Mon Sep 17 00:00:00 2001 From: Michal Kobus Date: Fri, 26 Oct 2018 13:40:30 +0200 Subject: [PATCH] Change host selection for service In case there is no data in heat check hosts by API status (metric not related to openstack logs). Change-Id: Id8805d302fcb95881c6afac2e9e558dbf927c70b Related-bug: PROD-23976 (PROD:23976) --- grafana/files/dashboards/heat/heat_prometheus.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana/files/dashboards/heat/heat_prometheus.json b/grafana/files/dashboards/heat/heat_prometheus.json index c47de91..f2209ec 100644 --- a/grafana/files/dashboards/heat/heat_prometheus.json +++ b/grafana/files/dashboards/heat/heat_prometheus.json @@ -828,7 +828,7 @@ "multi": true, "name": "host", "options": [], - "query": "label_values(openstack_http_response_times{service=\"heat\"},host)", + "query": "label_values(http_response_status{name=\"heat-api\"},host)", "refresh": 1, "regex": "", "sort": 1, @@ -914,6 +914,6 @@ "timezone": "", "title": "Heat", "uid": null, - "version": 1 + "version": 2 } {%- endraw %}