Change style of response time heatmap

This commit is contained in:
Ricardo F 2024-05-06 19:11:50 +02:00
parent c944f456f5
commit f8b1a96702

View file

@ -61,7 +61,7 @@
"description": "Unbound DNS resolver metrics", "description": "Unbound DNS resolver metrics",
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"gnetId": 21006, "gnetId": 11705,
"graphTooltip": 1, "graphTooltip": 1,
"id": null, "id": null,
"links": [ "links": [
@ -155,7 +155,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 12, "h": 11,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 1 "y": 1
@ -288,7 +288,7 @@
] ]
}, },
"gridPos": { "gridPos": {
"h": 12, "h": 11,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 1 "y": 1
@ -423,10 +423,10 @@
] ]
}, },
"gridPos": { "gridPos": {
"h": 12, "h": 11,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 13 "y": 12
}, },
"id": 60, "id": 60,
"options": { "options": {
@ -538,10 +538,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 12, "h": 11,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 13 "y": 12
}, },
"id": 34, "id": 34,
"options": { "options": {
@ -614,7 +614,7 @@
"h": 12, "h": 12,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 25 "y": 23
}, },
"heatmap": {}, "heatmap": {},
"hideZeroBuckets": false, "hideZeroBuckets": false,
@ -624,7 +624,7 @@
"show": false "show": false
}, },
"options": { "options": {
"calculate": true, "calculate": false,
"calculation": { "calculation": {
"xBuckets": { "xBuckets": {
"mode": "size" "mode": "size"
@ -680,7 +680,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "irate(unbound_response_time_seconds_bucket{instance=\"$instance\"}[$__rate_interval])", "expr": "irate(unbound_response_time_seconds_bucket{instance=\"$instance\",le=~\"3.2e-05|6.4e-05|0.000128|0.000256|0.000512|0.001024|0.002048|0.004096|0.008192|0.016384|0.032768|0.065536|0.131072|0.262144|0.524288|1|2|4|8|16|32|64\"}[$__rate_interval])",
"format": "heatmap", "format": "heatmap",
"hide": false, "hide": false,
"instant": false, "instant": false,
@ -771,7 +771,7 @@
"h": 12, "h": 12,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 25 "y": 23
}, },
"id": 6, "id": 6,
"options": { "options": {
@ -814,7 +814,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 37 "y": 35
}, },
"id": 82, "id": 82,
"panels": [ "panels": [
@ -865,8 +865,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -988,8 +987,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1114,8 +1112,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1216,8 +1213,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1318,8 +1314,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1442,8 +1437,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1506,7 +1500,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 38 "y": 36
}, },
"id": 87, "id": 87,
"panels": [ "panels": [
@ -1558,8 +1552,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1672,8 +1665,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1741,7 +1733,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 39 "y": 37
}, },
"id": 59, "id": 59,
"panels": [ "panels": [
@ -1792,8 +1784,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1906,8 +1897,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1983,7 +1973,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 40 "y": 38
}, },
"id": 54, "id": 54,
"panels": [ "panels": [
@ -2035,8 +2025,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2149,8 +2138,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2234,7 +2222,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 41 "y": 39
}, },
"id": 79, "id": 79,
"panels": [ "panels": [
@ -2288,8 +2276,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2392,8 +2379,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2468,7 +2454,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 42 "y": 40
}, },
"id": 67, "id": 67,
"panels": [ "panels": [
@ -2519,8 +2505,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2621,8 +2606,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2723,8 +2707,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2836,8 +2819,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2950,8 +2932,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -3067,7 +3048,7 @@
}, },
"timezone": "", "timezone": "",
"title": "Unbound", "title": "Unbound",
"uid": "5grf42EBA", "uid": "9FQf4fEWz",
"version": 1, "version": 2,
"weekStart": "" "weekStart": ""
} }