yet a new dashboard design

main
Ray Slakinski 2021-06-04 13:34:55 -04:00
parent c85cf71290
commit 012b0e2c5e
2 changed files with 328 additions and 212 deletions

View File

@ -22,95 +22,6 @@
[], [],
"panels": "panels":
[ [
{
"cacheTimeout": null,
"datasource": null,
"description": "~Days left until everyone 12+ Is partially vaccinated.\n\nThis divides the remaining population without any vaccination by the average doses administered over the past 3 days.",
"fieldConfig":
{
"defaults":
{
"mappings":
[
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 100
}
]
},
"unit": "none"
},
"overrides":
[]
},
"gridPos":
{
"h": 6,
"w": 5,
"x": 0,
"y": 0
},
"id": 8,
"interval": null,
"links":
[],
"maxDataPoints": 100,
"options":
{
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions":
{
"calcs":
[
"lastNotNull"
],
"fields": "/^{instance=\"127.0.0.1:8080\", job=\"ontvacstat\"}$/",
"values": false
},
"text":
{},
"textMode": "auto"
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "((ontvacstat_eligible_population - ontvacstat_total_individuals_fully_vaccinated) - (ontvacstat_total_doses_administered - ontvacstat_total_doses_in_fully_vaccinated_individuals)) / avg_over_time(ontvacstat_previous_day_doses_administered[7d])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "~ Days Left",
"type": "stat"
},
{ {
"datasource": null, "datasource": null,
"fieldConfig": "fieldConfig":
@ -144,9 +55,9 @@
}, },
"gridPos": "gridPos":
{ {
"h": 6, "h": 8,
"w": 6, "w": 5,
"x": 5, "x": 0,
"y": 0 "y": 0
}, },
"id": 4, "id": 4,
@ -155,7 +66,7 @@
"options": "options":
{ {
"colorMode": "value", "colorMode": "value",
"graphMode": "area", "graphMode": "none",
"justifyMode": "auto", "justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": "reduceOptions":
@ -196,6 +107,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"description": "",
"fieldConfig": "fieldConfig":
{ {
"defaults": "defaults":
@ -207,10 +119,140 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": "gridPos":
{ {
"h": 7, "h": 8,
"w": 11, "w": 9,
"x": 5,
"y": 0
},
"hiddenSeries": false,
"id": 14,
"legend":
{
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options":
{
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "7.5.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides":
[],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets":
[
{
"exemplar": true,
"expr": "ontvacstat_previous_day_doses_administered",
"hide": true,
"interval": "",
"legendFormat": "Does Administered",
"refId": "A"
},
{
"exemplar": true,
"expr": "ontvacstat_previous_day_at_least_one",
"hide": false,
"interval": "",
"legendFormat": "At Least One",
"refId": "B"
},
{
"exemplar": true,
"expr": "ontvacstat_previous_day_fully_vaccinated",
"hide": false,
"interval": "",
"legendFormat": "Fully Vaccinated",
"refId": "C"
}
],
"thresholds":
[],
"timeFrom": null,
"timeRegions":
[],
"timeShift": null,
"title": "Doses Administered Yesterday",
"tooltip":
{
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis":
{
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values":
[]
},
"yaxes":
[
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis":
{
"align": false,
"alignLevel": null
}
},
{
"aliasColors":
{},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig":
{
"defaults":
{
"unit": "short"
},
"overrides":
[]
},
"fill": 0,
"fillGradient": 0,
"gridPos":
{
"h": 8,
"w": 5,
"x": 0, "x": 0,
"y": 6 "y": 8
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 10, "id": 10,
@ -229,7 +271,7 @@
"nullPointMode": "connected", "nullPointMode": "connected",
"options": "options":
{ {
"alertThreshold": true "alertThreshold": false
}, },
"percentage": false, "percentage": false,
"pluginVersion": "7.5.1", "pluginVersion": "7.5.1",
@ -245,11 +287,27 @@
[ [
{ {
"exemplar": true, "exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_doses_administered[3d:1d])", "expr": "avg_over_time(ontvacstat_previous_day_doses_administered[3d])",
"interval": "", "interval": "",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "3d:1d Avg", "legendFormat": "Combined",
"refId": "A" "refId": "A"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_at_least_one[3d])",
"hide": false,
"interval": "",
"legendFormat": "At Least One",
"refId": "B"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_fully_vaccinated[3d])",
"hide": false,
"interval": "",
"legendFormat": "Fully Vaccinated",
"refId": "C"
} }
], ],
"thresholds": "thresholds":
@ -258,10 +316,10 @@
"timeRegions": "timeRegions":
[], [],
"timeShift": null, "timeShift": null,
"title": "Vacination Rate", "title": "Vacination Rate (3 day avg )",
"tooltip": "tooltip":
{ {
"shared": true, "shared": false,
"sort": 0, "sort": 0,
"value_type": "individual" "value_type": "individual"
}, },
@ -353,9 +411,9 @@
"gridPos": "gridPos":
{ {
"h": 8, "h": 8,
"w": 11, "w": 9,
"x": 0, "x": 5,
"y": 13 "y": 8
}, },
"id": 2, "id": 2,
"links": "links":
@ -400,7 +458,7 @@
}, },
{ {
"exemplar": true, "exemplar": true,
"expr": "(ontvacstat_total_doses_administered - ontvacstat_total_doses_in_fully_vaccinated_individuals + ontvacstat_total_individuals_fully_vaccinated) / (ontvacstat_eligible_population) * 100", "expr": "(ontvacstat_total_individuals_at_least_one) / (ontvacstat_eligible_population) * 100",
"hide": false, "hide": false,
"interval": "", "interval": "",
"legendFormat": "Combined", "legendFormat": "Combined",
@ -454,5 +512,5 @@
"timezone": "", "timezone": "",
"title": "Ontario Vaccination Stats", "title": "Ontario Vaccination Stats",
"uid": "vhnVv3lMk", "uid": "vhnVv3lMk",
"version": 40 "version": 49
} }

View File

@ -24,95 +24,6 @@
[], [],
"panels": "panels":
[ [
{
"cacheTimeout": null,
"datasource": null,
"description": "~Days left until everyone 12+ Is partially vaccinated.\n\nThis divides the remaining population without any vaccination by the average doses administered over the past 3 days.",
"fieldConfig":
{
"defaults":
{
"mappings":
[
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 100
}
]
},
"unit": "none"
},
"overrides":
[]
},
"gridPos":
{
"h": 6,
"w": 5,
"x": 0,
"y": 0
},
"id": 8,
"interval": null,
"links":
[],
"maxDataPoints": 100,
"options":
{
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions":
{
"calcs":
[
"lastNotNull"
],
"fields": "/^{instance=\"127.0.0.1:8080\", job=\"ontvacstat\"}$/",
"values": false
},
"text":
{},
"textMode": "auto"
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "((ontvacstat_eligible_population - ontvacstat_total_individuals_fully_vaccinated) - (ontvacstat_total_doses_administered - ontvacstat_total_doses_in_fully_vaccinated_individuals)) / avg_over_time(ontvacstat_previous_day_doses_administered[7d])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "~ Days Left",
"type": "stat"
},
{ {
"datasource": null, "datasource": null,
"fieldConfig": "fieldConfig":
@ -146,9 +57,9 @@
}, },
"gridPos": "gridPos":
{ {
"h": 6, "h": 8,
"w": 6, "w": 5,
"x": 5, "x": 0,
"y": 0 "y": 0
}, },
"id": 4, "id": 4,
@ -157,7 +68,7 @@
"options": "options":
{ {
"colorMode": "value", "colorMode": "value",
"graphMode": "area", "graphMode": "none",
"justifyMode": "auto", "justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": "reduceOptions":
@ -198,6 +109,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"description": "",
"fieldConfig": "fieldConfig":
{ {
"defaults": "defaults":
@ -209,10 +121,140 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": "gridPos":
{ {
"h": 7, "h": 8,
"w": 11, "w": 9,
"x": 5,
"y": 0
},
"hiddenSeries": false,
"id": 14,
"legend":
{
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options":
{
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "7.5.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides":
[],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets":
[
{
"exemplar": true,
"expr": "ontvacstat_previous_day_doses_administered",
"hide": true,
"interval": "",
"legendFormat": "Does Administered",
"refId": "A"
},
{
"exemplar": true,
"expr": "ontvacstat_previous_day_at_least_one",
"hide": false,
"interval": "",
"legendFormat": "At Least One",
"refId": "B"
},
{
"exemplar": true,
"expr": "ontvacstat_previous_day_fully_vaccinated",
"hide": false,
"interval": "",
"legendFormat": "Fully Vaccinated",
"refId": "C"
}
],
"thresholds":
[],
"timeFrom": null,
"timeRegions":
[],
"timeShift": null,
"title": "Doses Administered Yesterday",
"tooltip":
{
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis":
{
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values":
[]
},
"yaxes":
[
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis":
{
"align": false,
"alignLevel": null
}
},
{
"aliasColors":
{},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig":
{
"defaults":
{
"unit": "short"
},
"overrides":
[]
},
"fill": 0,
"fillGradient": 0,
"gridPos":
{
"h": 8,
"w": 5,
"x": 0, "x": 0,
"y": 6 "y": 8
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 10, "id": 10,
@ -231,7 +273,7 @@
"nullPointMode": "connected", "nullPointMode": "connected",
"options": "options":
{ {
"alertThreshold": true "alertThreshold": false
}, },
"percentage": false, "percentage": false,
"pluginVersion": "7.5.1", "pluginVersion": "7.5.1",
@ -247,11 +289,27 @@
[ [
{ {
"exemplar": true, "exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_doses_administered[3d:1d])", "expr": "avg_over_time(ontvacstat_previous_day_doses_administered[3d])",
"interval": "", "interval": "",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "3d:1d Avg", "legendFormat": "Combined",
"refId": "A" "refId": "A"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_at_least_one[3d])",
"hide": false,
"interval": "",
"legendFormat": "At Least One",
"refId": "B"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_fully_vaccinated[3d])",
"hide": false,
"interval": "",
"legendFormat": "Fully Vaccinated",
"refId": "C"
} }
], ],
"thresholds": "thresholds":
@ -260,10 +318,10 @@
"timeRegions": "timeRegions":
[], [],
"timeShift": null, "timeShift": null,
"title": "Vacination Rate", "title": "Vacination Rate (3 day avg )",
"tooltip": "tooltip":
{ {
"shared": true, "shared": false,
"sort": 0, "sort": 0,
"value_type": "individual" "value_type": "individual"
}, },
@ -355,9 +413,9 @@
"gridPos": "gridPos":
{ {
"h": 8, "h": 8,
"w": 11, "w": 9,
"x": 0, "x": 5,
"y": 13 "y": 8
}, },
"id": 2, "id": 2,
"links": "links":
@ -402,7 +460,7 @@
}, },
{ {
"exemplar": true, "exemplar": true,
"expr": "(ontvacstat_total_doses_administered - ontvacstat_total_doses_in_fully_vaccinated_individuals + ontvacstat_total_individuals_fully_vaccinated) / (ontvacstat_eligible_population) * 100", "expr": "(ontvacstat_total_individuals_at_least_one) / (ontvacstat_eligible_population) * 100",
"hide": false, "hide": false,
"interval": "", "interval": "",
"legendFormat": "Combined", "legendFormat": "Combined",
@ -456,7 +514,7 @@
"timezone": "", "timezone": "",
"title": "Ontario Vaccination Stats", "title": "Ontario Vaccination Stats",
"uid": "vhnVv3lMk", "uid": "vhnVv3lMk",
"version": 40 "version": 49
}, },
"expires": 86400, "expires": 86400,
"key": "ontvacstats" "key": "ontvacstats"