Add Policy Rate Average Visualization

main
SleepingCrows 2024-07-31 21:16:09 -04:00
parent b863666f94
commit 8c2206afb6
1 changed files with 118 additions and 3 deletions

View File

@ -142,7 +142,7 @@
},
"gridPos": {
"h": 8,
"w": 12,
"w": 6,
"x": 0,
"y": 1
},
@ -180,6 +180,121 @@
"title": "Firehose Rate (5m)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "sum(rate(firehose_events_total[1m0s]))"
},
"properties": [
{
"id": "displayName",
"value": "Firehose Rate"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 1
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(policy_events_total[5m])",
"fullMetaSearch": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Policy Rate (5m)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -916,14 +1031,14 @@
"type": "timeseries"
}
],
"refresh": "auto",
"refresh": "5s",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-12h",
"from": "now-30m",
"to": "now"
},
"timepicker": {},