Add prometheus main dashboard
Change-Id: I75d0d49a63d0ae8ca463c36df190da0e1aa8810c
diff --git a/apache/meta/grafana.yml b/apache/meta/grafana.yml
index 2ee1595..e7b85bf 100644
--- a/apache/meta/grafana.yml
+++ b/apache/meta/grafana.yml
@@ -7,7 +7,7 @@
datasource: prometheus
format: json
template: apache/files/grafana_dashboards/apache_prometheus.json
- main:
+ main_influxdb:
datasource: influxdb
row:
ost-middleware:
@@ -23,3 +23,18 @@
cluster_status:
rawQuery: true
query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'apache' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ main_prometheus:
+ datasource: prometheus
+ row:
+ ost-middleware:
+ title: Middleware
+ panel:
+ apache:
+ title: Apache
+ links:
+ - dashboard: Apache
+ title: Apache
+ type: dashboard
+ target:
+ cluster_status:
+ expr: avg(apache_up) by (name)