Skip to content

Commit 426d0da

Browse files
authored
add burnrate by tenant panel to SLO dashboard (#331)
1 parent e6858b6 commit 426d0da

2 files changed

Lines changed: 192 additions & 0 deletions

File tree

resources/grafana/generated/dashboards/rhacs-central-slo.yaml

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/grafana/sources/rhacs-central-slo.json

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,102 @@
14021402
],
14031403
"title": "Burn Rate [1h]",
14041404
"type": "timeseries"
1405+
},
1406+
{
1407+
"datasource": {
1408+
"type": "prometheus",
1409+
"uid": "PBFA97CFB590B2093"
1410+
},
1411+
"description": "Shows the burn rate for each tenant.",
1412+
"fieldConfig": {
1413+
"defaults": {
1414+
"color": {
1415+
"mode": "palette-classic"
1416+
},
1417+
"custom": {
1418+
"axisBorderShow": false,
1419+
"axisCenteredZero": false,
1420+
"axisColorMode": "text",
1421+
"axisLabel": "",
1422+
"axisPlacement": "auto",
1423+
"barAlignment": 0,
1424+
"drawStyle": "line",
1425+
"fillOpacity": 0,
1426+
"gradientMode": "none",
1427+
"hideFrom": {
1428+
"legend": false,
1429+
"tooltip": false,
1430+
"viz": false
1431+
},
1432+
"insertNulls": false,
1433+
"lineInterpolation": "linear",
1434+
"lineWidth": 1,
1435+
"pointSize": 5,
1436+
"scaleDistribution": {
1437+
"type": "linear"
1438+
},
1439+
"showPoints": "auto",
1440+
"spanNulls": true,
1441+
"stacking": {
1442+
"group": "A",
1443+
"mode": "none"
1444+
},
1445+
"thresholdsStyle": {
1446+
"mode": "off"
1447+
}
1448+
},
1449+
"mappings": [],
1450+
"thresholds": {
1451+
"mode": "absolute",
1452+
"steps": [
1453+
{
1454+
"color": "green",
1455+
"value": null
1456+
},
1457+
{
1458+
"color": "red",
1459+
"value": 80
1460+
}
1461+
]
1462+
},
1463+
"unit": "none"
1464+
},
1465+
"overrides": []
1466+
},
1467+
"gridPos": {
1468+
"h": 8,
1469+
"w": 23,
1470+
"x": 0,
1471+
"y": 51
1472+
},
1473+
"id": 27,
1474+
"options": {
1475+
"legend": {
1476+
"calcs": [],
1477+
"displayMode": "list",
1478+
"placement": "right",
1479+
"showLegend": true
1480+
},
1481+
"tooltip": {
1482+
"mode": "single",
1483+
"sort": "none"
1484+
}
1485+
},
1486+
"targets": [
1487+
{
1488+
"datasource": {
1489+
"type": "prometheus",
1490+
"uid": "PBFA97CFB590B2093"
1491+
},
1492+
"editorMode": "code",
1493+
"expr": "sum(central:slo:availability:burnrate1h{rhacs_instance_id=~\"$instance_id\"}) by (rhacs_instance_id)",
1494+
"legendFormat": "{{label_name}}",
1495+
"range": true,
1496+
"refId": "A"
1497+
}
1498+
],
1499+
"title": "Burn Rate [1h] by Tenant",
1500+
"type": "timeseries"
14051501
}
14061502
],
14071503
"refresh": false,

0 commit comments

Comments
 (0)