Created
August 2, 2023 11:47
-
-
Save nuved/179e13e28b7da160496e5d197e4e4b3b to your computer and use it in GitHub Desktop.
grafana-dashboard for jvm services on k8s!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Dashboard for Spring Boot2 Statistics(by micrometer-prometheus).", | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 6756, | |
"graphTooltip": 0, | |
"id": 63, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 54, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Basic Statistics", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 52, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "process_uptime_seconds{application=\"$application\", pod=\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"metric": "", | |
"range": true, | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"title": "Uptime", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 100, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)" | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 70 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 90 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 5, | |
"x": 6, | |
"y": 1 | |
}, | |
"id": 58, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "sum(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",pod=\"$instance\", area=\"heap\"})", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"title": "Heap Used", | |
"type": "gauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
}, | |
{ | |
"options": { | |
"from": -1e+32, | |
"result": { | |
"text": "N/A" | |
}, | |
"to": 0 | |
}, | |
"type": "range" | |
} | |
], | |
"max": 100, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)" | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 70 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 90 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 5, | |
"x": 11, | |
"y": 1 | |
}, | |
"id": 60, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "sum(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",pod=\"$instance\", area=\"nonheap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"title": "Non-Heap Used", | |
"type": "gauge" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 16, | |
"y": 1 | |
}, | |
"hiddenSeries": false, | |
"id": 66, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "process_files_open{application=\"$application\", pod=\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Open Files", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "process_files_max{application=\"$application\", instance=\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Max Files", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Process Open Files", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "locale", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "dateTimeAsIso" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 56, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "process_start_time_seconds{application=\"$application\", pod=\"$instance\"}*1000", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"metric": "", | |
"range": true, | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"title": "Start time", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 7 | |
}, | |
"hiddenSeries": false, | |
"id": 95, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "system_cpu_usage{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "System CPU Usage", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "process_cpu_usage{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Process CPU Usage", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "CPU Usage", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 7 | |
}, | |
"hiddenSeries": false, | |
"id": 96, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "system_load_average_1m{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Load Average [1m]", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "system_cpu_count{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "CPU Core Size", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Load Average", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 14 | |
}, | |
"id": 48, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "JVM Statistics - Memory", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 0, | |
"y": 15 | |
}, | |
"hiddenSeries": false, | |
"id": 85, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": "memory_pool_heap", | |
"repeatDirection": "h", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_used_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Used", | |
"range": true, | |
"refId": "C" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_committed_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Commited", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_max_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Max", | |
"range": true, | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "$memory_pool_heap (heap)", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 0, | |
"y": 31 | |
}, | |
"hiddenSeries": false, | |
"id": 88, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": "memory_pool_nonheap", | |
"repeatDirection": "h", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_used_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Used", | |
"range": true, | |
"refId": "C" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_committed_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Commited", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_memory_max_bytes{pod=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Max", | |
"range": true, | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "$memory_pool_nonheap (non-heap)", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"decimals": 0, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 47 | |
}, | |
"hiddenSeries": false, | |
"id": 50, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_classes_loaded{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Classes Loaded", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Classes Loaded", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "locale", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 47 | |
}, | |
"hiddenSeries": false, | |
"id": 80, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(jvm_classes_unloaded_total{pod=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Classes Unloaded", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Classes Unloaded", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 55 | |
}, | |
"hiddenSeries": false, | |
"id": 82, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_buffer_memory_used_bytes{pod=\"$instance\", application=\"$application\", id=\"direct\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Used Bytes", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\", application=\"$application\", id=\"direct\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Capacity Bytes", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Direct Buffers", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 55 | |
}, | |
"hiddenSeries": false, | |
"id": 83, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_buffer_memory_used_bytes{pod=\"$instance\", application=\"$application\", id=\"mapped\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Used Bytes", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_buffer_total_capacity_bytes{pod=\"$instance\", application=\"$application\", id=\"mapped\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Capacity Bytes", | |
"range": true, | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Mapped Buffers", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 62 | |
}, | |
"hiddenSeries": false, | |
"id": 68, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "jvm_threads_daemon{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Daemon", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "jvm_threads_live{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Live", | |
"refId": "B" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "jvm_threads_peak{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Peak", | |
"refId": "C" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Threads", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 62 | |
}, | |
"hiddenSeries": false, | |
"id": 78, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(jvm_gc_memory_allocated_bytes_total{pod=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "allocated", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "irate(jvm_gc_memory_promoted_bytes_total{instance=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "promoted", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Memory Allocate/Promote", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 70 | |
}, | |
"id": 72, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "JVM Statistics - GC", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 10, | |
"w": 12, | |
"x": 0, | |
"y": 71 | |
}, | |
"hiddenSeries": false, | |
"id": 74, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(jvm_gc_pause_seconds_count{pod=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{action}} [{{cause}}]", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "GC Count", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "locale", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 10, | |
"w": 12, | |
"x": 12, | |
"y": 71 | |
}, | |
"hiddenSeries": false, | |
"id": 76, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(jvm_gc_pause_seconds_sum{pod=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{action}} [{{cause}}]", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "GC Stop the World Duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 81 | |
}, | |
"id": 34, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "HikariCP Statistics", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 4, | |
"x": 0, | |
"y": 82 | |
}, | |
"id": 44, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Connections Size", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 20, | |
"x": 4, | |
"y": 82 | |
}, | |
"hiddenSeries": false, | |
"id": 36, | |
"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", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections_active{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Active", | |
"range": true, | |
"refId": "B" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "hikaricp_connections_idle{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Idle", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "hikaricp_connections_pending{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Pending", | |
"refId": "C" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Connections", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 4, | |
"x": 0, | |
"y": 86 | |
}, | |
"id": 46, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections_timeout_total{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Connection Timeout Count", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 0, | |
"y": 90 | |
}, | |
"hiddenSeries": false, | |
"id": 38, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections_creation_seconds_sum{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Creation Time", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Connection Creation Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 8, | |
"y": 90 | |
}, | |
"hiddenSeries": false, | |
"id": 42, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections_usage_seconds_sum{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Usage Time", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Connection Usage Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 16, | |
"y": 90 | |
}, | |
"hiddenSeries": false, | |
"id": 40, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "hikaricp_connections_acquire_seconds_sum{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{pod=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Acquire Time", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Connection Acquire Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 96 | |
}, | |
"id": 18, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "HTTP Statistics", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 97 | |
}, | |
"hiddenSeries": false, | |
"id": 4, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(http_server_requests_seconds_count{pod=\"$instance\", application=\"$application\", uri!~\".*actuator.*\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{method}} [{{status}}] - {{uri}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Request Count", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 104 | |
}, | |
"hiddenSeries": false, | |
"id": 2, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"max": true, | |
"min": true, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(http_server_requests_seconds_sum{pod=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{pod=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{method}} [{{status}}] - {{uri}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Response Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 111 | |
}, | |
"id": 22, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Tomcat Statistics", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "locale" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 4, | |
"x": 0, | |
"y": 112 | |
}, | |
"id": 28, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "tomcat_global_error_total{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Total Error Count", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"decimals": 0, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 9, | |
"x": 4, | |
"y": 112 | |
}, | |
"hiddenSeries": false, | |
"id": 24, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "tomcat_sessions_active_current{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "active sessions", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Active Sessions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 11, | |
"x": 13, | |
"y": 112 | |
}, | |
"hiddenSeries": false, | |
"id": 26, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(tomcat_global_sent_bytes_total{pod=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Sent Bytes", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "irate(tomcat_global_received_bytes_total{instance=\"$instance\", application=\"$application\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Recieved Bytes", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Sent & Recieved Bytes", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "locale" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 4, | |
"x": 0, | |
"y": 116 | |
}, | |
"id": 32, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "10.0.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "tomcat_threads_config_max{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Thread Config Max", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 13, | |
"x": 0, | |
"y": 119 | |
}, | |
"hiddenSeries": false, | |
"id": 30, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "tomcat_threads_current{pod=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Current thread", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"expr": "tomcat_threads_busy{instance=\"$instance\", application=\"$application\"}", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "Current thread busy", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Threads", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 126 | |
}, | |
"id": 8, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Logback Statistics", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 127 | |
}, | |
"hiddenSeries": false, | |
"id": 6, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(logback_events_total{pod=\"$instance\", application=\"$application\", level=\"info\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "info", | |
"range": true, | |
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "INFO logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 127 | |
}, | |
"hiddenSeries": false, | |
"id": 10, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(logback_events_total{pod=\"$instance\", application=\"$application\", level=\"error\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "error", | |
"range": true, | |
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "ERROR logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 0, | |
"y": 134 | |
}, | |
"hiddenSeries": false, | |
"id": 14, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(logback_events_total{pod=\"$instance\", application=\"$application\", level=\"warn\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "warn", | |
"range": true, | |
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "WARN logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 8, | |
"y": 134 | |
}, | |
"hiddenSeries": false, | |
"id": 16, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(logback_events_total{pod=\"$instance\", application=\"$application\", level=\"debug\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "debug", | |
"range": true, | |
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "DEBUG logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 16, | |
"y": 134 | |
}, | |
"hiddenSeries": false, | |
"id": 20, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": true, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "10.0.1", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"editorMode": "code", | |
"expr": "irate(logback_events_total{pod=\"$instance\", application=\"$application\", level=\"trace\"}[5m])", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "trace", | |
"range": true, | |
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "TRACE logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
} | |
], | |
"refresh": "", | |
"schemaVersion": 38, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "cert", | |
"value": "cert" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(process_uptime_seconds,namespace)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Namespace", | |
"multi": false, | |
"name": "namespace", | |
"options": [], | |
"query": { | |
"query": "label_values(process_uptime_seconds,namespace)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"type": "query" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "api-gateway-58d565657b-mvbtg", | |
"value": "api-gateway-58d565657b-mvbtg" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(jvm_classes_loaded{namespace=\"$namespace\"},pod)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Instance", | |
"multi": false, | |
"name": "instance", | |
"options": [], | |
"query": { | |
"query": "label_values(jvm_classes_loaded{namespace=\"$namespace\"},pod)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"nonheap\"},id)", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Memory Pool (nonheap)", | |
"multi": false, | |
"name": "memory_pool_nonheap", | |
"options": [], | |
"query": { | |
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"nonheap\"},id)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"heap\"},id)", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Memory Pool (heap)", | |
"multi": false, | |
"name": "memory_pool_heap", | |
"options": [], | |
"query": { | |
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", pod=\"$instance\", area=\"heap\"},id)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "HikariPool-1", | |
"value": "HikariPool-1" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(hikaricp_connections{pod=\"$instance\", application=\"$application\"},pool)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "HikariCP-Pool", | |
"multi": false, | |
"name": "hikaricp", | |
"options": [], | |
"query": { | |
"query": "label_values(hikaricp_connections{pod=\"$instance\", application=\"$application\"},pool)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"isNone": true, | |
"selected": false, | |
"text": "None", | |
"value": "" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "prometheus" | |
}, | |
"definition": "label_values(jvm_classes_loaded{pod=\"$instance\"},application)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Application", | |
"multi": false, | |
"name": "application", | |
"options": [], | |
"query": { | |
"query": "label_values(jvm_classes_loaded{pod=\"$instance\"},application)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"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": "", | |
"title": "Spring Boot Statistics", | |
"uid": "fdd0011e-9a69-4849-934e-f30f1a2bb7e2", | |
"version": 11, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment