Grafana dashboard: SCDF Applications InfluxDB
Description: Spring Cloud Data Flow (SCDF), Stream Monitoring Dashboard for InfluxDB datastore

Spring Cloud Data Flow (SCDF) Stream Monitoring
https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#streams-monitoring

{
  "__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.4.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "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": 9923,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1552564755718,
  "links": [
    {
      "icon": "external link",
      "tags": [],
      "type": "dashboards"
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 80,
      "panels": [],
      "title": "System",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 0,
        "y": 1
      },
      "id": 30,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "count(process_cpu_usage{stream_name=~\"$stream_name\",application_name=~\"$application_name\"})",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "intervalFactor": 1,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(distinct(application_name)) FROM (SELECT * FROM \"spring_integration_send\" WHERE  (\"stream_name\" =~ /^$stream_name$/ )  group by application_name)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": "50, 80",
      "title": "# Apps",
      "transparent": true,
      "type": "singlestat",
      "valueFontSize": "150%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 4,
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 2,
        "y": 1
      },
      "id": 44,
      "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": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_application_guid]",
          "expr": "avg(process_cpu_usage{stream_name=~\"$stream_name\",application_name=~\"$application_name\"}) by (application_name,application_guid)",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{application_name}} [{{application_guid}}]",
          "measurement": "process_cpu_usage",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "CPU",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "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_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 4,
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 7,
        "y": 1
      },
      "id": 64,
      "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": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_application_guid]",
          "expr": "avg(jvm_memory_used_bytes{stream_name=~\"$stream_name\",application_name=~\"$application_name\"}) by (application_name,application_guid)",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{application_name}} [{{application_guid}}]",
          "measurement": "jvm_memory_used",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Memory",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "decbytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "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_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 4,
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 12,
        "y": 1
      },
      "id": 57,
      "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": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_application_guid]",
          "expr": "avg(jvm_threads_live_threads{stream_name=~\"$stream_name\",application_name=~\"$application_name\"}) by (application_name,application_guid)",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{application_name}} [{{application_guid}}]",
          "measurement": "jvm_threads_live",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Threads",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "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": 4,
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 16,
        "y": 1
      },
      "id": 77,
      "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": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_application_guid]",
          "expr": "avg(process_files_open_files{stream_name=~\"$stream_name\",application_name=~\"$application_name\"}) by (application_name,application_guid)",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{application_name}} [{{application_guid}}]",
          "measurement": "process_files_open",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Files",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "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_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 4,
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 20,
        "y": 1
      },
      "id": 78,
      "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": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_application_guid]",
          "expr": "avg(jvm_classes_loaded_classes{stream_name=~\"$stream_name\",application_name=~\"$application_name\"}) by (application_name,application_guid)",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{application_name}} [{{application_guid}}]",
          "measurement": "jvm_classes_loaded",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Classes",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 6
      },
      "id": 116,
      "panels": [],
      "title": "Applications",
      "type": "row"
    },
    {
      "content": "<p style=\"text-align: center;font-size: 200%;color:#299c46;\" > $application_name </p>",
      "gridPos": {
        "h": 2,
        "w": 12,
        "x": 0,
        "y": 7
      },
      "id": 100,
      "links": [],
      "minSpan": 2,
      "mode": "html",
      "repeat": "application_name",
      "repeatDirection": "h",
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "fill": 1,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 9
      },
      "id": 2,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_application_name [$tag_name]",
          "expr": "rate(spring_integration_send_seconds_count{type=\"channel\",name!=\"errorChannel\",name!=\"nullChannel\",result=\"success\",stream_name=~\"$stream_name\",application_name=~\"$application_name\",application_guid=~\"$application_guid\"}[60s])",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "intervalFactor": 1,
          "legendFormat": "{{name}} [{{application_guid}}]",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"count\"  / 60 FROM \"spring_integration_send\" WHERE (\"stream_name\" =~ /^$stream_name$/ AND \"type\" = 'channel' AND \"application_name\" =~ /^$application_name$/ AND \"application_guid\" =~ /^$application_guid$/ AND \"result\" = 'success' AND ( \"name\" = 'output' OR \"name\" = 'input')) AND $timeFilter GROUP BY \"application_name\", \"name\", \"application_guid\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Channel Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 10,
          "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}",
      "description": "($application_name)",
      "fill": 1,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 15
      },
      "id": 6,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "[$tag_name] $tag_application_name ($tag_application_guid)",
          "expr": "spring_integration_send_seconds_sum{type=\"channel\", stream_name=~\"$stream_name\",application_name=~\"$application_name\"}/spring_integration_send_seconds_count{type=\"channel\", stream_name=~\"$stream_name\",application_name=~\"$application_name\",application_guid=~\"$application_guid\"}",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{name}} [{{application_guid}}]",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"mean\" FROM \"spring_integration_send\" WHERE (\"stream_name\" =~ /^$stream_name$/ AND \"application_name\" =~ /^$application_name$/ AND \"type\" = 'channel' AND \"application_guid\" =~ /^$application_guid$/ AND \"result\" = 'success' AND ( \"name\" = 'output' OR \"name\" = 'input')) AND $timeFilter GROUP BY \"stream_name\", \"application_name\", \"application_guid\", \"result\", \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Channel Latency",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "s",
          "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": 6,
        "w": 12,
        "x": 0,
        "y": 21
      },
      "id": 22,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name [$tag_application_guid]",
          "expr": "rate(spring_integration_send_seconds_count{type=\"handler\",result=\"success\",stream_name=~\"$stream_name\",application_name=~\"$application_name\",application_guid=~\"$application_guid\"}[60s])",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{name}} [{{application_guid}}]",
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [
                  " / 60"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "result",
              "operator": "=",
              "value": "success"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "handler"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Handler Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 10,
          "max": null,
          "min": "0",
          "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": 6,
        "w": 12,
        "x": 0,
        "y": 27
      },
      "id": 148,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name [$tag_application_guid]",
          "groupBy": [
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "measurement": "spring_integration_receive",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [
                  " / 60"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "application_guid",
              "operator": "=~",
              "value": "/^$application_guid$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "source"
            },
            {
              "condition": "AND",
              "key": "result",
              "operator": "=",
              "value": "success"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Message Source Rate",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 10,
          "max": null,
          "min": "0",
          "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}",
      "description": "($application_name)",
      "fill": 1,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 33
      },
      "id": 16,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name [$tag_application_guid]",
          "expr": "rate(spring_integration_send_seconds_count{type=\"channel\",result=\"failure\",stream_name=~\"$stream_name\",application_name=~\"$application_name\",application_guid=~\"$application_guid\"}[60s])",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "stream_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "{{name}} [{{application_guid}}]",
          "measurement": "spring_integration_send",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [
                  " / 60"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "application_guid",
              "operator": "=~",
              "value": "/^$application_guid$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "channel"
            },
            {
              "condition": "AND",
              "key": "result",
              "operator": "=",
              "value": "failure"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Channel  Failures",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
      "description": "($application_name)",
      "fill": 1,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 39
      },
      "id": 135,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": 2,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "application_name",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "#channels [$tag_application_guid]",
          "expr": "spring_integration_channels{stream_name=~\"$stream_name\", application_name=~\"$application_name\", application_guid=~\"$application_guid\"}",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "#channels [{{application_guid}}]",
          "measurement": "spring_integration_channels",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "application_guid",
              "operator": "=~",
              "value": "/^$application_guid$/"
            }
          ]
        },
        {
          "alias": "#handlers [$tag_application_guid]",
          "expr": "spring_integration_handlers{stream_name=~\"$stream_name\", application_name=~\"$application_name\", application_guid=~\"$application_guid\"}",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "#handlers [{{application_guid}}]",
          "measurement": "spring_integration_handlers",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "application_guid",
              "operator": "=~",
              "value": "/^$application_guid$/"
            }
          ]
        },
        {
          "alias": "#sources [$tag_application_guid]",
          "expr": "spring_integration_sources{stream_name=~\"$stream_name\", application_name=~\"$application_name\", application_guid=~\"$application_guid\"}",
          "format": "time_series",
          "groupBy": [
            {
              "params": [
                "application_guid"
              ],
              "type": "tag"
            }
          ],
          "intervalFactor": 1,
          "legendFormat": "#sources [{{application_guid}}]",
          "measurement": "spring_integration_sources",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "stream_name",
              "operator": "=~",
              "value": "/^$stream_name$/"
            },
            {
              "condition": "AND",
              "key": "application_name",
              "operator": "=~",
              "value": "/^$application_name$/"
            },
            {
              "condition": "AND",
              "key": "application_guid",
              "operator": "=~",
              "value": "/^$application_guid$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Channels, Handlers, Sources Counts",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "15s",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "definition": "select distinct(\"stream_name\") from (select  * from \"spring_integration_send\" WHERE time > now() - 60s)",
        "hide": 0,
        "includeAll": false,
        "label": "stream",
        "multi": false,
        "name": "stream_name",
        "options": [],
        "query": "select distinct(\"stream_name\") from (select  * from \"spring_integration_send\" WHERE time > now() - 60s)",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "definition": "show tag values with key=\"application_name\" WHERE stream_name='$stream_name'",
        "hide": 0,
        "includeAll": true,
        "label": "application",
        "multi": true,
        "name": "application_name",
        "options": [],
        "query": "show tag values with key=\"application_name\" WHERE stream_name='$stream_name'",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "definition": "show tag values with key=\"name\" WHERE stream_name='$stream_name' AND application_name='$application_name'",
        "hide": 2,
        "includeAll": true,
        "label": "name",
        "multi": true,
        "name": "name",
        "options": [],
        "query": "show tag values with key=\"name\" WHERE stream_name='$stream_name' AND application_name='$application_name'",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUX_AUTO_DATAFLOWMETRICSCOLLECTOR}",
        "definition": "show tag values from \"spring_integration_send\" with key = \"application_guid\" WHERE stream_name = '$stream_name'",
        "hide": 0,
        "includeAll": true,
        "label": "guid",
        "multi": true,
        "name": "application_guid",
        "options": [],
        "query": "show tag values from \"spring_integration_send\" with key = \"application_guid\" WHERE stream_name = '$stream_name'",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "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 Applications InfluxDB",
  "uid": "scdf-applications",
  "version": 1,
  "description": "Spring Cloud Data Flow (SCDF), Stream Monitoring Dashboard for InfluxDB datastore"
}