From 13227258b3408b81baf38997199efd09c399b41b Mon Sep 17 00:00:00 2001 From: samwiseg0 Date: Fri, 31 Aug 2018 15:10:57 -0400 Subject: [PATCH] Update ROW map to reflect script changes --- dashboard/panel_row_worldmap.json | 62 +++++++++++++++++++------------ 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/dashboard/panel_row_worldmap.json b/dashboard/panel_row_worldmap.json index 73a7fb5..63b381d 100644 --- a/dashboard/panel_row_worldmap.json +++ b/dashboard/panel_row_worldmap.json @@ -1,30 +1,33 @@ { - "circleMaxSize": "5", - "circleMinSize": "1", + "circleMaxSize": "2", + "circleMinSize": "2", "colors": [ - "#cca300", - "#c15c17", + "#e67817", + "#6d3c97", "#890f02" ], "datasource": "plex", "decimals": 0, - "esLocationName": "", - "esMetric": "$tag_counter", + "esGeoPoint": "geohash", + "esLocationName": "location", + "esMetric": "metric", "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 0 + "h": 10, + "w": 10, + "x": 10, + "y": 6 }, "hideEmpty": false, + "hideTimeOverride": true, "hideZero": false, "id": 4, "initialZoom": "4", + "interval": "", "links": [], "locationData": "table", - "mapCenter": "(0°, 0°)", - "mapCenterLatitude": 0, - "mapCenterLongitude": 0, + "mapCenter": "custom", + "mapCenterLatitude": "37.9", + "mapCenterLongitude": "-94.9", "maxDataPoints": 1, "minSpan": 8, "mouseWheelZoom": false, @@ -32,7 +35,7 @@ "stickyLabels": false, "tableQueryOptions": { "geohashField": "geohash", - "labelField": "location", + "labelField": "full_location", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", @@ -43,12 +46,6 @@ "alias": "$tag_region_code", "dsType": "influxdb", "groupBy": [ - { - "params": [ - "location" - ], - "type": "tag" - }, { "params": [ "latitude" @@ -60,6 +57,18 @@ "longitude" ], "type": "tag" + }, + { + "params": [ + "full_location" + ], + "type": "tag" + }, + { + "params": [ + "name" + ], + "type": "tag" } ], "measurement": "Tautulli", @@ -71,10 +80,14 @@ [ { "params": [ - "location" + "session_key" ], "type": "field" }, + { + "params": [], + "type": "distinct" + }, { "params": [], "type": "count" @@ -96,12 +109,13 @@ ] } ], - "thresholds": "5,10", + "thresholds": "2,3", "timeFrom": "1m", + "timeShift": null, "title": "", "type": "grafana-worldmap-panel", - "unitPlural": "", + "unitPlural": "Streams", "unitSingle": "", - "unitSingular": "", + "unitSingular": "Stream", "valueName": "current" }