Update git load balancer for OpenDev

The git0X.openstack.org backends have been replaced by
gitea0X.opendev.org.  Update the metric names to match, as well
as the title of the dashboard.  Remove the git protocol section
since we don't support that anymore.

Change-Id: I644cd07ccda296a588fd5e897db0fcf71a3edaa1
This commit is contained in:
James E. Blair 2019-05-25 06:50:51 -07:00
parent 82b3153ad2
commit d60c3a1d49
1 changed files with 25 additions and 114 deletions

View File

@ -1,5 +1,5 @@
dashboard:
title: Git Load Balancer
title: OpenDev Load Balancer
rows:
- title: Description
height: 100px
@ -42,62 +42,62 @@ dashboard:
- title: HTTPS Server Connection Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_https.*.openstack.org.stot, 3)
- target: aliasByNode(stats.haproxy.balance_git_https.*.opendev.org.stot, 3)
type: graph
- title: HTTPS Server Input Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_https.*.openstack.org.bin,8), 3)
- target: aliasByNode(scale(stats.haproxy.balance_git_https.*.opendev.org.bin,8), 3)
type: graph
- title: HTTPS Server Output Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_https.*.openstack.org.bout,8), 3)
- target: aliasByNode(scale(stats.haproxy.balance_git_https.*.opendev.org.bout,8), 3)
type: graph
- title: HTTPS Frontend Current Sessions
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.openstack.org.scur, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.opendev.org.scur, 4)
type: graph
- title: HTTPS Server Connection Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_https.*.openstack.org.econ, 3)
- target: aliasByNode(stats.haproxy.balance_git_https.*.opendev.org.econ, 3)
type: graph
- title: HTTPS Server Response Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_https.*.openstack.org.eresp, 3)
- target: aliasByNode(stats.haproxy.balance_git_https.*.opendev.org.eresp, 3)
type: graph
- title: HTTPS Server Connection Retry Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_https.*.openstack.org.wretr, 3)
- target: aliasByNode(stats.haproxy.balance_git_https.*.opendev.org.wretr, 3)
type: graph
- title: HTTPS Server Connection Redispatch Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_https.*.openstack.org.wredis, 3)
- target: aliasByNode(stats.haproxy.balance_git_https.*.opendev.org.wredis, 3)
type: graph
- title: HTTPS Server Average Queue Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.openstack.org.qtime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.opendev.org.qtime, 4)
type: graph
- title: HTTPS Server Average Connect Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.openstack.org.ctime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.opendev.org.ctime, 4)
type: graph
- title: HTTPS Server Average Response Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.openstack.org.rtime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.opendev.org.rtime, 4)
type: graph
- title: HTTPS Server Average Session Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.openstack.org.ttime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_https.*.opendev.org.ttime, 4)
type: graph
- title: HTTP Frontend
showTitle: true
@ -131,149 +131,60 @@ dashboard:
- title: HTTP Server Connection Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_http.*.openstack.org.stot, 3)
- target: aliasByNode(stats.haproxy.balance_git_http.*.opendev.org.stot, 3)
type: graph
- title: HTTP Server Input Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_http.*.openstack.org.bin,8), 3)
- target: aliasByNode(scale(stats.haproxy.balance_git_http.*.opendev.org.bin,8), 3)
type: graph
- title: HTTP Server Output Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_http.*.openstack.org.bout,8), 3)
- target: aliasByNode(scale(stats.haproxy.balance_git_http.*.opendev.org.bout,8), 3)
type: graph
- title: HTTP Frontend Current Sessions
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.openstack.org.scur, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.opendev.org.scur, 4)
type: graph
- title: HTTP Server Connection Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_http.*.openstack.org.econ, 3)
- target: aliasByNode(stats.haproxy.balance_git_http.*.opendev.org.econ, 3)
type: graph
- title: HTTP Server Response Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_http.*.openstack.org.eresp, 3)
- target: aliasByNode(stats.haproxy.balance_git_http.*.opendev.org.eresp, 3)
type: graph
- title: HTTP Server Connection Retry Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_http.*.openstack.org.wretr, 3)
- target: aliasByNode(stats.haproxy.balance_git_http.*.opendev.org.wretr, 3)
type: graph
- title: HTTP Server Connection Redispatch Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_http.*.openstack.org.wredis, 3)
- target: aliasByNode(stats.haproxy.balance_git_http.*.opendev.org.wredis, 3)
type: graph
- title: HTTP Server Average Queue Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.openstack.org.qtime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.opendev.org.qtime, 4)
type: graph
- title: HTTP Server Average Connect Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.openstack.org.ctime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.opendev.org.ctime, 4)
type: graph
- title: HTTP Server Average Response Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.openstack.org.rtime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.opendev.org.rtime, 4)
type: graph
- title: HTTP Server Average Session Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.openstack.org.ttime, 4)
type: graph
- title: Git Protocol Frontend
showTitle: true
height: 250px
panels:
- title: Git Frontend Connection Rate
span: 6
targets:
- target: alias(stats.haproxy.balance_git_daemon.FRONTEND.stot, 'Connections/sec')
type: graph
- title: Git Frontend Input/Output Rate
span: 6
targets:
- target: alias(scale(stats.haproxy.balance_git_daemon.FRONTEND.bin,8), 'Received bits/sec')
- target: alias(scale(stats.haproxy.balance_git_daemon.FRONTEND.bout,8), 'Transmitted bits/sec')
type: graph
- title: Git Frontend Current Sessions
span: 6
targets:
- target: alias(stats.gauges.haproxy.balance_git_daemon.FRONTEND.scur, 'Sessions')
type: graph
- title: Git Frontend Request Error Rate
span: 6
targets:
- target: alias(stats.haproxy.balance_git_daemon.FRONTEND.ereq, 'Errors/sec')
type: graph
- title: Git Protocol Servers
showTitle: true
height: 250px
panels:
- title: Git Server Connection Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_daemon.*.openstack.org.stot, 3)
type: graph
- title: Git Server Input Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_daemon.*.openstack.org.bin,8), 3)
type: graph
- title: Git Server Output Rate
span: 3
targets:
- target: aliasByNode(scale(stats.haproxy.balance_git_daemon.*.openstack.org.bout,8), 3)
type: graph
- title: Git Frontend Current Sessions
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_daemon.*.openstack.org.scur, 4)
type: graph
- title: Git Server Connection Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_daemon.*.openstack.org.econ, 3)
type: graph
- title: Git Server Response Error Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_daemon.*.openstack.org.eresp, 3)
type: graph
- title: Git Server Connection Retry Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_daemon.*.openstack.org.wretr, 3)
type: graph
- title: Git Server Connection Redispatch Rate
span: 3
targets:
- target: aliasByNode(stats.haproxy.balance_git_daemon.*.openstack.org.wredis, 3)
type: graph
- title: Git Server Average Queue Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_daemon.*.openstack.org.qtime, 4)
type: graph
- title: Git Server Average Connect Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_daemon.*.openstack.org.ctime, 4)
type: graph
- title: Git Server Average Response Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_daemon.*.openstack.org.rtime, 4)
type: graph
- title: Git Server Average Session Time
span: 3
targets:
- target: aliasByNode(stats.gauges.haproxy.balance_git_daemon.*.openstack.org.ttime, 4)
- target: aliasByNode(stats.gauges.haproxy.balance_git_http.*.opendev.org.ttime, 4)
type: graph