<- Back to Templates
JVM Metrics
By KloudMate
The JVM dashboard provides comprehensive visibility into Java application performance and runtime behavior like memory, CPU, threads and I/O by integrating with OpenTelemetry (Otel).
Template JSON
{
"name": "JVM Metrics",
"description": "",
"data": {
"tz": "local",
"panels": [
{
"id": "lv92wddbvvl",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 3
}
},
"title": "Memory Used",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "bytes",
"field": "",
"value": "jvm_memory_used",
"metric": "jvm_memory_used",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "3d4x7qcizpc",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 3
}
},
"title": "Process Runtime Memory Usage",
"panelType": "TimeSeries",
"timeRange": "3h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "By",
"field": "",
"value": "process_runtime_jvm_memory_usage",
"metric": "process_runtime_jvm_memory_usage",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "8xw5uq9syng",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 3
}
},
"title": "Memory Usage Limit",
"panelType": "TimeSeries",
"timeRange": "12h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "bytes",
"field": "",
"value": "jvm_memory_max",
"metric": "jvm_memory_max",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "ik7qok4opu",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "duration",
"decimals": 3,
"multiplyBy": 1000
}
},
"title": "JVM GC Pause ",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "s",
"field": "",
"value": "jvm_gc_pause_sum",
"metric": "jvm_gc_pause_sum",
"metricType": "Histogram",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "465c36rjhb5",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "threads",
"decimals": 3
}
},
"title": "Threads Live",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "threads",
"field": "",
"value": "jvm_threads_live",
"metric": "jvm_threads_live",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "5cvz0k0cxjw",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "percentage",
"decimals": 3
}
},
"title": "Process Runtime CPU Utilization",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "1",
"field": "",
"value": "process_runtime_jvm_cpu_utilization",
"metric": "process_runtime_jvm_cpu_utilization",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "oked0o609mq",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "classes",
"decimals": 3
}
},
"title": "JVM Classes Loaded",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "classes",
"field": "",
"value": "jvm_classes_loaded",
"metric": "jvm_classes_loaded",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "26vb0jhbill",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "duration",
"decimals": 3,
"multiplyBy": 1000
}
},
"title": "Process Uptime",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [
{
"type": "root",
"field": "serviceName"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "seconds",
"field": "",
"value": "process_uptime",
"metric": "process_uptime",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "eb40sdixqmr",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"decimals": 3
}
},
"title": "Requests ",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "table",
"values": [
{
"label": "Total",
"value": "total"
}
]
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"columns": [],
"dataset": "traces",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "COUNT",
"type": "number",
"field": "status.code",
"value": null
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "172phe1chqe",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "duration",
"decimals": 3,
"multiplyBy": 1000
}
},
"title": "HTTP Server Requests",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "s",
"field": "",
"value": "http_server_requests_sum",
"metric": "http_server_requests_sum",
"metricType": "Histogram",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "h8p7rhkpxyc",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number"
}
},
"title": "Latency",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"columns": [],
"dataset": "traces",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "root",
"field": "duration",
"value": null
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "muim0qurslq",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{connections}",
"decimals": 3
}
},
"title": "DB Client Connection Usage",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{connections}",
"field": "",
"value": "db_client_connections_usage",
"metric": "db_client_connections_usage",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "a6bfad92c9a",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "unformatted",
"decimals": 3
}
},
"STATS": {},
"title": "JDBC Connections",
"panelType": "STATS",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "MAX",
"type": "",
"unit": "",
"field": "",
"value": "jdbc_connections_max",
"metric": "jdbc_connections_max",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "3tn301fgv93",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "duration",
"decimals": 3
}
},
"title": "DB Client Connection Wait Time",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "ms",
"field": "",
"value": "db_client_connections_wait_time_sum",
"metric": "db_client_connections_wait_time_sum",
"metricType": "Histogram",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
}
],
"timeRange": "1d",
"panel_layouts": [
{
"h": 2,
"i": "lv92wddbvvl",
"w": 4,
"x": 0,
"y": 0,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "3d4x7qcizpc",
"w": 4,
"x": 8,
"y": 2,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "8xw5uq9syng",
"w": 4,
"x": 4,
"y": 0,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "ik7qok4opu",
"w": 4,
"x": 0,
"y": 2,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "465c36rjhb5",
"w": 4,
"x": 4,
"y": 2,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "5cvz0k0cxjw",
"w": 4,
"x": 8,
"y": 0,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "oked0o609mq",
"w": 4,
"x": 0,
"y": 4,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "26vb0jhbill",
"w": 4,
"x": 4,
"y": 4,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "eb40sdixqmr",
"w": 4,
"x": 8,
"y": 4,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "172phe1chqe",
"w": 4,
"x": 0,
"y": 6,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "h8p7rhkpxyc",
"w": 4,
"x": 4,
"y": 6,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "muim0qurslq",
"w": 4,
"x": 8,
"y": 6,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "a6bfad92c9a",
"w": 4,
"x": 0,
"y": 8,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
},
{
"h": 2,
"i": "3tn301fgv93",
"w": 4,
"x": 4,
"y": 8,
"minH": 1,
"minW": 2,
"moved": false,
"static": false
}
],
"default_region": "us-east-1"
},
"tags": []
}