JVM Metrics - Jolokia 2
This dashboard will provide JVM metrics for a Java application instrumented with Jolokia Agent.
~~~~~~~~~~~~~~~~~~~
Note: This dashboard uses [[inputs.jolokia2_agent]] for Telegraf. The original Jolokia plugin was disconinued.
~~~~~~~~~~~~~~~~~~~

Steps for instrumenting your Java application:

1. Download Jolokia agent (I tested with jolokia-jvm-1.6.0-agent.jar)
2. Start your java application by adding an aditional argument:
~~~~~~~~~~~~~~~~~~~
java -javaagent:<jolokia_path>/jolokia-jvm-1.6.0-agent.jar [OTHER_ARGUMENTS]
~~~~~~~~~~~~~~~~~~~
3. Update your Telegraf config file:
~~~~~~~~~~~~~~~~~~~
# # Read JMX metrics from a Jolokia REST agent endpoint
[[inputs.jolokia2_agent]]
   urls = ["http://localhost:8778/jolokia"]

[[inputs.jolokia2_agent.metric]]
    name  = "java_runtime"
    mbean = "java.lang:type=Runtime"
    paths = ["Uptime"]

[[inputs.jolokia2_agent.metric]]
    name  = "java_memory"
    mbean = "java.lang:type=Memory"
    paths = ["HeapMemoryUsage", "NonHeapMemoryUsage", "ObjectPendingFinalizationCount"]

[[inputs.jolokia2_agent.metric]]
    name     = "java_garbage_collector"
    mbean    = "java.lang:name=*,type=GarbageCollector"
    paths    = ["CollectionTime", "CollectionCount"]
    tag_keys = ["name"]

[[inputs.jolokia2_agent.metric]]
    name  = "java_last_garbage_collection"
    mbean = "java.lang:name=*,type=GarbageCollector"
    paths = ["LastGcInfo"]
    tag_keys = ["name"]

[[inputs.jolokia2_agent.metrics]]
    name  = "java_threading"
    mbean = "java.lang:type=Threading"
    paths = ["TotalStartedThreadCount", "ThreadCount", "DaemonThreadCount", "PeakThreadCount"]

[[inputs.jolokia2_agent.metrics]]
    name  = "java_class_loading"
    mbean = "java.lang:type=ClassLoading"
    paths = ["LoadedClassCount", "UnloadedClassCount", "TotalLoadedClassCount"]

[[inputs.jolokia2_agent.metrics]]
    name     = "java_memory_pool"
    mbean    = "java.lang:name=*,type=MemoryPool"
    paths    = ["Usage", "PeakUsage", "CollectionUsage"]
    tag_keys = ["name"]
{
  "__inputs": [
    {
      "name": "DS_LINUXTELEGRAF",
      "label": "$Database",
      "description": "Create your own database for Telegraf",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.2.2"
    },
    {
      "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"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "This dashboard will provide JVM metrics for a Java application instrumented with Jolokia Agent.",
  "editable": true,
  "gnetId": 8991,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1542171039759,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 25,
      "panels": [],
      "repeat": null,
      "title": "Overview - $Server - $IP",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "$Database",
      "decimals": 2,
      "editable": true,
      "error": false,
      "format": "s",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 1
      },
      "height": "150",
      "id": 1,
      "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": "(s)",
      "postfixFontSize": "80%",
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "alias": "",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "system",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "uptime"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "",
      "title": "System Uptime",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "$Database",
      "decimals": 2,
      "editable": true,
      "error": false,
      "format": "ms",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 1
      },
      "height": "150",
      "id": 75,
      "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": "(s)",
      "postfixFontSize": "80%",
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "alias": "",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_runtime",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Uptime"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "",
      "title": "JVM Uptime",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 6,
        "y": 1
      },
      "height": "150",
      "id": 19,
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "zombies"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "1,5,10",
      "title": "Zombies",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 8,
        "y": 1
      },
      "height": "150",
      "id": 18,
      "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": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "system",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "load5"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "4,8,12",
      "title": "LA medium",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 10,
        "y": 1
      },
      "height": "150",
      "id": 20,
      "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": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "total"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "1,5,10",
      "title": "Processes",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 12,
        "y": 1
      },
      "height": "150",
      "id": 21,
      "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": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "total_threads"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "1,5,10",
      "title": "Threads",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "$Database",
      "decimals": null,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 14,
        "y": 1
      },
      "height": "150",
      "id": 24,
      "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": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "cpu",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "usage_iowait"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "cpu",
              "operator": "=",
              "value": "cpu-total"
            }
          ]
        }
      ],
      "thresholds": "30,40,50",
      "title": "IOWait",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 16,
        "y": 1
      },
      "height": "150",
      "id": 2,
      "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": true,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "cpu",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "usage_idle"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "* -1 + 100"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "cpu",
              "operator": "=",
              "value": "cpu-total"
            }
          ]
        }
      ],
      "thresholds": "60,80,90",
      "title": "CPU Usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 18,
        "y": 1
      },
      "height": "150",
      "id": 3,
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "mem",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "used_percent"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "50,80,90",
      "title": "RAM usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 20,
        "y": 1
      },
      "height": "150",
      "id": 22,
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "swap",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "used_percent"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": "50,70,90",
      "title": "Swap usage",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "$Database",
      "decimals": 0,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 22,
        "y": 1
      },
      "height": "150",
      "id": 23,
      "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": false
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$Interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "disk",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "used_percent"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "path",
              "operator": "=",
              "value": "/"
            }
          ]
        }
      ],
      "thresholds": "70,80,90",
      "title": "RootFS used",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 46,
      "panels": [],
      "title": "JVM Stats - $Server - $IP",
      "type": "row"
    },
    {
      "aliasColors": {
        "Heap Memory - Max": "#ef843c"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 6
      },
      "id": 35,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": 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": [
        {
          "alias": "Heap Memory - Init",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"heap_memory_usage_init\") FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "HeapMemoryUsage.init"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Heap Memory - Committed",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "HeapMemoryUsage.committed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Heap Memory - Used",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "HeapMemoryUsage.used"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Heap Memory - Max",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "HeapMemoryUsage.max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Heap Memory Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": false,
      "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
      }
    },
    {
      "aliasColors": {
        "Heap Memory - Max": "#ef843c"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 6
      },
      "id": 70,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Non-Heap Memory - Init",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"heap_memory_usage_init\") FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "NonHeapMemoryUsage.init"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Non-Heap Memory - Committed",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "NonHeapMemoryUsage.committed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Non-Heap Memory - Used",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "NonHeapMemoryUsage.used"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Non-Heap Memory - Max",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "java_memory",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "NonHeapMemoryUsage.max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Non-Heap Memory Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": false,
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 15
      },
      "id": 67,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "hideEmpty": true,
        "hideZero": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": true,
        "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": [
        {
          "alias": "GC Collection Count - $tag_name",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_garbage_collector",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT difference(\"CollectionCount\") FROM \"java_garbage_collector\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionCount"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "GC Collection Count",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": false,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 0,
          "format": "short",
          "label": "",
          "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": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 15
      },
      "id": 69,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": false,
        "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": [
        {
          "alias": "GC Collection Time - $tag_name",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_garbage_collector",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT difference(\"CollectionTime\") FROM \"java_garbage_collector\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionTime"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "GC Collection Time",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": false,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 0,
          "format": "ms",
          "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": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 0,
        "y": 24
      },
      "id": 71,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Collection Usage - Commited",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionUsage.committed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Collection Usage - Init",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionUsage.init"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Collection Usage - Max",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionUsage.max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Collection Usage - Used",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CollectionUsage.used"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory Pool - Collection Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "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": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 8,
        "y": 24
      },
      "id": 72,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Peak Usage - Commited",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "PeakUsage.committed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Peak Usage - Init",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "PeakUsage.init"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Peak Usage - Max",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "PeakUsage.max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Peak Usage - Used",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "PeakUsage.used"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory Pool - Peak Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "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": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 16,
        "y": 24
      },
      "id": 73,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Usage - Commited",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Usage.committed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Usage - Init",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Usage.init"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Usage - Max",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Usage.max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Usage - Used",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_memory_pool",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Usage.used"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory Pool - Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "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": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 33
      },
      "id": 37,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Daemon Thread Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_threading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "DaemonThreadCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Peak Thread Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_threading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "PeakThreadCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Thread Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_threading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "ThreadCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Total Started Thread Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_threading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "TotalStartedThreadCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Thread Count",
      "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
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 33
      },
      "id": 74,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "Loaded Class Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_class_loading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LoadedClassCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Total Loaded Class Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "java_class_loading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "TotalLoadedClassCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "Unloaded Class Count",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "java_class_loading",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "UnloadedClassCount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Class Count",
      "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": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 42
      },
      "id": 33,
      "panels": [],
      "title": "JVM - Last GC Info - $Server - $IP",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 43
      },
      "id": 49,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Eden Space - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.committed\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Eden Space - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_.*Eden Space_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Eden Space - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.max\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Eden Space - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.used\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.used\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.used\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Eden Space.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Eden Space.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Eden Space.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Eden Space",
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 43
      },
      "id": 43,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Survivor Space - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Survivor Space.committed\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Survivor Space.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Survivor Space - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_.*Survivor Space_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Survivor Space.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Survivor Space - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Survivor Space.max\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Par Survivor Space.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Survivor Space - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.used\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.used\", \"LastGcInfo.LastGcInfo.memoryUsageBeforeGc.Par Survivor Space.used\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Survivor Space.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Survivor Space.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageBeforeGc.Par Survivor Space.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Survivor Space",
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 52
      },
      "id": 50,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Tenured - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.committed\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.committed\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Old Generation' OR \"name\" = 'PS MarkSweep' OR \"name\" = 'ConcurrentMarkSweep')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.committed"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Old Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS MarkSweep"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ConcurrentMarkSweep"
            }
          ]
        },
        {
          "alias": "$tag_name --- Tenured - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_.*Old Gen_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.init"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Old Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS MarkSweep"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ConcurrentMarkSweep"
            }
          ]
        },
        {
          "alias": "$tag_name --- Tenured - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.max\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.max\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Old Generation' OR \"name\" = 'PS MarkSweep' OR \"name\" = 'ConcurrentMarkSweep')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.max"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Old Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS MarkSweep"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ConcurrentMarkSweep"
            }
          ]
        },
        {
          "alias": "$tag_name --- Tenured - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.used\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.used\", \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.used\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Old Generation' OR \"name\" = 'PS MarkSweep' OR \"name\" = 'ConcurrentMarkSweep')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.G1 Old Gen.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.PS Old Gen.used"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.CMS Old Gen.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Old Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS MarkSweep"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ConcurrentMarkSweep"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Tenured Space",
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 52
      },
      "id": 44,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Metaspace - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Metaspace_committed/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Metaspace.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "$tag_name --- Metaspace - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Metaspace_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Metaspace.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "$tag_name --- Metaspace - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Metaspace_max/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Metaspace.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        },
        {
          "alias": "$tag_name --- Metaspace - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Metaspace_used/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Metaspace.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Metaspace",
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 61
      },
      "id": 47,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Code Cache - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.committed\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Code Cache - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/ast_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Code Cache_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Code Cache - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.max\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Code Cache - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.used\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Code Cache.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Code Cache",
      "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
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$Database",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 61
      },
      "id": 48,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": 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": [
        {
          "alias": "$tag_name --- Compressed Class Space - Commited",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.committed\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.committed"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Compressed Class Space - Init",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(/last_gc_info_java.lang:name=$jolokia,type=GarbageCollector_LastGcInfo_memoryUsageAfterGc_Compressed Class Space_init/) FROM \"jolokia\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.init"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Compressed Class Space - Max",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.max\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.max"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        },
        {
          "alias": "$tag_name --- Compressed Class Space - Used",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "java_last_garbage_collection",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.used\" FROM \"java_last_garbage_collection\" WHERE (\"EC2_IPADDRESS\" =~ /^$IP$/ AND (\"name\" = 'G1 Young Generation' OR \"name\" = 'PS Scavenge' OR \"name\" = 'ParNew')) AND $timeFilter GROUP BY \"name\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "LastGcInfo.LastGcInfo.memoryUsageAfterGc.Compressed Class Space.used"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "EC2_IPADDRESS",
              "operator": "=~",
              "value": "/^$IP$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=",
              "value": "G1 Young Generation"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "PS Scavenge"
            },
            {
              "condition": "OR",
              "key": "name",
              "operator": "=",
              "value": "ParNew"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Compressed Class Space",
      "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
      }
    }
  ],
  "refresh": "1m",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [
    "InfluxDB",
    "Telegraf",
    "Jolokia",
    "JVM"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "tags": [],
          "text": "LinuxTelegraf",
          "value": "LinuxTelegraf"
        },
        "hide": 0,
        "label": null,
        "name": "Database",
        "options": [],
        "query": "influxdb",
        "refresh": 1,
        "regex": "",
        "type": "datasource"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_LINUXTELEGRAF}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "hostname",
        "options": [],
        "query": "SHOW TAG VALUES FROM cpu WITH KEY = \"EC2_HOSTNAME\"",
        "refresh": 1,
        "regex": "",
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_LINUXTELEGRAF}",
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "IP",
        "options": [],
        "query": "SHOW TAG VALUES FROM cpu WITH KEY = \"EC2_IPADDRESS\" WHERE \"EC2_HOSTNAME\"=~/^$hostname$/",
        "refresh": 1,
        "regex": "",
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": true,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "text": "30s",
          "value": "30s"
        },
        "hide": 0,
        "label": null,
        "name": "Interval",
        "options": [
          {
            "selected": false,
            "text": "auto",
            "value": "$__auto_interval_Interval"
          },
          {
            "selected": false,
            "text": "10s",
            "value": "10s"
          },
          {
            "selected": true,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "10s,,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "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": "browser",
  "title": "JVM Metrics - Jolokia 2",
  "uid": "CmN88ZAB2",
  "version": 5
}