Commit Graph

5 Commits

Author SHA1 Message Date
Ian Wienand 5c57b07f96 grafana: update nodepool-dib status page
Update this to new panel types and modify layout a bit.  This uses a
variable to map over the stats, rather than the old template model.

This replaces the non-working thresholds that show the "OK"/"FAILED"
with value mappings which should be more reliable.

This also includes a heatmap at the top -- it's a bit weird because
it's mapping the return values of the builds, so can range between
0->128.  The return code value doesn't really help diagnose anything,
but it can highlight if things are failing in the same way (i.e. with
the same return code).

Change-Id: I74822881251c627d8e783438fa82e39aeca5645e
2022-06-30 15:50:41 +10:00
Ian Wienand c9529da49b grafana: fix nodepool-dib page
This must have had some issues later versions of grafana have
revealed.  Scale and use the last value for the "Last Build" field.
Fix a syntax issue with the build duration.

Change-Id: If0ece733a0acef9de059673848420155e4945718
2022-03-10 13:46:29 +11:00
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
Ian Wienand 81071e975d 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
2019-02-25 15:58:47 +11:00
Ian Wienand c8582e4d26 Add nodepool-dib dashboard
This is a dashboard to track nodepool dib status.  We generate it
client side as it seems easier and leads to a suitable layout.

Depends-On: https://review.openstack.org/638288
Change-Id: I5dee06347c0cd4faaad7f1800416b704eb10d117
2019-02-22 13:40:06 +11:00