Merge "Add prometheus main dashboard"
diff --git a/heat/meta/grafana.yml b/heat/meta/grafana.yml
index a97a12c..6ba8582 100644
--- a/heat/meta/grafana.yml
+++ b/heat/meta/grafana.yml
@@ -7,7 +7,7 @@
datasource: prometheus
format: json
template: heat/files/grafana_dashboards/heat_prometheus.json
- main:
+ main_influxdb:
datasource: influxdb
row:
ost-control-plane:
@@ -23,6 +23,21 @@
cluster_status:
rawQuery: true
query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'heat' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ main_prometheus:
+ datasource: prometheus
+ row:
+ ost-control-plane:
+ title: OpenStack Control Plane
+ panel:
+ heat:
+ title: Heat
+ links:
+ - dashboard: Heat
+ title: Heat
+ type: dashboard
+ target:
+ cluster_status:
+ expr: avg(openstack_api_check_status{service=~"heat.*"})
service_level:
datasource: influxdb
row: