DIB grafana dashboard small fixes

Alias the legend for the build size

A more useful view is -7 days, rather than last week, which starts
fresh each week.

Change-Id: I65f6f601a47dd33e5205ac3530c47a5a58deb5b8
This commit is contained in:
Ian Wienand 2019-02-25 15:43:37 +11:00
parent 2802deeab8
commit 81071e975d
3 changed files with 16 additions and 16 deletions

View File

@ -6,8 +6,8 @@
dashboard: dashboard:
title: 'Nodepool: DIB Status' title: 'Nodepool: DIB Status'
time: time:
from: "now/w" from: "now-7d"
to: "now/w" to: "now"
rows: rows:
- title: Description - title: Description
height: 100px height: 100px

View File

@ -28,7 +28,7 @@
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.%KEY%.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.%KEY%.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration

View File

@ -6,8 +6,8 @@
dashboard: dashboard:
title: 'Nodepool: DIB Status' title: 'Nodepool: DIB Status'
time: time:
from: "now/w" from: "now-7d"
to: "now/w" to: "now"
rows: rows:
- title: Description - title: Description
height: 100px height: 100px
@ -49,7 +49,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.ubuntu-bionic.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-bionic.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -93,7 +93,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.ubuntu-xenial.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-xenial.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -137,7 +137,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.ubuntu-trusty.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-trusty.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -181,7 +181,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.centos-7.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.centos-7.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -225,7 +225,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.fedora-29.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.fedora-29.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -269,7 +269,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.debian-stretch.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.debian-stretch.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -313,7 +313,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -357,7 +357,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.opensuse-150.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.opensuse-150.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -401,7 +401,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.opensuse-423.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.opensuse-423.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -445,7 +445,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration
@ -489,7 +489,7 @@ dashboard:
- format: decbytes - format: decbytes
min: 0 min: 0
targets: targets:
- target: alias(stats.gauges.nodepool.dib_image_build.ubuntu-xenial-arm64.*.size, "Size") - target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-xenial-arm64.*.size, 5)
refId: A refId: A
- title: Build duration - title: Build duration