{ "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": 0, "id": 2, "iteration": 1622140640889, "links": [], "panels": [ { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 74, "panels": [], "title": "Airflow", "type": "row" }, { "datasource": "SimpleJson", "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 13, "w": 24, "x": 0, "y": 1 }, "id": 72, "pluginVersion": "7.5.4", "targets": [ { "data": "", "refId": "A", "target": "dags", "type": "table" } ], "title": "Airflow dags", "type": "nodeGraph" }, { "datasource": null, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 14, "x": 0, "y": 14 }, "id": 84, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "sum by (state) (delta(airflow_task_status[$__interval]))", "interval": "", "legendFormat": "{{ state }}", "refId": "A" } ], "title": "Latest state change (tasks)", "type": "stat" }, { "datasource": null, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 10, "x": 14, "y": 14 }, "id": 86, "options": { "displayLabels": [], "legend": { "displayMode": "list", "placement": "right", "values": [] }, "pieType": "pie", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {} }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "sum by (task_id) (airflow_task_fail_count)", "interval": "", "legendFormat": "{{ task_id }}", "refId": "A" } ], "title": "All tasks fails", "type": "piechart" }, { "datasource": null, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 0, "y": 21 }, "id": 76, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "airflow_dag_scheduler_delay", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Scheduler delay", "type": "stat" }, { "datasource": null, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 40 }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 4, "y": 21 }, "id": 80, "options": { "displayMode": "basic", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showUnfilled": true, "text": {} }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "topk(10, sort_desc(sum(airflow_successful_task_duration) by (task_id)))", "format": "time_series", "interval": "", "legendFormat": "{{ task_id }}", "refId": "A" } ], "title": "Longest tasks", "transformations": [], "type": "bargauge" }, { "datasource": null, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 21 }, "id": 82, "options": { "displayMode": "gradient", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true, "text": {} }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "count by (status) (airflow_last_dag_run)", "interval": "", "legendFormat": "{{ status }}", "refId": "A" } ], "title": "Last DAG runs", "type": "bargauge" }, { "datasource": null, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 0, "y": 25 }, "id": 78, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.5.4", "targets": [ { "exemplar": true, "expr": "airflow_num_queued_tasks", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Queued tasks", "type": "stat" } ], "schemaVersion": 27, "style": "dark", "tags": [], "templating": { "list": [ { "datasource": "SimpleJson", "description": null, "error": null, "filters": [ { "condition": "", "key": "dag_id", "operator": "=", "value": "simple_test_dag" } ], "hide": 0, "label": null, "name": "Airflow", "skipUrlSync": false, "type": "adhoc" } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "TEST", "uid": "kcRMjy9MF", "version": 3 }