Grafana dashboard: Flink_JVM_Taskmanager
Description: This dashboard is used to monitor the Network and IO metrics for Flink Taskmanager

Below is the link for Apache Flink Documentation , System-metrics

https://ci.apache.org/projects/flink/flink-docs-release-1.4/monitoring/metrics.html#system-metrics

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.1.0-pre1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 5157,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1521437615198,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 8,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "flink_taskmanager_job_task_buffers_inPoolUsage{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}\t",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_buffers_inPoolUsage",
          "refId": "A"
        },
        {
          "expr": "flink_taskmanager_job_task_buffers_inputQueueLength{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}\t",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_buffers_inputQueueLength",
          "refId": "B"
        },
        {
          "expr": "flink_taskmanager_job_task_buffers_outPoolUsage{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}\t",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_buffers_outPoolUsage",
          "refId": "C"
        },
        {
          "expr": "flink_taskmanager_job_task_buffers_outputQueueLength{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_buffers_outputQueueLength",
          "refId": "D"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Taskmanager_job_task_buffers(Network Metrics)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 12
      },
      "id": 6,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "flink_taskmanager_job_task_numBytesInLocal{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesInLocal",
          "refId": "A"
        },
        {
          "expr": "flink_taskmanager_job_task_numBytesInLocalPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesInLocalPerSecond",
          "refId": "B"
        },
        {
          "expr": "flink_taskmanager_job_task_numBytesInRemote{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesInRemote",
          "refId": "C"
        },
        {
          "expr": "flink_taskmanager_job_task_numBytesInRemotePerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesInRemotePerSecond",
          "refId": "D"
        },
        {
          "expr": "flink_taskmanager_job_task_numBytesOut{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesOut",
          "refId": "E"
        },
        {
          "expr": "flink_taskmanager_job_task_numBytesOutPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}\t",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numBytesOutPerSecond",
          "refId": "G"
        },
        {
          "expr": "flink_taskmanager_job_task_currentLowWatermark{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_currentLowWatermark",
          "refId": "H"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Taskmanager_job_task _numBytes (IO metrics)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 13,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "flink_taskmanager_job_task_numRecordsIn{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numRecordsIn",
          "refId": "A"
        },
        {
          "expr": "flink_taskmanager_job_task_numRecordsInPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numRecordsInPerSecond",
          "refId": "B"
        },
        {
          "expr": "flink_taskmanager_job_task_numRecordsOut{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numRecordsOut",
          "refId": "C"
        },
        {
          "expr": "flink_taskmanager_job_task_numRecordsOutPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_numRecordsOutPerSecond",
          "refId": "D"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Taskmanager_job_task_numRecords ( IO metrics )",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 36
      },
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "flink_taskmanager_job_task_operator_latency{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_operator_latency",
          "refId": "A"
        },
        {
          "expr": "flink_taskmanager_job_task_operator_numRecordsIn{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_operator_numRecordsIn",
          "refId": "B"
        },
        {
          "expr": "flink_taskmanager_job_task_operator_numRecordsInPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_operator_numRecordsInPerSecond",
          "refId": "C"
        },
        {
          "expr": "flink_taskmanager_job_task_operator_numRecordsOut{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_operator_numRecordsOut",
          "refId": "D"
        },
        {
          "expr": "flink_taskmanager_job_task_operator_numRecordsOutPerSecond{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_operator_numRecordsOutPerSecond",
          "refId": "E"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Taskmanager_job_task_operator_IO",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 46
      },
      "id": 10,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "flink_taskmanager_job_task_checkpointAlignmentTime{instance=~\"$instance\",job_name=\"UDP_Listen____CSV_to_Avro_encode____Kafka_publish\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "taskmanager_job_task_checkpointAlignmentTime",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Taskmanager_job_task_checkpointAlignmentTime",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    }
  ],
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "hide": 0,
        "includeAll": true,
        "label": "instance",
        "multi": true,
        "name": "instance",
        "options": [],
        "query": "label_values(instance)",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "flink",
        "type": "query",
        "useTags": true
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Flink_JVM_Taskmanager",
  "uid": "Lmiwhsgiz",
  "version": 33,
  "description": "This dashboard is used to monitor the Network and IO metrics for Flink Taskmanager"
}