From e1a6d76e9a7cac5e29d0c8cc84c435bda8c936e8 Mon Sep 17 00:00:00 2001 From: Ray Slakinski Date: Fri, 9 Apr 2021 13:56:01 -0400 Subject: [PATCH] upgraded grafana dashboard --- contrib/grafana/dashboard.json | 41 ++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/contrib/grafana/dashboard.json b/contrib/grafana/dashboard.json index 805d841..ac2fa0c 100644 --- a/contrib/grafana/dashboard.json +++ b/contrib/grafana/dashboard.json @@ -27,7 +27,14 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "description": "Days left until everyone 18+ is fully vaccinated", + "datasource": null, + "description": "Days left until everyone 18+ Is fully vaccinated", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "format": "none", "gauge": { "maxValue": 100, @@ -76,7 +83,7 @@ "lineColor": "rgb(31, 120, 193)", "show": false }, - "tableColumn": "", + "tableColumn": "{instance=\"127.0.0.1:8080\", job=\"ontvacstat\"}", "targets": [ { "expr": "(ontvacstat_eligible_population - ontvacstat_total_doses_administered) / ontvacstat_previous_day_doses_administered\n", @@ -103,13 +110,22 @@ "bars": false, "dashLength": 10, "dashes": false, + "datasource": null, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 5, "y": 0 }, + "hiddenSeries": false, "id": 4, "legend": { "avg": false, @@ -124,7 +140,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.3.4", "pointradius": 5, "points": false, "renderer": "flot", @@ -186,13 +206,22 @@ "bars": false, "dashLength": 10, "dashes": false, + "datasource": null, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 8, "w": 13, "x": 0, "y": 6 }, + "hiddenSeries": false, "id": 2, "legend": { "avg": false, @@ -207,7 +236,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.3.4", "pointradius": 5, "points": false, "renderer": "flot", @@ -271,7 +304,7 @@ } } ], - "schemaVersion": 16, + "schemaVersion": 26, "style": "dark", "tags": [], "templating": { @@ -304,5 +337,5 @@ "timezone": "", "title": "Ontario Vaccination Stats", "uid": "vhnVv3lMk", - "version": 2 + "version": 4 } \ No newline at end of file