{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": false, "graphTooltip": 0, "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 6, "panels": [], "title": "", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMax": 30, "axisSoftMin": 20, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 35, "min": 10, "thresholds": { "mode": "absolute", "steps": [ { "color": "blue" }, { "color": "green", "value": 15 }, { "color": "red", "value": 30 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 8, "w": 9, "x": 0, "y": 1 }, "id": 2, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg_over_time(atmp{id=\"$id\"}[$__interval])", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Temperature", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 35, "min": 10, "thresholds": { "mode": "absolute", "steps": [ { "color": "blue" }, { "color": "green", "value": 15 }, { "color": "red", "value": 30 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 8, "w": 3, "x": 9, "y": 1 }, "id": 7, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg_over_time(atmp{id=\"$id\"}[$__interval])", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Temperature", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 65, "min": 25, "thresholds": { "mode": "absolute", "steps": [ { "color": "blue" }, { "color": "green", "value": 30 }, { "color": "red", "value": 60 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 8, "w": 3, "x": 12, "y": 1 }, "id": 8, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg_over_time(rhum{id=\"$id\"}[$__interval])", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Relative Humidity", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMax": 60, "axisSoftMin": 30, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue" }, { "color": "green", "value": 30 }, { "color": "red", "value": 60 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 8, "w": 9, "x": 15, "y": 1 }, "id": 5, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg_over_time(rhum{id=\"$id\"}[$__interval])", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Relative Humidity", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMax": 2500, "axisSoftMin": 100, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green" }, { "color": "green", "value": 100 }, { "color": "yellow", "value": 450 }, { "color": "orange", "value": 650 }, { "color": "dark-orange", "value": 800 }, { "color": "semi-dark-red", "value": 1000 } ] }, "unit": "ppm" }, "overrides": [] }, "gridPos": { "h": 8, "w": 9, "x": 0, "y": 9 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "rco2{id=\"$id\"}", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "CO2 PPM", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 2500, "min": 50, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green" }, { "color": "green", "value": 100 }, { "color": "yellow", "value": 450 }, { "color": "orange", "value": 650 }, { "color": "dark-orange", "value": 800 }, { "color": "semi-dark-red", "value": 1000 } ] }, "unit": "ppm" }, "overrides": [] }, "gridPos": { "h": 8, "w": 3, "x": 9, "y": 9 }, "id": 9, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "rco2{id=\"$id\"}", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "CO2 PPM", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "PM2.5 describes fine inhalable particles, with diameters that are generally 2.5 micrometers and smaller.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds", "seriesBy": "last" }, "mappings": [], "max": 35, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "dark-green", "value": 0 }, { "color": "dark-yellow", "value": 5 }, { "color": "dark-orange", "value": 15 }, { "color": "dark-red", "value": 30 } ] }, "unit": "conμgm3" }, "overrides": [] }, "gridPos": { "h": 8, "w": 3, "x": 12, "y": 9 }, "id": 10, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "pm02{id=\"$id\"}", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Particulate Matter", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "PM2.5 describes fine inhalable particles, with diameters that are generally 2.5 micrometers and smaller.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds", "seriesBy": "last" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMax": 20, "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "dark-green", "value": 0 }, { "color": "dark-yellow", "value": 5 }, { "color": "dark-orange", "value": 15 }, { "color": "dark-red", "value": 30 } ] }, "unit": "conμgm3" }, "overrides": [] }, "gridPos": { "h": 8, "w": 9, "x": 15, "y": 9 }, "id": 3, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "pm02{id=\"$id\"}", "instant": false, "legendFormat": "{{sensor_location}}", "range": true, "refId": "A" } ], "title": "Particulate Matter", "type": "timeseries" } ], "preload": true, "tags": ["airgradient", "iot"], "templating": { "list": [ { "allowCustomValue": false, "current": { "text": "ag-br-1", "value": "ag-br-1" }, "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "definition": "label_values(pm02,id)", "description": "The id of the Air Quality Monitor", "includeAll": false, "label": "Device", "name": "id", "options": [], "query": { "qryType": 1, "query": "label_values(pm02,id)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "current": { "text": "Prometheus", "value": "kube-prometheus-stack" }, "label": "Prometheus", "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" } ] }, "time": { "from": "now-24h", "to": "now" }, "timezone": "browser", "title": "Airgradient", "uid": "fdf2b7afrjsw0f", "version": 4 }