From 88429b4a475aa2d9844278348e09c93454bbfa8e Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 21 Aug 2019 14:37:06 +1000 Subject: [PATCH] AFS grafana : add yum-puppetlabs This is an actively mirrored volume, add it to the grafana page. Change-Id: I5d68181288f522591298679a04704e75ddf321aa --- grafana/afs.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/grafana/afs.yaml b/grafana/afs.yaml index ae7dfc984d..e2ed31283d 100644 --- a/grafana/afs.yaml +++ b/grafana/afs.yaml @@ -201,6 +201,15 @@ dashboard: format: dateTimeFromNow valueFontSize: "50%" + - title: mirror.yum-puppetlabs + type: singlestat + valueName: current + span: 2 + targets: + - target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_yum-puppetlabs_readonly.creation, 1000)" + format: dateTimeFromNow + valueFontSize: "50%" + - title: Volumes height: 200px showTitle: true @@ -324,3 +333,20 @@ dashboard: - target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_opensuse.used, #B)" refId: C hide: true + + - title: mirror.yum-puppetlabs + type: graph + span: 4 + yaxes: + - format: deckbytes + min: 0 + - format: deckbytes + min: 0 + targets: + - target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_yum-puppetlabs.used, 'Used')" + refId: A + - target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_yum-puppetlabs.quota, 'Quota')" + refId: B + - target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_yum-puppetlabs.used, #B)" + refId: C + hide: true