Merge "Add prometheus main dashboard"
diff --git a/keystone/meta/grafana.yml b/keystone/meta/grafana.yml
index 75c3ee7..cf147a0 100644
--- a/keystone/meta/grafana.yml
+++ b/keystone/meta/grafana.yml
@@ -7,7 +7,7 @@
datasource: influxdb
format: json
template: keystone/files/grafana_dashboards/keystone_influxdb.json
- main:
+ main_influxdb:
datasource: influxdb
row:
ost-control-plane:
@@ -23,6 +23,21 @@
cluster_status:
rawQuery: true
query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'keystone' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
+ main_prometheus:
+ datasource: prometheus
+ row:
+ ost-control-plane:
+ title: OpenStack Control Plane
+ panel:
+ keystone:
+ title: Keystone
+ links:
+ - dashboard: Keystone
+ title: Keystone
+ type: dashboard
+ target:
+ cluster_status:
+ expr: avg(openstack_api_check_status{service=~\"keystone.*public.*\"})
service_level:
datasource: influxdb
row: