Fix sonarr queue pannel

This commit is contained in:
samwiseg0 2018-11-15 14:21:17 -05:00
parent bd9f735c1b
commit 8306986ca3

View file

@ -3,13 +3,14 @@
"datasource": "influxdb", "datasource": "influxdb",
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 7, "h": 8,
"w": 4, "w": 4,
"x": 20, "x": 20,
"y": 14 "y": 21
}, },
"hideTimeOverride": true, "hideTimeOverride": true,
"id": 16, "id": 19,
"interval": "30s",
"links": [ "links": [
{ {
"targetBlank": true, "targetBlank": true,
@ -19,7 +20,7 @@
} }
], ],
"minSpan": 8, "minSpan": 8,
"pageSize": 6, "pageSize": 7,
"scroll": true, "scroll": true,
"showHeader": true, "showHeader": true,
"sort": { "sort": {
@ -37,7 +38,7 @@
"alias": "Name", "alias": "Name",
"colorMode": "cell", "colorMode": "cell",
"colors": [ "colors": [
"#e24d42", "rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
@ -57,46 +58,36 @@
"alias": "", "alias": "",
"colorMode": "row", "colorMode": "row",
"colors": [ "colors": [
"#e24d42", "#0a437c",
"rgba(237, 129, 40, 0.89)", "rgb(168, 147, 4)",
"rgba(50, 172, 45, 0.97)" "#629e51"
], ],
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2, "decimals": 0,
"mappingType": 1, "mappingType": 1,
"pattern": "TV Show", "pattern": "T",
"thresholds": [], "thresholds": [
"-1",
"1"
],
"type": "string", "type": "string",
"unit": "short" "unit": "short",
}, "valueMaps": [
{ {
"alias": "", "text": "Tor",
"colorMode": null, "value": "0"
"colors": [ },
"rgba(245, 54, 54, 0.9)", {
"rgba(237, 129, 40, 0.89)", "text": "Use",
"rgba(50, 172, 45, 0.97)" "value": "1"
], }
"dateFormat": "YYYY-MM-DD HH:mm:ss", ]
"decimals": 2,
"mappingType": 1,
"pattern": "sonarrId",
"thresholds": [],
"type": "hidden",
"unit": "short"
} }
], ],
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [],
{
"params": [
"sonarrId"
],
"type": "tag"
}
],
"measurement": "Sonarr", "measurement": "Sonarr",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
@ -130,20 +121,34 @@
], ],
"type": "alias" "type": "alias"
} }
],
[
{
"params": [
"protocol_id"
],
"type": "field"
},
{
"params": [
"T"
],
"type": "alias"
}
] ]
], ],
"tags": [ "tags": [
{ {
"key": "type", "key": "type",
"operator": "=", "operator": "=",
"value": "Missing_Days" "value": "Queue"
} }
] ]
} }
], ],
"timeFrom": "33s", "timeFrom": "33s",
"timeShift": null, "timeShift": null,
"title": "Missing TV Shows (Last 7 Days)", "title": "TV Shows in Queue",
"transform": "table", "transform": "table",
"type": "table" "type": "table"
} }