Merge pull request #29 from thouveng/build-main-dashboard
Provide grains for building the main dashboard
diff --git a/haproxy/meta/grafana.yml b/haproxy/meta/grafana.yml
index d5b90c1..5f9daca 100644
--- a/haproxy/meta/grafana.yml
+++ b/haproxy/meta/grafana.yml
@@ -2,3 +2,18 @@
haproxy:
format: json
template: haproxy/files/grafana_dashboards/haproxy_influxdb.json
+ main:
+ row:
+ ost-middleware:
+ title: Middleware
+ panel:
+ haproxy:
+ title: HAProxy
+ links:
+ - dashboard: HAProxy
+ title: HAProxy
+ type: dashboard
+ target:
+ cluster_status:
+ rawQuery: true
+ query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'haproxy-openstack' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)