Grafana dashboard: Glue Jobs Metrics
Description: Jobs metrics Grouped by all values

This board gets Glue metrics from ALL job runs and with row repeat by job Name. 

Considering the namespace as Glue only.

{
  "__inputs": [
    {
      "name": "DS_ITX-BTY-CW",
      "label": "${datasource}",
      "description": "Generic Datasource",
      "type": "datasource",
      "pluginId": "cloudwatch",
      "pluginName": "CloudWatch"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "panel",
      "id": "barchart",
      "name": "Bar chart",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "cloudwatch",
      "name": "CloudWatch",
      "version": "1.0.0"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.5.2"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- 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": "Jobs metrics Grouped by all values",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 2,
  "id": null,
  "iteration": 1666810834514,
  "links": [],
  "liveNow": true,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 8,
      "panels": [],
      "repeat": "jobName",
      "title": "$jobName",
      "type": "row"
    },
    {
      "datasource": {
        "type": "cloudwatch",
        "uid": "${DS_ITX-BTY-CW}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "axisSoftMin": 0,
            "fillOpacity": 80,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineWidth": 1,
            "scaleDistribution": {
              "type": "linear"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 20,
      "options": {
        "barRadius": 0,
        "barWidth": 0.97,
        "groupWidth": 0.7,
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "orientation": "auto",
        "showValue": "auto",
        "stacking": "none",
        "tooltip": {
          "mode": "single",
          "sort": "none"
        },
        "xField": "Time",
        "xTickLabelRotation": -45,
        "xTickLabelSpacing": 100
      },
      "repeat": "metrics",
      "repeatDirection": "h",
      "targets": [
        {
          "alias": "{{metric}}",
          "datasource": {
            "type": "cloudwatch",
            "uid": "${DS_ITX-BTY-CW}"
          },
          "dimensions": {
            "JobName": "$jobName",
            "JobRunId": "ALL"
          },
          "expression": "",
          "id": "",
          "matchExact": false,
          "metricEditorMode": 0,
          "metricName": "$metrics",
          "metricQueryType": 0,
          "namespace": "$glue",
          "period": "$period",
          "queryMode": "Metrics",
          "refId": "A",
          "region": "default",
          "sqlExpression": "",
          "statistic": "Average"
        }
      ],
      "title": "$jobName - $metrics",
      "type": "barchart"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 36,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "itx-bty-cw",
          "value": "itx-bty-cw"
        },
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "datasource",
        "options": [],
        "query": "cloudwatch",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": {
          "selected": false,
          "text": "csat",
          "value": "csat"
        },
        "description": "Data provider filter",
        "hide": 0,
        "label": "Data Provider",
        "name": "dataprovider",
        "options": [
          {
            "selected": true,
            "text": "csat",
            "value": "csat"
          }
        ],
        "query": "csat",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {},
        "datasource": {
          "type": "cloudwatch",
          "uid": "${DS_ITX-BTY-CW}"
        },
        "definition": "",
        "hide": 0,
        "includeAll": false,
        "multi": true,
        "name": "jobName",
        "options": [],
        "query": {
          "attributeName": "",
          "dimensionFilters": "",
          "dimensionKey": "JobName",
          "ec2Filters": "",
          "instanceID": "",
          "metricName": "glue.ALL.s3.filesystem.write_bytes",
          "namespace": "$glue",
          "queryType": "dimensionValues",
          "refId": "CloudWatchVariableQueryEditor-VariableQuery",
          "region": "default",
          "resourceType": "",
          "tags": ""
        },
        "refresh": 1,
        "regex": "/[^data_validation|^data_processing|^ingestion]_.*$dataprovider.*/",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "cloudwatch",
          "uid": "${DS_ITX-BTY-CW}"
        },
        "definition": "",
        "hide": 0,
        "includeAll": false,
        "label": "Metrics",
        "multi": true,
        "name": "metrics",
        "options": [],
        "query": {
          "attributeName": "",
          "dimensionFilters": "",
          "dimensionKey": "",
          "ec2Filters": "",
          "instanceID": "",
          "metricName": "",
          "namespace": "$glue",
          "queryType": "metrics",
          "refId": "CloudWatchVariableQueryEditor-VariableQuery",
          "region": "default",
          "resourceType": "",
          "tags": ""
        },
        "refresh": 1,
        "regex": "/.*glue.ALL.*/",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "Glue",
          "value": "Glue"
        },
        "hide": 2,
        "includeAll": false,
        "multi": false,
        "name": "glue",
        "options": [
          {
            "selected": true,
            "text": "Glue",
            "value": "Glue"
          }
        ],
        "query": "Glue",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "auto": false,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "selected": false,
          "text": "30d",
          "value": "30d"
        },
        "hide": 0,
        "name": "period",
        "options": [
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": true,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "1m,10m,30m,1h,1d,30d",
        "queryValue": "",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-90d",
    "to": "now"
  },
  "timepicker": {
    "hidden": false,
    "refresh_intervals": [
      "5s"
    ]
  },
  "timezone": "utc",
  "title": "Glue Jobs Metrics",
  "uid": "PDl35pNVk",
  "version": 20,
  "weekStart": "sunday",
  "gnetId": 17273
}