From 13734bb14218e35ca1f7d21ef82174da69af71b5 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 21 Oct 2016 09:51:15 -0700 Subject: [PATCH] Add demo dashboard This is a simplified nodepool dashboard that only shows the "Nodes" row for several clouds. This will allow us to easily show building, ready, used, delete instances in nodepool. Change-Id: I40bd0e2aca5ee0e536bd4751e538c2fd8dde121f --- grafana/demo.yaml | 132 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 grafana/demo.yaml diff --git a/grafana/demo.yaml b/grafana/demo.yaml new file mode 100644 index 0000000000..e919522310 --- /dev/null +++ b/grafana/demo.yaml @@ -0,0 +1,132 @@ +dashboard: + title: 'Nodepool: New Clouds' + rows: + - title: Description + height: 100px + panels: + - title: Description + content: | + **This dashboard is managed by [Grafyaml](http://docs.openstack.org/infra/system-config/grafyaml.html).** + + If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://git.openstack.org/cgit/openstack-infra/project-config/tree/grafana/demo.yaml). + type: text + - title: City Cloud Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.citycloud-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.citycloud-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.citycloud-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.citycloud-*.nodes.delete) + type: singlestat + valueName: current + - title: Datacentred Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.datacentred-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.datacentred-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.datacentred-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.datacentred-*.nodes.delete) + type: singlestat + valueName: current + - title: Enter Cloud Suite Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.entercloud-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.entercloud-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.entercloud-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.entercloud-*.nodes.delete) + type: singlestat + valueName: current