Grafana dashboard: Grafana Composer
Description: Dashboard to healthcheck status of tasks in GCP Composer/Airflow

Dashboard to healthcheck status of tasks in GCP Composer/Airflow

{
  "__inputs": [
    {
      "name": "DS_BEE_PRD STACKDRIVER",
      "label": "bee PRD Stackdriver",
      "description": "",
      "type": "datasource",
      "pluginId": "stackdriver",
      "pluginName": "Google Cloud Monitoring"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.2.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "stackdriver",
      "name": "Google Cloud Monitoring",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Dashboard to healthcheck status of tasks in GCP Composer/Airflow",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 16627,
  "graphTooltip": 1,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 13,
      "panels": [],
      "title": "Workflows(Dags)",
      "type": "row"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 0,
        "y": 1
      },
      "id": 44,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "hide": false,
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "composer.googleapis.com/environment/dagbag_size",
            "perSeriesAligner": "ALIGN_INTERPOLATE",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "B"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Dags Count",
      "type": "stat"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 8,
        "y": 1
      },
      "id": 37,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "success"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Number of Dag runs in success",
      "type": "stat"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 12,
        "y": 1
      },
      "id": 40,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "failed"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Number of dag runs in failed",
      "type": "stat"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 16,
        "y": 1
      },
      "id": 45,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "{{metric.name}}/Avg_Duration",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_MEAN",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "composer.googleapis.com/workflow/run_duration",
            "perSeriesAligner": "ALIGN_MAX",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Avg Duration of dag runs",
      "type": "stat"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 20,
        "y": 1
      },
      "id": 46,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "success"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/task/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Total tasks runs",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "decimals": 0,
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "hiddenSeries": false,
      "id": 25,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 0.5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "{{resource.label.workflow_name}}",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "success"
            ],
            "groupBys": [
              "metric.label.state"
            ],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of Dag runs in success",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:13",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:14",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "decimals": 0,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "hiddenSeries": false,
      "id": 38,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 2,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "{{metric.label.state}}",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "failed"
            ],
            "groupBys": [
              "metric.label.task_name"
            ],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of dag runs in failed",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:13",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:14",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 13,
        "w": 24,
        "x": 0,
        "y": 21
      },
      "hiddenSeries": false,
      "id": 33,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 0.5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "composer.googleapis.com/workflow/run_duration",
            "perSeriesAligner": "ALIGN_MAX",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [
        {
          "$$hashKey": "object:136",
          "colorMode": "warning",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 3600,
          "yaxis": "left"
        },
        {
          "$$hashKey": "object:142",
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 7200,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Duration of Dag runs in success",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:328",
          "decimals": null,
          "format": "s",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:329",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 0,
        "y": 34
      },
      "id": 6,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "success"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/task/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Number of tasks runs in success",
      "type": "stat"
    },
    {
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 5,
        "y": 34
      },
      "id": 26,
      "interval": null,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.2.3",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_SUM",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "failed"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/task/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "timeShift": null,
      "title": "Number of tasks runs in failed",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "decimals": 0,
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 21,
        "x": 0,
        "y": 41
      },
      "hiddenSeries": false,
      "id": 36,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "hide": false,
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "+1800s",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "success"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/task/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of tasks runs in success",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:13",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:14",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "decimals": 0,
      "fieldConfig": {
        "defaults": {
          "unit": "short"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 21,
        "x": 0,
        "y": 49
      },
      "hiddenSeries": false,
      "id": 31,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 2,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "hide": false,
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "+300s",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.state",
              "=",
              "failed"
            ],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "composer.googleapis.com/workflow/task/run_count",
            "perSeriesAligner": "ALIGN_DELTA",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "INT64"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of tasks runs in failed",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:13",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:14",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_BEE_PRD STACKDRIVER}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 14,
        "w": 18,
        "x": 0,
        "y": 57
      },
      "hiddenSeries": false,
      "id": 9,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.2.3",
      "pointradius": 0.5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "grafana-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [
              "metric.label.task_name"
            ],
            "metricKind": "GAUGE",
            "metricType": "composer.googleapis.com/workflow/task/run_duration",
            "perSeriesAligner": "ALIGN_NEXT_OLDER",
            "preprocessor": "none",
            "projectName": "project_name_here",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Duration of tasks runs ",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:328",
          "format": "s",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:329",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "1m",
  "schemaVersion": 31,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "30s",
      "1m",
      "5m",
      "10m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Grafana Composer",
  "uid": "CUa6cUR4k",
  "version": 6
}