Merge "Add prometheus main dashboard"
diff --git a/memcached/meta/grafana.yml b/memcached/meta/grafana.yml
index 56bebfe..3b46877 100644
--- a/memcached/meta/grafana.yml
+++ b/memcached/meta/grafana.yml
@@ -7,7 +7,7 @@
datasource: influxdb
format: json
template: memcached/files/grafana_dashboards/memcached_influxdb.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 = 'memcached' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ main_prometheus:
+ datasource: prometheus
+ row:
+ ost-middleware:
+ title: Middleware
+ panel:
+ memcached:
+ title: Memcached
+ links:
+ - dashboard: Memcached
+ title: Memcached
+ type: dashboard
+ target:
+ cluster_status:
+ expr: avg(memcached_up) by (name)
\ No newline at end of file