project-config/grafana/afs.yaml
Ian Wienand 6c980f4fc9 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
2020-04-15 13:44:56 +10:00

706 lines
24 KiB
YAML

dashboard:
title: 'AFS'
rows:
- title: Description
height: 100px
panels:
- title: Description
content: |
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://opendev.org/openstack/project-config/src/grafana/afs.yaml).
type: text
- title: Partitions
showTitle: true
height: 200px
panels:
- title: "afs01.dfw /vicepa used"
span: 3
sparkline:
full: true
show: false
thresholds: "0,90,95"
format: percent
targets:
- target: "stats.gauges.afs.afs01_dfw_openstack_org.part.vicepa.total"
refId: "A"
hide: true
- target: "scale(divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.part.vicepa.used, #A), 100)"
refId: "B"
hide: false
type: singlestat
valueName: current
gauge:
show: true
minValue: 0
maxValue: 100
thresholdMarkers: true
- title: "afs02.dfw /vicepa used"
span: 3
sparkline:
full: true
show: false
thresholds: "0,90,95"
format: percent
targets:
- target: "stats.gauges.afs.afs02_dfw_openstack_org.part.vicepa.total"
refId: "A"
hide: true
- target: "scale(divideSeries(stats.gauges.afs.afs02_dfw_openstack_org.part.vicepa.used, #A), 100)"
refId: "B"
hide: false
type: singlestat
valueName: current
gauge:
show: true
minValue: 0
maxValue: 100
thresholdMarkers: true
- title: "afs01.ord /vicepa used"
span: 3
sparkline:
full: true
show: false
thresholds: "0,90,95"
format: percent
targets:
- target: "stats.gauges.afs.afs01_ord_openstack_org.part.vicepa.total"
refId: "A"
hide: true
- target: "scale(divideSeries(stats.gauges.afs.afs01_ord_openstack_org.part.vicepa.used, #A), 100)"
refId: "B"
hide: false
type: singlestat
valueName: current
gauge:
show: true
minValue: 0
maxValue: 100
thresholdMarkers: true
- title: Usage history
type: graph
fill: 0
span: 3
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.part.vicepa.used, 'afs01.dfw')"
refId: A
- target: "alias(stats.gauges.afs.afs02_dfw_openstack_org.part.vicepa.used, 'afs02.dfw')"
refId: B
- target: "alias(stats.gauges.afs.afs01_ord_openstack_org.part.vicepa.used, 'afs01.ord')"
refId: C
- title: Server Health
height: 200px
showTitle: true
panels:
- title: afs01.dfw
type: graph
fill: 0
span: 4
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.calls_waiting, 'Calls Waiting')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.idle_threads, 'Idle Threads')"
refId: B
- title: afs02.dfw
type: graph
fill: 0
span: 4
targets:
- target: "alias(stats.gauges.afs.afs02_dfw_openstack_org.calls_waiting, 'Calls Waiting')"
refId: A
- target: "alias(stats.gauges.afs.afs02_dfw_openstack_org.idle_threads, 'Idle Threads')"
refId: B
- title: afs01.ord
type: graph
fill: 0
span: 4
targets:
- target: "alias(stats.gauges.afs.afs01_ord_openstack_org.calls_waiting, 'Calls Waiting')"
refId: A
- target: "alias(stats.gauges.afs.afs01_ord_openstack_org.idle_threads, 'Idle Threads')"
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
height: 100px
showTitle: true
panels:
- title: mirror.ubuntu
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.ubuntu-ports
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu-ports_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.centos
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_centos_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.fedora
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_fedora_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.epel
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_epel_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.debian
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_debian_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: mirror.opensuse
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_opensuse_readonly.creation, 1000)"
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: Mirror volumes
height: 200px
showTitle: true
panels:
- title: mirror.ubuntu
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_ubuntu.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu.used, #B)"
refId: C
hide: true
- title: mirror.ubuntu-ports
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_ubuntu-ports.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu-ports.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_ubuntu-ports.used, #B)"
refId: C
hide: true
- title: mirror.centos
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_centos.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_centos.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_centos.used, #B)"
refId: C
hide: true
- title: mirror.fedora
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_fedora.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_fedora.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_fedora.used, #B)"
refId: C
hide: true
- title: mirror.epel
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_epel.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_epel.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_epel.used, #B)"
refId: C
hide: true
- title: mirror.debian
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_debian.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_debian.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_debian.used, #B)"
refId: C
hide: true
- title: mirror.opensuse
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_opensuse.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.mirror_opensuse.quota, 'Quota')"
refId: B
- 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
- title: mirror-update.opendev.org project 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.project*.mean, 4)"
- target: "aliasByNode(stats.timers.afs.release.docs*.mean, 4)"
- title: Project volume release times
height: 100px
showTitle: true
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
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_airship_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.governance
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_governance_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.opendev
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_opendev_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.security
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_security_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.service-types
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_service-types_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.specs
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_specs_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.starlingx
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_starlingx_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.tarballs
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_tarballs_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: project.zuul
type: singlestat
valueName: current
span: 2
targets:
- target: "scale(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_zuul_readonly.creation, 1000)"
format: dateTimeFromNow
valueFontSize: "50%"
- title: Project volumes
height: 200px
showTitle: true
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
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_airship.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_airship.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_airship.used, #B)"
refId: C
hide: true
- title: project.governance
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_governance.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_governance.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_governance.used, #B)"
refId: C
hide: true
- title: project.opendev
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_opendev.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_opendev.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_opendev.used, #B)"
refId: C
hide: true
- title: project.security
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_security.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_security.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_security.used, #B)"
refId: C
hide: true
- title: project.service-types
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_service-types.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_service-types.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_service-types.used, #B)"
refId: C
hide: true
- title: project.specs
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_specs.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_specs.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_specs.used, #B)"
refId: C
hide: true
- title: project.starlingx
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_starlingx.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_starlingx.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_starlingx.used, #B)"
refId: C
hide: true
- title: project.releases
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_releases.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_releases.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_releases.used, #B)"
refId: C
hide: true
- title: project.tarballs
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_tarballs.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_tarballs.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_tarballs.used, #B)"
refId: C
hide: true
- title: project.zuul
type: graph
span: 4
yaxes:
- format: deckbytes
min: 0
- format: deckbytes
min: 0
targets:
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_zuul.used, 'Used')"
refId: A
- target: "alias(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_zuul.quota, 'Quota')"
refId: B
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.vol.project_zuul.used, #B)"
refId: C
hide: true