Varken/dashboard/example_panels/table_sonarr_missing.json
2018-11-13 15:20:14 -05:00

149 lines
2.8 KiB
JSON

{
"columns": [],
"datasource": "influxdb",
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 4,
"x": 20,
"y": 14
},
"hideTimeOverride": true,
"id": 16,
"links": [
{
"targetBlank": true,
"title": "Sonarr",
"type": "absolute",
"url": "https://tv.server.com/wanted/missing"
}
],
"minSpan": 8,
"pageSize": 6,
"scroll": true,
"showHeader": true,
"sort": {
"col": null,
"desc": false
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Name",
"colorMode": "cell",
"colors": [
"#e24d42",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkUrl": "",
"pattern": "name",
"preserveFormat": true,
"thresholds": [
"20"
],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": "row",
"colors": [
"#e24d42",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "TV Show",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "sonarrId",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"sonarrId"
],
"type": "tag"
}
],
"measurement": "Sonarr",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"name"
],
"type": "field"
},
{
"params": [
"TV Show"
],
"type": "alias"
}
],
[
{
"params": [
"sxe"
],
"type": "field"
},
{
"params": [
"S/E"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "Missing_Days"
}
]
}
],
"timeFrom": "33s",
"timeShift": null,
"title": "Missing TV Shows (Last 7 Days)",
"transform": "table",
"type": "table"
}