From 3e7aabc73a76ceb925c253e26770f393eec44e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 15 Feb 2026 21:36:24 +0100 Subject: [PATCH] grafana: fix apiary geomap and make it full-width Add gazetteer reference for country code lookup resolution. Remove unnecessary reduce transformation. Make geomap panel full-width (24 cols) and taller (h=10) on its own row. Co-Authored-By: Claude Opus 4.6 --- services/grafana/dashboards/apiary.json | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/services/grafana/dashboards/apiary.json b/services/grafana/dashboards/apiary.json index ccc5b30..b53070b 100644 --- a/services/grafana/dashboards/apiary.json +++ b/services/grafana/dashboards/apiary.json @@ -213,7 +213,7 @@ "id": 7, "title": "Sessions by Shell", "type": "timeseries", - "gridPos": {"h": 8, "w": 12, "x": 0, "y": 12}, + "gridPos": {"h": 8, "w": 12, "x": 0, "y": 22}, "datasource": {"type": "prometheus", "uid": "prometheus"}, "targets": [ { @@ -245,7 +245,7 @@ "id": 8, "title": "Attempts by Country", "type": "geomap", - "gridPos": {"h": 8, "w": 12, "x": 12, "y": 12}, + "gridPos": {"h": 10, "w": 24, "x": 0, "y": 12}, "datasource": {"type": "prometheus", "uid": "prometheus"}, "targets": [ { @@ -302,26 +302,19 @@ }, "location": { "mode": "lookup", - "lookup": "country" + "lookup": "country", + "gazetteer": "public/gazetteer/countries.json" } } ] }, - "transformations": [ - { - "id": "reduce", - "options": { - "reducers": ["lastNotNull"] - } - } - ], "description": "Authentication attempts by country (geo lookup from country code)" }, { "id": 9, "title": "Session Duration Distribution", "type": "heatmap", - "gridPos": {"h": 8, "w": 12, "x": 0, "y": 20}, + "gridPos": {"h": 8, "w": 24, "x": 0, "y": 30}, "datasource": {"type": "prometheus", "uid": "prometheus"}, "targets": [ { @@ -361,7 +354,7 @@ "id": 10, "title": "Commands Executed by Shell", "type": "timeseries", - "gridPos": {"h": 8, "w": 12, "x": 12, "y": 20}, + "gridPos": {"h": 8, "w": 12, "x": 12, "y": 22}, "datasource": {"type": "prometheus", "uid": "prometheus"}, "targets": [ {