Error is a heatmap (#12)

This commit is contained in:
cybermaggedon 2024-08-19 23:35:16 +01:00 committed by GitHub
parent a38f530c5f
commit bdf4bc2bf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,54 +149,15 @@
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "red",
"mode": "fixed"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 21,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"displayName": "error rate",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
@ -209,17 +170,39 @@
},
"id": 2,
"options": {
"calculate": false,
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "Oranges",
"steps": 64
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"mode": "single",
"sort": "none"
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"reverse": false
}
},
"pluginVersion": "10.0.0",
"targets": [
{
"datasource": {
@ -227,7 +210,7 @@
"uid": "f6b18033-5918-4e05-a1ca-4cb30343b129"
},
"editorMode": "builder",
"expr": "rate(processing_count_total{status=\"error\"}[$__rate_interval])",
"expr": "sum by(status) (rate(processing_count_total{status!=\"success\"}[$__rate_interval]))",
"format": "time_series",
"instant": false,
"interval": "",
@ -236,7 +219,7 @@
}
],
"title": "Error rate",
"type": "timeseries"
"type": "heatmap"
},
{
"datasource": {
@ -455,7 +438,7 @@
"type": "nodeGraph"
}
],
"refresh": "10s",
"refresh": "5m",
"schemaVersion": 38,
"style": "dark",
"tags": [],
@ -470,6 +453,6 @@
"timezone": "",
"title": "Overview",
"uid": "b5c8abf8-fe79-496b-b028-10bde917d1f0",
"version": 2,
"version": 3,
"weekStart": ""
}