{
  "__inputs": [
    {
      "name": "DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR",
      "label": "influx_auto_DataFlowMetricsCollector",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.1.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "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": null,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1525333319927,
  "links": [
    {
      "icon": "external link",
      "tags": [],
      "type": "dashboards"
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 11,
      "panels": [],
      "repeat": null,
      "title": "Input Channel",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 3,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "input"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Input Channel Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "opm",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 4,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "input"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Input Channel Average Latency",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "id": 12,
      "panels": [],
      "repeat": null,
      "title": "Output Channel",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 9
      },
      "id": 1,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"count\" FROM \"spring_integration_send\" WHERE (\"application_name\" =~ /^$application$/ AND \"type\" = 'channel' AND \"name\" = 'output') AND $timeFilter GROUP BY \"stream_name\", \"application_name\", \"result\"",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "output"
            },
            {
              "condition": "AND",
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Output Channel Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "opm",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 9
      },
      "id": 2,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"mean\" FROM \"spring_integration_send\" WHERE (\"stream_name\" =~ /^$stream$/ AND \"application_name\" =~ /^$application$/ AND \"type\" = 'channel' AND \"name\" = 'output') AND $timeFilter GROUP BY \"stream_name\", \"application_name\", \"result\"",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "output"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Output Channel Average Latency",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 13,
      "panels": [],
      "repeat": null,
      "title": "Error Channel",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 17
      },
      "id": 5,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "errorChannel"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Error Channel Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "opm",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 17
      },
      "id": 6,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "errorChannel"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Error Channel Average Latency",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 14,
      "panels": [],
      "repeat": null,
      "title": "Handlers",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 25
      },
      "id": 7,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "handler"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "!=",
              "value": "org_springframework_cloud_stream_app_log_sink_LogSinkConfiguration_logSinkHandler_serviceActivator_handler"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Handlers Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "opm",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 25
      },
      "id": 8,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "result"
              ],
              "type": "tag"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "handler"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "!=",
              "value": "org_springframework_cloud_stream_app_log_sink_LogSinkConfiguration_logSinkHandler_serviceActivator_handler"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Handlers Average Latency",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 32
      },
      "id": 15,
      "panels": [],
      "repeat": null,
      "title": "Dashboard Row",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 33
      },
      "id": 9,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "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": [
        {
          "dsType": "influxdb",
          "groupBy": [],
          "measurement": "process_cpu_usage",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [
                  " * 100"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": []
        },
        {
          "dsType": "influxdb",
          "groupBy": [],
          "measurement": "system_cpu_usage",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [
                  " * 100"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "CPU",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 33
      },
      "id": 10,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "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": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "1m"
              ],
              "type": "time"
            },
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "jvm_memory_used",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            }
          ]
        },
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "1m"
              ],
              "type": "time"
            },
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "jvm_memory_max",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "JVM Memory",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "decbytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "hide": 0,
        "includeAll": false,
        "label": "Stream",
        "multi": false,
        "name": "stream",
        "options": [],
        "query": "show tag values with key=\"stream_name\"",
        "refresh": 2,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "hide": 0,
        "includeAll": false,
        "label": "application",
        "multi": true,
        "name": "application",
        "options": [],
        "query": "show tag values with key=\"application_name\" WHERE stream_name='$stream'",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "show tag values with key=\"application_name\" WHERE stream='$stream' AND stream_type = '$tag'",
        "tags": [],
        "tagsQuery": "show tag values with key = \"stream_type\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "hide": 0,
        "includeAll": false,
        "label": "ApplicationId",
        "multi": false,
        "name": "application_id",
        "options": [],
        "query": "show tag values from \"spring_integration_send\" with key = \"application_guid\" WHERE stream_name = '$stream'",
        "refresh": 2,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "show tag values with key = \"application_guid\" WHERE stream_name = '$stream' and application_name = '$tag'",
        "tags": [
          "log2",
          "time2"
        ],
        "tagsQuery": "show tag values with key=\"application_name\" WHERE stream_name='$stream'",
        "type": "query",
        "useTags": true
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "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": "scdf-influxdb-dashboard",
  "uid": "QvcTSLGik",
  "version": 1
}
