KloudMate Logo
<- Back to Templates

JVM V2

By KloudMate

Monitoring JVM runtime metrics for java applicatoin running in kubernetes and integrated using KM Agent. You can collect runtime metrics such as memory utilization and limit, garbage collection activity, thread counts, class loading, and CPU consumption.

JVM V2

Template JSON

{
  "name": "JVM Metrics-V2",
  "description": "",
  "data": {
    "tz": "local",
    "panels": [
      {
        "id": "lv92wddbvvl",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 1
          }
        },
        "title": "JVM Heap Memory Used",
        "tooltip": {
          "mode": "all"
        },
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "statConfig": {
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "table",
            "values": [
              {
                "label": "Max",
                "value": "max"
              },
              {
                "label": "Last",
                "value": "last"
              }
            ]
          }
        },
        "description": "Heap Memory in bytes the JVM process is actively using",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "bytes",
              "field": "",
              "value": "jvm_memory_used",
              "metric": "jvm_memory_used",
              "metricType": "Gauge",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "8xw5uq9syng",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 3
          }
        },
        "STATS": {},
        "table": {
          "columns": [
            {
              "key": "A:AVG()",
              "format": {
                "format": "bytes",
                "decimals": 1
              },
              "rename": "Heap"
            },
            {
              "key": "service_name",
              "rename": "Service"
            }
          ]
        },
        "title": "Heap Memory Limit",
        "bar_chart": {
          "axis": {
            "x": {
              "date_style": "auto"
            },
            "y": {
              "format": "unformatted",
              "prefix": "",
              "suffix": "",
              "decimals": 3,
              "multiplyBy": 1
            }
          },
          "legend": {
            "view": "list",
            "values": []
          },
          "display": {
            "stacking": "stacked",
            "orientation": "vertical"
          }
        },
        "panelType": "STATS",
        "pie_chart": {
          "legend": {
            "mode": "list",
            "show": true,
            "values": [
              "formattedPercent"
            ],
            "placement": "right"
          },
          "display": {
            "type": "pie",
            "labels": [
              "name"
            ]
          },
          "formatter": {},
          "value_options": {
            "type": "reduce",
            "limit": 20,
            "reduce": "last",
            "columns": [
              "numeric"
            ]
          }
        },
        "timeRange": "12h",
        "TimeSeries": {},
        "statConfig": {
          "color": {
            "scheme": "fixed",
            "fixedColor": "#dd223a"
          },
          "format": "bytes",
          "decimals": 1,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "colorMode": "background",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "Maximum Heap-memory (bytes) that the JVM is allowed to use",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_limit",
              "metric": "jvm_memory_limit",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "responseType": "series"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "ik7qok4opu",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "duration",
            "decimals": 1,
            "multiplyBy": 1000
          }
        },
        "title": "JVM GC Duration",
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "statConfig": {
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "the total time spent performing garbage collection in the JVM.",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "AVG",
              "type": "",
              "unit": "s",
              "field": "",
              "value": "jvm_gc_duration_sum",
              "metric": "jvm_gc_duration_sum",
              "metricType": "Histogram",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "oked0o609mq",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "number",
            "suffix": "{class}",
            "decimals": 3
          }
        },
        "title": "JVM Classes Loaded",
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "statConfig": {
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "Number of classes currently loaded in the JVM",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "{class}",
              "field": "",
              "value": "jvm_class_loaded",
              "metric": "jvm_class_loaded",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "172phe1chqe",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "duration",
            "decimals": 0,
            "multiplyBy": 1000
          }
        },
        "title": "HTTP Server Requests",
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "statConfig": {
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "the total duration of HTTP requests handled by the application",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "AVG",
              "type": "",
              "unit": "s",
              "field": "",
              "value": "http_server_request_duration_sum",
              "metric": "http_server_request_duration_sum",
              "metricType": "Histogram",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "3jftuzrz3pa",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 1
          }
        },
        "title": "JVM Non-Heap Memory Used",
        "tooltip": {
          "mode": "all"
        },
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "statConfig": {
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "table",
            "values": [
              {
                "label": "Max",
                "value": "max"
              },
              {
                "label": "Last",
                "value": "last"
              }
            ]
          }
        },
        "description": "Non-heap memory in bytes the JVM process is actively using",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "non_heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_used",
              "metric": "jvm_memory_used",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "5la5pnz1tem",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "percentage",
            "prefix": "",
            "decimals": 1
          }
        },
        "STATS": {},
        "title": "JVM CPU Utilization",
        "panelType": "STATS",
        "timeRange": "1h",
        "statConfig": {
          "color": {
            "scheme": "fixed",
            "fixedColor": "#3e77bb"
          },
          "format": "percentage",
          "decimals": 2,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "colorMode": "background",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": [
              {
                "label": "Last",
                "value": "last"
              }
            ]
          }
        },
        "description": "JVM process’s recent CPU utilization",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "LAST",
              "type": "",
              "unit": "1",
              "field": "",
              "value": "jvm_cpu_recent_utilization",
              "metric": "jvm_cpu_recent_utilization",
              "metricType": "Gauge",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "9m5gu0pq2tv",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 1
          }
        },
        "STATS": {},
        "title": "Heap Memory Usage",
        "panelType": "STATS",
        "timeRange": "1h",
        "statConfig": {
          "color": {
            "scheme": "fixed",
            "fixedColor": "#76c029"
          },
          "suffix": "%",
          "decimals": 1,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "colorMode": "background",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "JVM heap Memory Used against the Memory Limit",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "bytes",
              "field": "",
              "value": "jvm_memory_used",
              "metric": "jvm_memory_used",
              "metricType": "Gauge",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          },
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "B",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              },
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_limit",
              "metric": "jvm_memory_limit",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          },
          {
            "type": "expression",
            "hidden": false,
            "nodeId": "C",
            "expression": "($A / $B) *100",
            "responseType": "series",
            "expressionType": "math"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "08i4lqtn68ea",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 1
          }
        },
        "STATS": {},
        "title": "Non-Heap Memory Usage",
        "panelType": "STATS",
        "timeRange": "1h",
        "statConfig": {
          "color": {
            "scheme": "fixed",
            "fixedColor": "#ddce21"
          },
          "suffix": "%",
          "decimals": 1,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "colorMode": "background",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "JVM Non-heap Memory Used against the Memory Limit",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "non_heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "AVG",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_used",
              "metric": "jvm_memory_used",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "responseType": "series"
          },
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "B",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              },
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "non_heap",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "AVG",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_limit",
              "metric": "jvm_memory_limit",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "responseType": "series"
          },
          {
            "type": "expression",
            "hidden": false,
            "nodeId": "C",
            "expression": "($A / $B) *100",
            "responseType": "series",
            "expressionType": "math"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "fgz9myzj7oc",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "percentage",
            "prefix": "",
            "decimals": 1
          }
        },
        "STATS": {},
        "title": "CPU Usage",
        "tooltip": {
          "mode": "all"
        },
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "TimeSeries": {},
        "statConfig": {
          "format": "percentage",
          "decimals": 2,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "table",
            "values": [
              {
                "label": "Max",
                "value": "max"
              },
              {
                "label": "Last",
                "value": "last"
              }
            ]
          }
        },
        "description": "JVM CPU Utilization",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "LAST",
              "type": "",
              "unit": "1",
              "field": "",
              "value": "jvm_cpu_recent_utilization",
              "metric": "jvm_cpu_recent_utilization",
              "metricType": "Gauge",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "hw3cw0baro",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "percentage",
            "decimals": 1
          }
        },
        "STATS": {},
        "title": "Heap Memory Usage ",
        "tooltip": {
          "mode": "all"
        },
        "panelType": "TimeSeries",
        "timeRange": "1h",
        "TimeSeries": {},
        "statConfig": {
          "suffix": "%",
          "decimals": 1,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "table",
            "values": [
              {
                "label": "Max",
                "value": "max"
              },
              {
                "label": "Last",
                "value": "last"
              }
            ]
          }
        },
        "description": "JVM heap Memory Used against the Memory Limit",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "bytes",
              "field": "",
              "value": "jvm_memory_used",
              "metric": "jvm_memory_used",
              "metricType": "Gauge",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          },
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": true,
            "metric": "",
            "nodeId": "B",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              },
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "heap",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_limit",
              "metric": "jvm_memory_limit",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "legendFormat": "{{service_name}}",
            "responseType": "series"
          },
          {
            "type": "expression",
            "hidden": false,
            "nodeId": "C",
            "expression": "($A / $B) ",
            "responseType": "series",
            "expressionType": "math"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      },
      {
        "id": "02r6sh4khbuq",
        "tz": "local",
        "axis": {
          "x": {
            "date_style": "auto"
          },
          "y": {
            "format": "bytes",
            "decimals": 3
          }
        },
        "STATS": {},
        "table": {
          "columns": [
            {
              "key": "A:AVG()",
              "format": {
                "format": "bytes",
                "decimals": 1
              },
              "rename": "Heap"
            },
            {
              "key": "service_name",
              "rename": "Service"
            }
          ]
        },
        "title": "Non-Heap Memory Limit ",
        "bar_chart": {
          "axis": {
            "x": {
              "date_style": "auto"
            },
            "y": {
              "format": "unformatted",
              "prefix": "",
              "suffix": "",
              "decimals": 3,
              "multiplyBy": 1
            }
          },
          "legend": {
            "view": "list",
            "values": []
          },
          "display": {
            "stacking": "stacked",
            "orientation": "vertical"
          }
        },
        "panelType": "STATS",
        "pie_chart": {
          "legend": {
            "mode": "list",
            "show": true,
            "values": [
              "formattedPercent"
            ],
            "placement": "right"
          },
          "display": {
            "type": "pie",
            "labels": [
              "name"
            ]
          },
          "formatter": {},
          "value_options": {
            "type": "reduce",
            "limit": 20,
            "reduce": "last",
            "columns": [
              "numeric"
            ]
          }
        },
        "timeRange": "12h",
        "TimeSeries": {},
        "statConfig": {
          "color": {
            "scheme": "fixed",
            "fixedColor": "#4a4a4a"
          },
          "format": "bytes",
          "decimals": 1,
          "statView": "grid",
          "baseColor": "#4CBB17",
          "colorMode": "background",
          "calculation": "last"
        },
        "timeseries": {
          "legend": {
            "view": "list",
            "values": []
          }
        },
        "description": "Maximum Non-Heap memory (bytes) that the JVM is allowed to use",
        "node_configs": [
          {
            "page": 1,
            "stat": "",
            "type": "query",
            "hidden": false,
            "metric": "",
            "nodeId": "A",
            "region": "",
            "source": "kloudmate",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": "non_heap",
                "operator": "="
              },
              {
                "type": "string",
                "field": "service_name",
                "value": "$ServiceName",
                "operator": "="
              }
            ],
            "groupBy": [
              {
                "type": "string",
                "field": "service_name"
              }
            ],
            "orderBy": [],
            "interval": "",
            "namespace": "",
            "dimensions": [],
            "metricType": "",
            "time_range": {
              "to": 0,
              "from": 600
            },
            "aggregation": {
              "stat": "SUM",
              "type": "",
              "unit": "By",
              "field": "",
              "value": "jvm_memory_limit",
              "metric": "jvm_memory_limit",
              "metricType": "Sum",
              "temporality": "Cumulative"
            },
            "datasourceId": "kloudmate",
            "responseType": "series"
          }
        ],
        "time_options": {
          "override": false,
          "time_shift": ""
        }
      }
    ],
    "timeRange": "10m",
    "variables": [
      {
        "name": "ServiceName",
        "type": "query",
        "label": "ServiceName",
        "config": {
          "otel": {
            "key": "service_name",
            "dataset": "metrics",
            "filters": [
              {
                "type": "string",
                "field": "jvm_memory_type",
                "value": null,
                "operator": "EXISTS"
              }
            ]
          },
          "source": "cloudwatch",
          "queryType": "otel.values"
        },
        "is_multi": false,
        "description": "",
        "usedInPanels": [
          {
            "id": "lv92wddbvvl",
            "name": "JVM Heap Memory Used"
          },
          {
            "id": "8xw5uq9syng",
            "name": "JVM Memory Limit"
          },
          {
            "id": "ik7qok4opu",
            "name": "JVM GC Duration"
          },
          {
            "id": "465c36rjhb5",
            "name": "Threads Count"
          },
          {
            "id": "oked0o609mq",
            "name": "JVM Classes Loaded"
          },
          {
            "id": "172phe1chqe",
            "name": "HTTP Server Requests"
          },
          {
            "id": "3jftuzrz3pa",
            "name": "JVM Non-Heap Memory Used"
          },
          {
            "id": "5la5pnz1tem",
            "name": "JVM CPU Utlization"
          }
        ],
        "usesVariables": [],
        "show_all_option": false,
        "usedInVariables": []
      }
    ],
    "panel_layouts": [
      {
        "h": 10,
        "i": "lv92wddbvvl",
        "w": 12,
        "x": 12,
        "y": 16,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 6,
        "i": "8xw5uq9syng",
        "w": 5,
        "x": 14,
        "y": 0,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "ik7qok4opu",
        "w": 8,
        "x": 16,
        "y": 26,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "oked0o609mq",
        "w": 8,
        "x": 8,
        "y": 26,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "172phe1chqe",
        "w": 8,
        "x": 0,
        "y": 26,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "3jftuzrz3pa",
        "w": 12,
        "x": 0,
        "y": 16,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 6,
        "i": "5la5pnz1tem",
        "w": 4,
        "x": 0,
        "y": 0,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 6,
        "i": "9m5gu0pq2tv",
        "w": 5,
        "x": 4,
        "y": 0,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 6,
        "i": "08i4lqtn68ea",
        "w": 5,
        "x": 9,
        "y": 0,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "fgz9myzj7oc",
        "w": 12,
        "x": 0,
        "y": 6,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 10,
        "i": "hw3cw0baro",
        "w": 12,
        "x": 12,
        "y": 6,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      },
      {
        "h": 6,
        "i": "02r6sh4khbuq",
        "w": 5,
        "x": 19,
        "y": 0,
        "minH": 1,
        "minW": 1,
        "moved": false,
        "static": false
      }
    ],
    "default_region": "us-east-1"
  },
  "tags": []
}