Last active
June 6, 2024 02:42
-
-
Save ivanahuckova/184e79b97ab20dbd0784e510b4e04ce7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 1, | |
"id": 11, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "grafanacloud-ivhuc-graphite", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false | |
}, | |
"lineInterpolation": "smooth", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 10, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 48, | |
"options": { | |
"graph": {}, | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "7.4.0", | |
"targets": [ | |
{ | |
"refId": "A", | |
"target": "*" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": " 🥑 Master graph", | |
"type": "timeseries" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 10 | |
}, | |
"id": 46, | |
"panels": [ | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 21, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} |= \"status=OK\"", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🥑status = OK", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 11 | |
}, | |
"id": 28, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} |= \"status=DRY\"", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🥑status = DRY", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 16 | |
}, | |
"id": 18, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} |= \"status=COLD\"", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🥑status = COLD", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 16 | |
}, | |
"id": 19, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} |= \"status=HOT\"", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🥑status = HOT", | |
"type": "logs" | |
} | |
], | |
"title": "Logs [STATUS]", | |
"type": "row" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 44, | |
"panels": [ | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 29, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} | logfmt | light < 150", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🌚light = DARK", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 12 | |
}, | |
"id": 30, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} | logfmt | light > 150 and light < 1000", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🌤light = NORMAL", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 17 | |
}, | |
"id": 31, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} | logfmt | light > 1001 and light < 3000", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "☀️light = BRIGHT", | |
"type": "logs" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-logs", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 17 | |
}, | |
"id": 34, | |
"options": { | |
"showLabels": false, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": false | |
}, | |
"pluginVersion": "7.3.2", | |
"targets": [ | |
{ | |
"expr": "{monitoring_type=\"avocado\"} | logfmt | light > 3001 ", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "😎light = VERY BRIGHT", | |
"type": "logs" | |
} | |
], | |
"title": "Logs [LIGHT]", | |
"type": "row" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 36, | |
"panels": [], | |
"title": "Table ", | |
"type": "row" | |
}, | |
{ | |
"datasource": "grafanacloud-ivhuc-graphite", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"displayName": "humidity", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "humidity" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Humidity" | |
}, | |
{ | |
"id": "color", | |
"value": { | |
"mode": "continuous-YlBl" | |
} | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-background" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "temperature" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Temperature" | |
}, | |
{ | |
"id": "unit", | |
"value": "celsius" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "color", | |
"value": { | |
"mode": "continuous-BlYlRd" | |
} | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-background" | |
}, | |
{ | |
"id": "min", | |
"value": 19 | |
}, | |
{ | |
"id": "max", | |
"value": 26 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "moisture" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "none" | |
}, | |
{ | |
"id": "displayName", | |
"value": "Soil moisture" | |
}, | |
{ | |
"id": "mappings", | |
"value": [ | |
{ | |
"from": "0", | |
"id": 1, | |
"text": "💧WET 💧", | |
"to": "0.8", | |
"type": 2 | |
}, | |
{ | |
"from": "0.8", | |
"id": 2, | |
"text": "🏜DRY 🏜", | |
"to": "1", | |
"type": 2 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "height" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Height" | |
}, | |
{ | |
"id": "unit", | |
"value": "cm" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "heat_index" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "none" | |
}, | |
{ | |
"id": "displayName", | |
"value": "Heat index" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 16, | |
"w": 24, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 26, | |
"interval": "4m", | |
"maxDataPoints": 5000, | |
"options": { | |
"showHeader": true, | |
"sortBy": [] | |
}, | |
"pluginVersion": "7.4.3", | |
"targets": [ | |
{ | |
"refId": "A", | |
"target": "*" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "🥑 Master table", | |
"transformations": [ | |
{ | |
"id": "seriesToColumns", | |
"options": { | |
"byField": "Time" | |
} | |
}, | |
{ | |
"id": "filterByValue", | |
"options": { | |
"filters": [ | |
{ | |
"config": { | |
"id": "isNull", | |
"options": {} | |
}, | |
"fieldName": "temperature" | |
} | |
], | |
"match": "any", | |
"type": "exclude" | |
} | |
} | |
], | |
"type": "table" | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 27, | |
"style": "dark", | |
"tags": [ | |
"avocado", | |
"monitoring" | |
], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-2d", | |
"to": "now" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "Avocado summary", | |
"uid": "u3K50VBGk", | |
"version": 85 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment