121 lines
2.3 KiB
JSON
121 lines
2.3 KiB
JSON
{
|
|
"circleMaxSize": "2",
|
|
"circleMinSize": "2",
|
|
"colors": [
|
|
"#e67817",
|
|
"#6d3c97",
|
|
"#890f02"
|
|
],
|
|
"datasource": "plex",
|
|
"decimals": 0,
|
|
"esGeoPoint": "geohash",
|
|
"esLocationName": "location",
|
|
"esMetric": "metric",
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 10,
|
|
"x": 10,
|
|
"y": 6
|
|
},
|
|
"hideEmpty": false,
|
|
"hideTimeOverride": true,
|
|
"hideZero": false,
|
|
"id": 4,
|
|
"initialZoom": "4",
|
|
"interval": "",
|
|
"links": [],
|
|
"locationData": "table",
|
|
"mapCenter": "custom",
|
|
"mapCenterLatitude": "37.9",
|
|
"mapCenterLongitude": "-94.9",
|
|
"maxDataPoints": 1,
|
|
"minSpan": 8,
|
|
"mouseWheelZoom": false,
|
|
"showLegend": false,
|
|
"stickyLabels": false,
|
|
"tableQueryOptions": {
|
|
"geohashField": "geohash",
|
|
"labelField": "full_location",
|
|
"latitudeField": "latitude",
|
|
"longitudeField": "longitude",
|
|
"metricField": "metric",
|
|
"queryType": "coordinates"
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_region_code",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"latitude"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"longitude"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"full_location"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "Tautulli",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"session_key"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"metric"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "type",
|
|
"operator": "=",
|
|
"value": "Session"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,3",
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "",
|
|
"type": "grafana-worldmap-panel",
|
|
"unitPlural": "Streams",
|
|
"unitSingle": "",
|
|
"unitSingular": "Stream",
|
|
"valueName": "current"
|
|
}
|