AFS Grafana : add mirror release timers

Add mirror release timing stats added by
I3d79d1a0997af8977050b7f6e7cf3b7578cc8491

Separate out from the project release timers, as they are very
different and thus swamp the faster results.

Add the docs/docs.dev to the release overview too.

Change-Id: I349bbe08b171090d10326c6dfe64a8d8368f08a8
This commit is contained in:
Ian Wienand 2020-04-15 13:07:30 +10:00
parent f3507404c0
commit 6c980f4fc9

View File

@ -133,6 +133,25 @@ dashboard:
- target: "alias(stats.gauges.afs.afs01_ord_openstack_org.idle_threads, 'Idle Threads')" - target: "alias(stats.gauges.afs.afs01_ord_openstack_org.idle_threads, 'Idle Threads')"
refId: B refId: B
- title: mirror-update.opendev.org mirror vos release timers
height: 200px
showTitle: true
panels:
- title: Volume release timer
type: graph
span: 12
lines: true
points: true
nullPointMode: connected
pointradius: 2
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: "aliasByNode(stats.timers.afs.release.mirror*.mean, 4)"
- title: Mirror release times - title: Mirror release times
height: 100px height: 100px
showTitle: true showTitle: true
@ -351,7 +370,7 @@ dashboard:
refId: C refId: C
hide: true hide: true
- title: mirror-update.opendev.org vos release timers - title: mirror-update.opendev.org project vos release timers
height: 200px height: 200px
showTitle: true showTitle: true
panels: panels:
@ -369,13 +388,32 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: "aliasByNode(stats.timers.afs.release.*.mean, 4)" - target: "aliasByNode(stats.timers.afs.release.project*.mean, 4)"
- target: "aliasByNode(stats.timers.afs.release.docs*.mean, 4)"
- title: Project volume release times - title: Project volume release times
height: 100px height: 100px
showTitle: true showTitle: true
panels: panels:
- title: docs
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: docs.dev
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs_dev_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.airship - title: project.airship
type: singlestat type: singlestat
valueName: current valueName: current
@ -462,6 +500,40 @@ dashboard:
showTitle: true showTitle: true
panels: panels:
- title: project.docs
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs.used, #B)"
refId: C
hide: true
- title: project.docs_dev
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs_dev.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs_dev.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.docs_dev.used, #B)"
refId: C
hide: true
- title: project.airship - title: project.airship
type: graph type: graph
span: 4 span: 4