From 2339af1fe49add5aed4ee0b146f51497e0ff1eec Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 7 Jan 2016 11:43:18 -0800 Subject: [PATCH] Grafana: add sparklines to remaining providers To match those added to rackspace. Change-Id: I6e7f412ea0ef7cd6b3088622782f2f6f6d50c561 --- grafana/nodepool-bluebox.yaml | 40 ++++++++++++++++++++++++++++++++++ grafana/nodepool-internap.yaml | 40 ++++++++++++++++++++++++++++++++++ grafana/nodepool-ovh.yaml | 40 ++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) diff --git a/grafana/nodepool-bluebox.yaml b/grafana/nodepool-bluebox.yaml index 3d2342ef4b..1906e06a11 100644 --- a/grafana/nodepool-bluebox.yaml +++ b/grafana/nodepool-bluebox.yaml @@ -10,6 +10,46 @@ dashboard: 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/nodepool-bluebox.yaml). type: text + - title: Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.bluebox-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.bluebox-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.bluebox-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.bluebox-*.nodes.delete) + type: singlestat + valueName: current - title: API Operations showTitle: true height: 250px diff --git a/grafana/nodepool-internap.yaml b/grafana/nodepool-internap.yaml index b6f5315fcc..1adf22839f 100644 --- a/grafana/nodepool-internap.yaml +++ b/grafana/nodepool-internap.yaml @@ -10,6 +10,46 @@ dashboard: 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/nodepool-internap.yaml). type: text + - title: Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.internap-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.internap-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.internap-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.internap-*.nodes.delete) + type: singlestat + valueName: current - title: API Operations showTitle: true height: 250px diff --git a/grafana/nodepool-ovh.yaml b/grafana/nodepool-ovh.yaml index 4f2f96a472..baf3c4da6e 100644 --- a/grafana/nodepool-ovh.yaml +++ b/grafana/nodepool-ovh.yaml @@ -10,6 +10,46 @@ dashboard: 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/nodepool-ovh.yaml). type: text + - title: Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.ovh-*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.ovh-*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.ovh-*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.ovh-*.nodes.delete) + type: singlestat + valueName: current - title: API Operations showTitle: true height: 250px