project-config/grafana/nodepool-dib.image.template
Ian Wienand e8938e5e25 Update nodepool dib stats
This updates the stats for the changes made in the dependent change.

Change-Id: I39c055ec148670e015c9b56a015fd8c95839e044
Depends-On: https://review.openstack.org/638533
2019-12-17 16:52:24 +11:00

53 lines
1.4 KiB
Plaintext

# AUTOGENERATED : %TITLE%
- title: %TITLE%
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.%KEY%.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.%KEY%.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.%KEY%.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.%KEY%.status.duration.mean, 'None'), "Time")
refId: A