Update ROW map to reflect script changes

This commit is contained in:
samwiseg0 2018-08-31 15:10:57 -04:00
parent 0e114071eb
commit 13227258b3

View file

@ -1,30 +1,33 @@
{ {
"circleMaxSize": "5", "circleMaxSize": "2",
"circleMinSize": "1", "circleMinSize": "2",
"colors": [ "colors": [
"#cca300", "#e67817",
"#c15c17", "#6d3c97",
"#890f02" "#890f02"
], ],
"datasource": "plex", "datasource": "plex",
"decimals": 0, "decimals": 0,
"esLocationName": "", "esGeoPoint": "geohash",
"esMetric": "$tag_counter", "esLocationName": "location",
"esMetric": "metric",
"gridPos": { "gridPos": {
"h": 8, "h": 10,
"w": 8, "w": 10,
"x": 16, "x": 10,
"y": 0 "y": 6
}, },
"hideEmpty": false, "hideEmpty": false,
"hideTimeOverride": true,
"hideZero": false, "hideZero": false,
"id": 4, "id": 4,
"initialZoom": "4", "initialZoom": "4",
"interval": "",
"links": [], "links": [],
"locationData": "table", "locationData": "table",
"mapCenter": "(0°, 0°)", "mapCenter": "custom",
"mapCenterLatitude": 0, "mapCenterLatitude": "37.9",
"mapCenterLongitude": 0, "mapCenterLongitude": "-94.9",
"maxDataPoints": 1, "maxDataPoints": 1,
"minSpan": 8, "minSpan": 8,
"mouseWheelZoom": false, "mouseWheelZoom": false,
@ -32,7 +35,7 @@
"stickyLabels": false, "stickyLabels": false,
"tableQueryOptions": { "tableQueryOptions": {
"geohashField": "geohash", "geohashField": "geohash",
"labelField": "location", "labelField": "full_location",
"latitudeField": "latitude", "latitudeField": "latitude",
"longitudeField": "longitude", "longitudeField": "longitude",
"metricField": "metric", "metricField": "metric",
@ -43,12 +46,6 @@
"alias": "$tag_region_code", "alias": "$tag_region_code",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{
"params": [
"location"
],
"type": "tag"
},
{ {
"params": [ "params": [
"latitude" "latitude"
@ -60,6 +57,18 @@
"longitude" "longitude"
], ],
"type": "tag" "type": "tag"
},
{
"params": [
"full_location"
],
"type": "tag"
},
{
"params": [
"name"
],
"type": "tag"
} }
], ],
"measurement": "Tautulli", "measurement": "Tautulli",
@ -71,10 +80,14 @@
[ [
{ {
"params": [ "params": [
"location" "session_key"
], ],
"type": "field" "type": "field"
}, },
{
"params": [],
"type": "distinct"
},
{ {
"params": [], "params": [],
"type": "count" "type": "count"
@ -96,12 +109,13 @@
] ]
} }
], ],
"thresholds": "5,10", "thresholds": "2,3",
"timeFrom": "1m", "timeFrom": "1m",
"timeShift": null,
"title": "", "title": "",
"type": "grafana-worldmap-panel", "type": "grafana-worldmap-panel",
"unitPlural": "", "unitPlural": "Streams",
"unitSingle": "", "unitSingle": "",
"unitSingular": "", "unitSingular": "Stream",
"valueName": "current" "valueName": "current"
} }