From 6fb2866fb4df80029ee0c794f54aa1635192b26f Mon Sep 17 00:00:00 2001 From: adeveloper-wq Date: Mon, 26 Feb 2024 15:35:11 +0100 Subject: [PATCH] Update home dashboard --- provisioning/dashboards/home.json | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/provisioning/dashboards/home.json b/provisioning/dashboards/home.json index dbe78db..5f8e62c 100644 --- a/provisioning/dashboards/home.json +++ b/provisioning/dashboards/home.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 2, + "id": 3, "links": [], "liveNow": false, "panels": [ @@ -1790,13 +1790,25 @@ "uid": "PBFA97CFB590B2093" }, "editorMode": "code", - "expr": "increase(n_app_starts{}[120s]) / 2", - "legendFormat": "# App Starts per 60s", + "expr": "current_bucket_start_counts", + "legendFormat": "# App Starts (live)", "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "past_buckets_avg", + "hide": false, + "legendFormat": "# App Starts (past three weeks)", + "range": true, + "refId": "B" } ], - "title": "# App Starts per 60s", + "title": "# App Starts (past three weeks)", "type": "timeseries" }, { @@ -2237,6 +2249,6 @@ "timezone": "", "title": "Priobike", "uid": "sdmbOcJnz", - "version": 19, + "version": 3, "weekStart": "" } \ No newline at end of file