Skip to content

Instantly share code, notes, and snippets.

@samwiseg0
Last active December 14, 2018 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samwiseg0/fab103fdf4b176a11517e478ce7c216f to your computer and use it in GitHub Desktop.
Save samwiseg0/fab103fdf4b176a11517e478ce7c216f to your computer and use it in GitHub Desktop.
{
"aliasColors": {
"Android": "#a4ca39",
"Chrome": "#db3236",
"Chromecast": "#039BE5",
"NetCast": "#c8135c",
"Playstation 4": "#003791",
"Plex Media Player": "#e67817",
"Roku": "#6d3c97",
"Samsung": "#034ea2",
"Tizen": "#034ea2",
"Xbox One": "#107c10",
"iOS": "#858487",
"tvOS": "#858487"
},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": ".04"
},
"datasource": "YOUR_DATASOURCE_HERE",
"decimals": 0,
"fontSize": "110%",
"format": "none",
"gridPos": {
"h": 10,
"w": 5,
"x": 0,
"y": 6
},
"id": 24,
"interval": null,
"legend": {
"percentage": true,
"percentageDecimals": 0,
"show": true,
"sort": "total",
"sortDesc": true,
"values": true
},
"legendType": "On graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"strokeWidth": "7",
"targets": [
{
"alias": "$tag_device_type",
"application": {
"filter": ""
},
"functions": [],
"group": {
"filter": ""
},
"groupBy": [
{
"params": [
"device_type"
],
"type": "tag"
}
],
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"measurement": "Tautulli",
"mode": 0,
"options": {
"showDisabledItems": false,
"skipEmptyValues": false
},
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"hash"
],
"type": "field"
},
{
"params": [],
"type": "distinct"
},
{
"params": [],
"type": "count"
}
]
],
"table": {
"skipEmptyValues": false
},
"tags": [
{
"key": "type",
"operator": "=",
"value": "Session"
}
],
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"timeFrom": "1w",
"title": "Device Types",
"transparent": false,
"type": "grafana-piechart-panel",
"valueName": "total"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment