diff --git a/grafana/create-nodepool.sh b/grafana/create-nodepool.sh index 469f9547a8..5b96b7e578 100755 --- a/grafana/create-nodepool.sh +++ b/grafana/create-nodepool.sh @@ -27,3 +27,4 @@ create OVH 'ovh-*' nodepool-ovh.yaml create Packethost 'packethost-*' nodepool-packethost.yaml create Vexxhost 'vexxhost-*' nodepool-vexxhost.yaml create Citycloud 'citycloud-*' nodepool-citycloud.yaml +create FortNebula 'fortnebula-*' nodepool-fortnebula.yaml diff --git a/grafana/nodepool-citycloud.yaml b/grafana/nodepool-citycloud.yaml index a7d663aad9..831611f76c 100644 --- a/grafana/nodepool-citycloud.yaml +++ b/grafana/nodepool-citycloud.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-fortnebula.yaml b/grafana/nodepool-fortnebula.yaml new file mode 100644 index 0000000000..b098a32efe --- /dev/null +++ b/grafana/nodepool-fortnebula.yaml @@ -0,0 +1,197 @@ +# +# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh +# + +dashboard: + title: 'Nodepool: FortNebula' + templating: + - name: region + includeAll: true + multi: true + query: stats.gauges.nodepool.provider.fortnebula-* + refresh: true + type: query + rows: + - title: Description + height: 150px + panels: + - title: Description + content: | + FortNebula Nodepool Status + ========================== + + This dashboard monitors the status of the nodepool environment for FortNebula. + + **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 template in the `grafana` directory in + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). + + 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.$region.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.$region.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.$region.nodes.in-use) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.$region.nodes.deleting) + type: singlestat + valueName: current + + - title: Test Nodes + height: 400px + panels: + - title: Test Node History - $region + type: graph + span: 12 + stack: true + repeat: region + minSpan: 4 + tooltip: + value_type: individual + yaxes: + - label: "nodes" + - show: false + targets: + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.nodes.building), 'Building') + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.nodes.ready), 'Available') + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.nodes.in-use), 'In Use') + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.nodes.used), 'Used') + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.nodes.deleting), 'Deleting') + - target: alias(sumSeries(stats.gauges.nodepool.provider.$region.max_servers), 'Max') + seriesOverrides: + - alias: Max + stack: False + + + - title: Node Launches + showTitle: true + height: 250px + panels: + - title: Ready Node Launch Attempts + type: graph + span: 4 + lines: false + bars: true + nullPointMode: null as zero + yaxes: + - label: "events / min" + - show: false + targets: + - target: aliasSub(summarize(stats_counts.nodepool.launch.provider.$region.ready, '1m'), '.*stats_counts.nodepool.launch.provider.(.*).ready.*', '\1') + - title: Time to Ready + type: graph + span: 4 + lines: false + bars: true + nullPointMode: null as zero + yaxes: + - label: "time" + format: ms + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.launch.provider.$region.ready.mean, 5) + - title: Error Node Launch Attempts + type: graph + span: 4 + lines: false + bars: true + nullPointMode: null as zero + yaxes: + - label: "events / min" + - show: false + targets: + - target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.$region.error.*), '1m'), "All Errors") + + - title: API Operations + showTitle: true + height: 250px + panels: + - title: Create Server + type: graph + lines: true + nullPointMode: connected + span: 4 + yaxes: + - format: ms + label: Time + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.task.$region.ComputePostServers.mean, 4) + - title: Get Server + type: graph + span: 4 + lines: true + nullPointMode: connected + span: 4 + yaxes: + - format: ms + label: Time + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.task.$region.ComputePostServers.mean, 4) + - title: Delete Server + type: graph + span: 4 + lines: true + nullPointMode: connected + span: 4 + yaxes: + - format: ms + label: Time + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.task.$region.ComputePostServers.mean, 4) + - title: List Servers + type: graph + lines: true + nullPointMode: connected + span: 4 + yaxes: + - format: ms + label: Time + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.task.$region.ComputePostServers.mean, 4) + - title: Get Limits + type: graph + lines: true + nullPointMode: connected + span: 4 + yaxes: + - format: ms + label: Time + - show: false + targets: + - target: aliasByNode(stats.timers.nodepool.task.$region.ComputePostServers.mean, 4) diff --git a/grafana/nodepool-inap.yaml b/grafana/nodepool-inap.yaml index ec66420f0e..019d5c56da 100644 --- a/grafana/nodepool-inap.yaml +++ b/grafana/nodepool-inap.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-limestone.yaml b/grafana/nodepool-limestone.yaml index 2d84fd2177..8329ed8189 100644 --- a/grafana/nodepool-limestone.yaml +++ b/grafana/nodepool-limestone.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-linaro.yaml b/grafana/nodepool-linaro.yaml index 1cb9a4916d..7073c9251c 100644 --- a/grafana/nodepool-linaro.yaml +++ b/grafana/nodepool-linaro.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-ovh.yaml b/grafana/nodepool-ovh.yaml index c67d4600ea..72f65b7b46 100644 --- a/grafana/nodepool-ovh.yaml +++ b/grafana/nodepool-ovh.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-packethost.yaml b/grafana/nodepool-packethost.yaml index 6085353c6a..75d35e876e 100644 --- a/grafana/nodepool-packethost.yaml +++ b/grafana/nodepool-packethost.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-rax.yaml b/grafana/nodepool-rax.yaml index 0cc1fb90fd..92b303c158 100644 --- a/grafana/nodepool-rax.yaml +++ b/grafana/nodepool-rax.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text diff --git a/grafana/nodepool-vexxhost.yaml b/grafana/nodepool-vexxhost.yaml index cf97dd2af8..9f1fd802d7 100644 --- a/grafana/nodepool-vexxhost.yaml +++ b/grafana/nodepool-vexxhost.yaml @@ -24,7 +24,7 @@ dashboard: **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 template in the `grafana` directory in - [project-config](https://opendev.org/openstack/project-config/src/grafana/nodepool.template). + [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/nodepool.template). type: text