From dad4da02e534624d06352341187b6cb7a20836cd Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 11 Jan 2016 08:29:04 -0800 Subject: [PATCH] Add max servers line to all node graphs Change-Id: Ifb4bd9aa843f7334052a29f54fcf6c4c30ca1bbc --- grafana/nodepool-bluebox.yaml | 4 ++++ grafana/nodepool-internap.yaml | 4 ++++ grafana/nodepool-rax.yaml | 12 ++++++++++++ grafana/zuul-status.yaml | 4 ++++ 4 files changed, 24 insertions(+) diff --git a/grafana/nodepool-bluebox.yaml b/grafana/nodepool-bluebox.yaml index 67701a1d5e..a465797862 100644 --- a/grafana/nodepool-bluebox.yaml +++ b/grafana/nodepool-bluebox.yaml @@ -165,6 +165,10 @@ dashboard: - target: alias(stats.gauges.nodepool.provider.bluebox-sjc1.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.provider.bluebox-sjc1.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.provider.bluebox-sjc1.nodes.delete, 'Deleting') + - target: alias(stats.gauges.nodepool.provider.bluebox-sjc1.max_servers, 'Max') + seriesOverrides: + - alias: Max + stack: False - title: Job Runtimes showTitle: true height: 250px diff --git a/grafana/nodepool-internap.yaml b/grafana/nodepool-internap.yaml index 409f43e076..da315d7b5d 100644 --- a/grafana/nodepool-internap.yaml +++ b/grafana/nodepool-internap.yaml @@ -120,6 +120,10 @@ dashboard: - target: alias(stats.gauges.nodepool.provider.internap-nyj01.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.provider.internap-nyj01.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.provider.internap-nyj01.nodes.delete, 'Deleting') + - target: alias(stats.gauges.nodepool.provider.internap-nyj01.max_servers, 'Max') + seriesOverrides: + - alias: Max + stack: False - title: Job Runtimes showTitle: true height: 250px diff --git a/grafana/nodepool-rax.yaml b/grafana/nodepool-rax.yaml index 21983efdec..3d34461cbb 100644 --- a/grafana/nodepool-rax.yaml +++ b/grafana/nodepool-rax.yaml @@ -132,6 +132,10 @@ dashboard: - target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.delete, 'Deleting') + - target: alias(stats.gauges.nodepool.provider.rax-dfw.max_servers, 'Max') + seriesOverrides: + - alias: Max + stack: False - title: Test Nodes (IAD) type: graph span: 4 @@ -144,6 +148,10 @@ dashboard: - target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.delete, 'Deleting') + - target: alias(stats.gauges.nodepool.provider.rax-iad.max_servers, 'Max') + seriesOverrides: + - alias: Max + stack: False - title: Test Nodes (ORD) type: graph span: 4 @@ -156,6 +164,10 @@ dashboard: - target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.delete, 'Deleting') + - target: alias(stats.gauges.nodepool.provider.rax-ord.max_servers, 'Max') + seriesOverrides: + - alias: Max + stack: False - title: Job Runtimes showTitle: true height: 250px diff --git a/grafana/zuul-status.yaml b/grafana/zuul-status.yaml index 0a13e67f8d..cfbccc3c32 100644 --- a/grafana/zuul-status.yaml +++ b/grafana/zuul-status.yaml @@ -81,6 +81,10 @@ dashboard: - target: alias(stats.gauges.nodepool.nodes.ready, 'Available') - target: alias(stats.gauges.nodepool.nodes.used, 'In Use') - target: alias(stats.gauges.nodepool.nodes.delete, 'Deleting') + - target: alias(sumSeries(stats.gauges.nodepool.provider.*.max_servers), 'Max') + seriesOverrides: + - alias: Max + stack: False type: graph - title: Zuul Jobs Launched (per Hour) span: 4