From 265f00beec4efe82fc291668d1351c42570bbb7e Mon Sep 17 00:00:00 2001 From: BacLuc Date: Tue, 9 Jan 2024 16:49:00 +0100 Subject: [PATCH 1/2] .observability: let top right camp counter cover summer 2024 instead of 2023 for staging --- .ops/observability/grafana-staging.json | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.ops/observability/grafana-staging.json b/.ops/observability/grafana-staging.json index 926ab2210b..c3857464cd 100644 --- a/.ops/observability/grafana-staging.json +++ b/.ops/observability/grafana-staging.json @@ -184,14 +184,6 @@ "steps": [ { "color": "green" - }, - { - "color": "#EAB839", - "value": 40 - }, - { - "color": "red", - "value": 50 } ] } @@ -230,7 +222,7 @@ "group": [], "metricColumn": "none", "rawQuery": true, - "rawSql": "select count(1)\nfrom camp c\nwhere c.isprototype = false\nand exists (\n select 1\n from period p\n where p.campid = c.id\n and p.end > TO_DATE('20230601','YYYYMMDD')\n and p.start < TO_DATE('20230831','YYYYMMDD')\n)", + "rawSql": "select count(1)\nfrom camp c\nwhere c.isprototype = false\nand exists (\n select 1\n from period p\n where p.campid = c.id\n and p.end > TO_DATE('20240601','YYYYMMDD')\n and p.start < TO_DATE('20240831','YYYYMMDD')\n)", "refId": "A", "select": [ [ @@ -254,7 +246,7 @@ ] } ], - "title": "Sommerlager 2023", + "title": "Sommerlager 2024", "type": "stat" }, { @@ -1391,6 +1383,6 @@ "timezone": "", "title": "eCamp3", "uid": "NMvj_XX4z", - "version": 3, + "version": 5, "weekStart": "" } From ac3cb305f31414d8ba74b65ce68f2a7a7b4ea6e5 Mon Sep 17 00:00:00 2001 From: BacLuc Date: Tue, 9 Jan 2024 22:54:05 +0100 Subject: [PATCH 2/2] .observability: let top right camp counter cover summer 2024 instead of 2023 for dev --- .ops/observability/grafana-dev.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.ops/observability/grafana-dev.json b/.ops/observability/grafana-dev.json index 16b453e96f..a43e473a9c 100644 --- a/.ops/observability/grafana-dev.json +++ b/.ops/observability/grafana-dev.json @@ -185,14 +185,6 @@ { "color": "green", "value": null - }, - { - "color": "#EAB839", - "value": 40 - }, - { - "color": "red", - "value": 50 } ] } @@ -231,7 +223,7 @@ "group": [], "metricColumn": "none", "rawQuery": true, - "rawSql": "select count(1)\nfrom camp c\nwhere c.isprototype = false\nand exists (\n select 1\n from period p\n where p.campid = c.id\n and p.end > TO_DATE('20230601','YYYYMMDD')\n and p.start < TO_DATE('20230831','YYYYMMDD')\n)", + "rawSql": "select count(1)\nfrom camp c\nwhere c.isprototype = false\nand exists (\n select 1\n from period p\n where p.campid = c.id\n and p.end > TO_DATE('20240601','YYYYMMDD')\n and p.start < TO_DATE('20240831','YYYYMMDD')\n)", "refId": "A", "select": [ [ @@ -255,7 +247,7 @@ ] } ], - "title": "Sommerlager 2023", + "title": "Sommerlager 2024", "type": "stat" }, { @@ -950,7 +942,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.5.3", + "pluginVersion": "9.4.7", "targets": [ { "datasource": { @@ -1391,6 +1383,6 @@ "timezone": "", "title": "eCamp3", "uid": "SfJlY9XVk", - "version": 2, + "version": 4, "weekStart": "" }