Merge "Add prometheus main dashboard"
diff --git a/galera/meta/grafana.yml b/galera/meta/grafana.yml
index 778d4cb..0f2ab4f 100644
--- a/galera/meta/grafana.yml
+++ b/galera/meta/grafana.yml
@@ -23,3 +23,18 @@
cluster_status:
rawQuery: true
query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'mysql' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ main_prometheus:
+ datasource: prometheus
+ row:
+ ost-middleware:
+ title: Middleware
+ panel:
+ nova:
+ title: MySQL
+ links:
+ - dashboard: MySQL
+ title: MySQL
+ type: dashboard
+ target:
+ cluster_status:
+ expr: avg(mysql_up) by (name)
\ No newline at end of file