I am also using Grafana Cloud in the errored instance.
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "a3664529-e2dd-4eb9-bff7-765c42459902"
},
"fieldConfig": {
"defaults": {
"custom": {
"lineWidth": 1,
"fillOpacity": 80,
"gradientMode": "none",
"axisPlacement": "auto",
"axisLabel": "",
"axisColorMode": "text",
"axisBorderShow": false,
"scaleDistribution": {
"type": "linear"
},
"axisCenteredZero": false,
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 11,
"y": 33
},
"id": 14,
"options": {
"orientation": "horizontal",
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0,
"showValue": "never",
"stacking": "none",
"groupWidth": 0.7,
"barWidth": 0.97,
"barRadius": 0,
"fullHighlight": false,
"tooltip": {
"mode": "single",
"sort": "none"
},
"legend": {
"showLegend": true,
"displayMode": "list",
"placement": "right",
"calcs": []
}
},
"pluginVersion": "11.1.0-69622",
"targets": [
{
"columns": [],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "a3664529-e2dd-4eb9-bff7-765c42459902"
},
"filters": [],
"format": "table",
"global_query_id": "",
"parser": "backend",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://app.ninjarmm.com/v2/devices-detailed?df=org+42",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "DIsks over 70%",
"transformations": [
{
"id": "extractFields",
"options": {
"format": "kvp",
"source": "volumes"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"systemName",
"capacity",
"freeSpace",
"name"
]
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Percent Free",
"binary": {
"left": "freeSpace",
"operator": "/",
"right": "capacity"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Percent Used",
"binary": {
"left": "1",
"operator": "-",
"right": "Percent Free"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"systemName",
"name",
"Percent Used"
]
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "name"
}
],
"match": "any",
"type": "exclude"
}
},
{
"id": "calculateField",
"options": {
"alias": "Label",
"binary": {
"left": "systemName",
"right": "name"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"systemName",
"Percent Used",
"name"
]
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greater",
"options": {
"value": 0.7
}
},
"fieldName": "Percent Used"
}
],
"match": "all",
"type": "include"
}
}
],
"type": "barchart"
}