OntVacStat/contrib/grafana/dashboard.json

652 lines
14 KiB
JSON

{
"annotations":
{
"list":
[
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 25,
"links":
[],
"panels":
[
{
"datasource": null,
"fieldConfig":
{
"defaults":
{
"mappings":
[],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 10000
},
{
"color": "green",
"value": 110000
}
]
}
},
"overrides":
[]
},
"gridPos":
{
"h": 6,
"w": 4,
"x": 0,
"y": 0
},
"id": 4,
"links":
[],
"options":
{
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions":
{
"calcs":
[
"lastNotNull"
],
"fields": "",
"values": false
},
"text":
{},
"textMode": "auto"
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "ontvacstat_previous_day_doses_administered",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Yesterday",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Doses Administered Yesterday",
"type": "stat"
},
{
"datasource": null,
"description": "",
"fieldConfig":
{
"defaults":
{
"color":
{
"mode": "palette-classic"
},
"custom":
{
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom":
{
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution":
{
"type": "linear"
},
"showPoints": "never",
"spanNulls": true
},
"mappings":
[],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides":
[]
},
"gridPos":
{
"h": 6,
"w": 6,
"x": 4,
"y": 0
},
"id": 14,
"options":
{
"graph":
{},
"legend":
{
"calcs":
[],
"displayMode": "table",
"placement": "right"
},
"tooltipOptions":
{
"mode": "single"
}
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "ontvacstat_previous_day_doses_administered",
"hide": false,
"interval": "",
"legendFormat": "Combined",
"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"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Doses Administered Yesterday/day",
"type": "timeseries"
},
{
"datasource": null,
"description": "",
"fieldConfig":
{
"defaults":
{
"color":
{
"mode": "palette-classic"
},
"custom":
{
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom":
{
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution":
{
"type": "linear"
},
"showPoints": "never",
"spanNulls": true
},
"mappings":
[],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides":
[]
},
"gridPos":
{
"h": 6,
"w": 10,
"x": 0,
"y": 6
},
"id": 10,
"options":
{
"graph":
{},
"legend":
{
"calcs":
[],
"displayMode": "list",
"placement": "bottom"
},
"tooltipOptions":
{
"mode": "single"
}
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_doses_administered[3d])",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Combined",
"refId": "A"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_at_least_one[3d])",
"hide": false,
"interval": "",
"legendFormat": "First Does",
"refId": "B"
},
{
"exemplar": true,
"expr": "avg_over_time(ontvacstat_previous_day_fully_vaccinated[3d])",
"hide": false,
"interval": "",
"legendFormat": "Fully Vaccinated",
"refId": "C"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Vacination Rate (3 day avg)",
"type": "timeseries"
},
{
"datasource": null,
"description": "% of Ontario Population partially or Fully Vaccinated.",
"fieldConfig":
{
"defaults":
{
"color":
{
"mode": "thresholds"
},
"decimals": 1,
"mappings":
[],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "dark-red",
"value": null
},
{
"color": "semi-dark-red",
"value": 40
},
{
"color": "light-red",
"value": 50
},
{
"color": "semi-dark-yellow",
"value": 60
},
{
"color": "light-yellow",
"value": 70
},
{
"color": "light-green",
"value": 80
},
{
"color": "semi-dark-green",
"value": 90
}
]
},
"unit": "percent"
},
"overrides":
[]
},
"gridPos":
{
"h": 8,
"w": 10,
"x": 0,
"y": 12
},
"id": 2,
"links":
[],
"options":
{
"orientation": "horizontal",
"reduceOptions":
{
"calcs":
[
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text":
{}
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "(ontvacstat_total_doses_administered - ontvacstat_total_doses_in_fully_vaccinated_individuals) / (ontvacstat_eligible_population) * 100",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Partially Vaccinated",
"refId": "A"
},
{
"exemplar": true,
"expr": "ontvacstat_total_individuals_fully_vaccinated / ontvacstat_eligible_population * 100",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Fully Vaccinated",
"refId": "B"
},
{
"exemplar": true,
"expr": "(ontvacstat_total_individuals_at_least_one) / (ontvacstat_eligible_population) * 100",
"hide": false,
"interval": "",
"legendFormat": "Combined",
"refId": "C"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Overall % Vaccinated",
"type": "gauge"
},
{
"datasource": null,
"description": "",
"fieldConfig":
{
"defaults":
{
"color":
{
"mode": "thresholds"
},
"decimals": 1,
"mappings":
[],
"thresholds":
{
"mode": "absolute",
"steps":
[
{
"color": "dark-red",
"value": null
},
{
"color": "semi-dark-red",
"value": 40
},
{
"color": "light-red",
"value": 50
},
{
"color": "semi-dark-yellow",
"value": 60
},
{
"color": "light-yellow",
"value": 70
},
{
"color": "light-green",
"value": 80
},
{
"color": "semi-dark-green",
"value": 90
}
]
},
"unit": "percent"
},
"overrides":
[]
},
"gridPos":
{
"h": 8,
"w": 10,
"x": 0,
"y": 20
},
"id": 19,
"links":
[],
"options":
{
"orientation": "horizontal",
"reduceOptions":
{
"calcs":
[
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text":
{}
},
"pluginVersion": "7.5.1",
"targets":
[
{
"exemplar": true,
"expr": "ontvacstat_age_12_17yrs_percent_at_least_one_dose * 100",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "12-17",
"refId": "A"
},
{
"exemplar": true,
"expr": "ontvacstat_age_18_29yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "18-29",
"refId": "B"
},
{
"exemplar": true,
"expr": "ontvacstat_age_30_39yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "30-39",
"refId": "C"
},
{
"exemplar": true,
"expr": "ontvacstat_age_40_49yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "40-49",
"refId": "D"
},
{
"exemplar": true,
"expr": "ontvacstat_age_50_59yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "50-59",
"refId": "E"
},
{
"exemplar": true,
"expr": "ontvacstat_age_60_69yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "60-69",
"refId": "F"
},
{
"exemplar": true,
"expr": "ontvacstat_age_70_79yrs_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "70-79",
"refId": "G"
},
{
"exemplar": true,
"expr": "ontvacstat_age_80_plus_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "80+",
"refId": "H"
},
{
"exemplar": true,
"expr": "ontvacstat_age_adult_18_plus_percent_at_least_one_dose * 100",
"hide": false,
"interval": "",
"legendFormat": "18+",
"refId": "I"
}
],
"timeFrom": null,
"timeShift": null,
"title": "At Least One Dose by Age",
"type": "gauge"
}
],
"refresh": "1h",
"schemaVersion": 27,
"style": "dark",
"tags":
[],
"templating":
{
"list":
[]
},
"time":
{
"from": "now-3d",
"to": "now"
},
"timepicker":
{
"refresh_intervals":
[
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options":
[
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Ontario Vaccination Stats",
"uid": "vhnVv3lMk",
"version": 71
}