Merge "Provide grains for building the main dashboard"
diff --git a/nova/meta/grafana.yml b/nova/meta/grafana.yml
index d291680..cee747e 100644
--- a/nova/meta/grafana.yml
+++ b/nova/meta/grafana.yml
@@ -5,3 +5,31 @@
hypervisor:
format: json
template: nova/files/grafana_dashboards/hypervisor_influxdb.json
+ main:
+ row:
+ ost-control-plane:
+ title: OpenStack Control Plane
+ panel:
+ nova:
+ title: Nova
+ links:
+ - dashboard: Nova
+ title: Nova
+ type: dashboard
+ target:
+ cluster_status:
+ rawQuery: true
+ query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ ost-data-plane:
+ title: OpenStack Data Plane
+ panel:
+ nova:
+ title: Nova
+ links:
+ - dashboard: Nova
+ title: Nova
+ type: dashboard
+ target:
+ cluster_status:
+ rawQuery: true
+ query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-data' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)