Last active
January 2, 2019 01:57
-
-
Save lawliet89/30cdc5e33966d9b27daba6d8686acadc to your computer and use it in GitHub Desktop.
Prometheus Dashboards
This file contains hidden or 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": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 14, | |
"iteration": 1546394203564, | |
"links": [], | |
"panels": [ | |
{ | |
"cacheTimeout": null, | |
"colorBackground": true, | |
"colorValue": false, | |
"colors": [ | |
"#d44a3a", | |
"rgba(237, 129, 40, 0.89)", | |
"#299c46" | |
], | |
"datasource": "Prometheus", | |
"decimals": null, | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 3, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 32, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "consul_autopilot_healthy{_server_type=\"consul\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"measurement": "consul.autopilot.healthy", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "last" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": "0,1", | |
"title": "Cluster Health", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "Sad", | |
"value": "0" | |
}, | |
{ | |
"op": "=", | |
"text": "Happy", | |
"value": "1" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "Prometheus", | |
"format": "none", | |
"gauge": { | |
"maxValue": 500, | |
"minValue": 0, | |
"show": true, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 3, | |
"y": 0 | |
}, | |
"id": 10, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "ms", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "consul_raft_leader_lastContact_90_percentile{_server_type=\"consul\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"measurement": "consul.raft.leader.lastContact", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT max(\"upper\") AS \"upper\" FROM \"telegraf\".\"autogen\".\"consul.raft.leader.lastContact\" WHERE $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval) FILL(0)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"upper" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": "200,400", | |
"title": "Leader Last Contact", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 7, | |
"y": 0 | |
}, | |
"id": 16, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "avg(cpu_usage_user{_server_type=\"consul\", host=~\"$host\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"host" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "User", | |
"measurement": "cpu", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT max(\"usage_user\") AS \"user_cpu\", max(\"usage_iowait\") AS \"iowait_cpu\" FROM \"telegraf\".\"autogen\".\"cpu\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND (\"role\" = 'consul-server') AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage_user" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "role", | |
"operator": "=", | |
"value": "consul-server" | |
} | |
] | |
}, | |
{ | |
"expr": "avg(cpu_usage_iowait{_server_type=\"consul\", host=~\"$host\"})", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "IO Wait", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "CPU", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": null, | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 17, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(diskio_read_bytes{host=~\"$host\", _server_type=\"consul\"}[$__interval]) + increase(diskio_write_bytes{host=~\"$host\", _server_type=\"consul\"}[$__interval]))", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"host" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "IO", | |
"measurement": "diskio", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT non_negative_difference(max(\"read_bytes\")) + non_negative_difference(max(\"write_bytes\")) AS \"disk\" FROM \"telegraf\".\"autogen\".\"diskio\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND (\"role\" = 'consul-server') AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"read_bytes" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
}, | |
{ | |
"params": [], | |
"type": "non_negative_difference" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "role", | |
"operator": "=", | |
"value": "consul-server" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Disk I/O", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "decbytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 17, | |
"y": 0 | |
}, | |
"id": 18, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(net_bytes_recv{host=~\"$host\", _server_type=\"consul\"}[$__interval]) + increase(net_bytes_sent{host=~\"$host\", _server_type=\"consul\"}[$__interval]))", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"host" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "IO", | |
"measurement": "net", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT non_negative_difference(max(\"bytes_recv\")) + non_negative_difference(max(\"bytes_sent\")) AS \"bytes\" FROM \"telegraf\".\"autogen\".\"net\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND (\"role\" = 'consul-server') AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"bytes_recv" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
}, | |
{ | |
"params": [], | |
"type": "non_negative_difference" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "role", | |
"operator": "=", | |
"value": "consul-server" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Network I/O", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "decbytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "Prometheus", | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 3, | |
"x": 0, | |
"y": 5 | |
}, | |
"id": 12, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "count", | |
"targets": [ | |
{ | |
"expr": "count(system_uptime{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "Consul Server", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(tot) FROM (SELECT max(\"uptime\") AS \"tot\" FROM \"telegraf\".\"autogen\".\"system\" WHERE $timeFilter AND \"role\"='consul-server' GROUP BY \"host\")", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "Server Count", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "max" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 14, | |
"x": 3, | |
"y": 5 | |
}, | |
"id": 4, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(consul_rpc_request{host=~\"$host\", _server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "RPC Requests", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") AS \"count\" FROM \"telegraf\".\"autogen\".\"consul.rpc.request\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval), \"host\" FILL(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "RPC Requests", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "Count", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 17, | |
"y": 5 | |
}, | |
"id": 8, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/.*sys_bytes.*/", | |
"dashes": true, | |
"fill": 0 | |
}, | |
{ | |
"alias": "/.*total_bytes.*/", | |
"fill": 0 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(consul_runtime_alloc_bytes{_server_type=\"consul\", host=~\"$host\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "Allocated", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") AS \"alloc_bytes\" FROM \"telegraf\".\"autogen\".\"consul.runtime.alloc_bytes\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval), \"host\" FILL(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"expr": "sum(consul_runtime_sys_bytes{_server_type=\"consul\", host=~\"$host\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "System Memory", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") AS \"sys_bytes\" FROM \"telegraf\".\"autogen\".\"consul.runtime.sys_bytes\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval), \"host\" FILL(null)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"expr": "sum(mem_total{_server_type=\"consul\", host=~\"$host\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"host" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "Total Memory", | |
"measurement": "mem", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"total\") AS \"total_bytes\" FROM \"telegraf\".\"autogen\".\"mem\" WHERE (\"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND \"role\" = 'consul-server') AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"total" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=~", | |
"value": "/^$host$/" | |
}, | |
{ | |
"condition": "AND", | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
}, | |
{ | |
"condition": "AND", | |
"key": "role", | |
"operator": "=", | |
"value": "consul-server" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Runtime Memory", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "decbytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": true, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 9, | |
"x": 0, | |
"y": 10 | |
}, | |
"id": 6, | |
"interval": "1m", | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": false, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "consul.raft.commitTime.max", | |
"bars": false, | |
"lines": true, | |
"yaxis": 2 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(consul_raft_apply{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "Raft Apply", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") AS \"count\" FROM \"telegraf\".\"autogen\".\"consul.raft.apply\" WHERE \"datacenter\" =~ /^$dc$/ AND $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval) FILL(0)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "", | |
"expr": "sum(consul_raft_barrier{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "Raft Blocking Barrier", | |
"measurement": "consul.raft.commitTime", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT max(\"value\") AS \"commit_time_ms\" FROM \"telegraf\".\"autogen\".\"consul.raft.commitTime\" WHERE (\"role\" = 'consul-server') AND $timeFilter GROUP BY time($__interval) fill(0)", | |
"rawQuery": false, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"90_percentile" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "role", | |
"operator": "=", | |
"value": "consul-server" | |
}, | |
{ | |
"condition": "AND", | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Raft Transactions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "Count", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": "Time", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": true, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 8, | |
"x": 9, | |
"y": 10 | |
}, | |
"id": 14, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": false, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "consul_raft_commitTime_90_percentile{_server_type=\"consul\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "90th Percentile", | |
"measurement": "consul.txn.apply", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT mean(\"mean\") AS \"mean\", max(\"90_percentile\") AS \"90_percentile\" FROM \"telegraf\".\"autogen\".\"consul.txn.apply\" WHERE $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval) FILL(null)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"mean" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
}, | |
{ | |
"expr": "consul_raft_commitTime_mean{_server_type=\"consul\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "Mean", | |
"measurement": "consul.txn.apply", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT mean(\"mean\") AS \"mean\", max(\"90_percentile\") AS \"90_percentile\" FROM \"telegraf\".\"autogen\".\"consul.txn.apply\" WHERE $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval) FILL(null)", | |
"rawQuery": false, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"upper" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
}, | |
{ | |
"expr": "consul_raft_commitTime_upper{_server_type=\"consul\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "Max", | |
"measurement": "consul.txn.apply", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT mean(\"mean\") AS \"mean\", max(\"90_percentile\") AS \"90_percentile\" FROM \"telegraf\".\"autogen\".\"consul.txn.apply\" WHERE $timeFilter AND \"role\"='consul-server' GROUP BY time($__interval) FILL(null)", | |
"rawQuery": false, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"lower" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Transaction Commit Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"alert": { | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [ | |
2000000000 | |
], | |
"type": "gt" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"5m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "max" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "alerting", | |
"frequency": "60s", | |
"handler": 1, | |
"message": "Yo, check the Consul servers!", | |
"name": "GC Time warning", | |
"noDataState": "no_data", | |
"notifications": [] | |
}, | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 17, | |
"y": 10 | |
}, | |
"id": 19, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "max(consul_runtime_gc_pause_ns_upper{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT last(\"upper\")/1000000 AS \"milliseconds\" FROM \"telegraf\".\"autogen\".\"consul.runtime.gc_pause_ns\" WHERE \"host\" =~ /^$host$/ AND \"datacenter\" =~ /^$dc$/ AND $timeFilter AND \"role\"='consul-server' GROUP BY host, time($__interval) FILL(0)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"upper" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "last" | |
}, | |
{ | |
"params": [ | |
" / 1000000" | |
], | |
"type": "math" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "gt", | |
"value": 2000000000 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "GC Time", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ns", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": true, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 6, | |
"x": 0, | |
"y": 15 | |
}, | |
"id": 21, | |
"interval": "", | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": false, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "consul.kvs.apply.time_ms", | |
"bars": false, | |
"fill": 0, | |
"lines": true, | |
"yaxis": 2 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(consul_kvs_apply_count{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "Count", | |
"measurement": "consul.kvs.apply", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT mean(\"count\") AS count FROM \"telegraf\".\"autogen\".\"consul.kvs.apply\" WHERE (\"datacenter\" =~ /^$dc$/) AND $timeFilter GROUP BY time($__interval) fill(0)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"count" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
}, | |
{ | |
"expr": "avg(consul_kvs_apply_mean{_server_type=\"consul\"})", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "Time to apply (ms)", | |
"measurement": "consul.kvs.apply", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"query": "SELECT mean(\"mean\") AS time_ms FROM \"autogen\".\"consul.kvs.apply\" WHERE (\"datacenter\" =~ /^$dc$/) AND $timeFilter GROUP BY time($__interval) fill(0)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"mean" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "KV Writes", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "count", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "ms", | |
"label": "Time (ms)", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 6, | |
"x": 6, | |
"y": 15 | |
}, | |
"id": 28, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "consul_client_rpc", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"host" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"legendFormat": "{{_server_type}}: {{host}}", | |
"measurement": "consul.client.rpc", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "RPC Requests By Client", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "Count", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "Prometheus", | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 12, | |
"y": 15 | |
}, | |
"id": 26, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "consul_raft_state_candidate", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"measurement": "consul.raft.state.candidate", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": "1,5", | |
"title": "Election Attempts", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "total" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "Prometheus", | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 5, | |
"x": 17, | |
"y": 15 | |
}, | |
"id": 25, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "consul_raft_state_leader", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"measurement": "consul.raft.state.leader", | |
"orderByTime": "ASC", | |
"policy": "autogen", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "datacenter", | |
"operator": "=~", | |
"value": "/^$dc$/" | |
} | |
] | |
} | |
], | |
"thresholds": "1,5", | |
"title": "Leadership Changes", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "total" | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Host", | |
"multi": false, | |
"name": "host", | |
"options": [], | |
"query": "label_values(cpu_usage_idle{_server_type=\"consul\"}, host)", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-6h", | |
"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": "Consul Cluster Health", | |
"uid": "ESJW3aRmz", | |
"version": 19 | |
} |
This file contains hidden or 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": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Nomad built-in telemetry plus github.com/alexebird/nomad-exporter metrics", | |
"editable": true, | |
"gnetId": 3800, | |
"graphTooltip": 0, | |
"id": 11, | |
"links": [], | |
"panels": [ | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 19, | |
"panels": [], | |
"repeat": null, | |
"title": "Cluster Overview", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 8, | |
"w": 6, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 13, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "dead", | |
"color": "#2F575E" | |
}, | |
{ | |
"alias": "running", | |
"color": "#E0F9D7" | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_exporter_jobs{type=~\"$job_type\"}) by (status)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ status }}", | |
"refId": "A", | |
"step": 30 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Job Status", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 8, | |
"w": 6, | |
"x": 6, | |
"y": 1 | |
}, | |
"id": 16, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "running", | |
"color": "#B7DBAB" | |
}, | |
{ | |
"alias": "complete", | |
"color": "#82B5D8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_exporter_allocs{job_type=~\"$job_type\"}) by (client_status)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ client_status }}", | |
"refId": "A", | |
"step": 30 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Alloc Status", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 8, | |
"w": 6, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 18, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/running.+/", | |
"color": "#629E51" | |
}, | |
{ | |
"alias": "/dead.+failed=true/", | |
"color": "#BF1B00" | |
}, | |
{ | |
"alias": "/dead.+failed=false/", | |
"color": "#447EBC" | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_exporter_tasks{job_type=~\"$job_type\",failed=\"false\"}) by (state,failed)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "{{ state }}, failed={{ failed }}", | |
"refId": "A", | |
"step": 30 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Task State", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "tasks", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"complete": "#705DA0" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 8, | |
"w": 6, | |
"x": 18, | |
"y": 1 | |
}, | |
"id": 17, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_exporter_evals) by (status)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ status }}", | |
"refId": "A", | |
"step": 30 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Eval Status", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 9 | |
}, | |
"id": 20, | |
"panels": [], | |
"repeat": null, | |
"title": "Allocations", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"blocked": "#E0752D", | |
"pending": "#6ED0E0", | |
"running": "#508642", | |
"terminal": "#0A437C" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 10 | |
}, | |
"height": "", | |
"id": 1, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_client_allocations_blocked)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "blocked", | |
"refId": "A", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocations_migrating)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "migrating", | |
"refId": "B", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocations_pending)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "pending", | |
"refId": "C", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocations_running)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "running", | |
"refId": "D", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocations_terminal)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "terminal", | |
"refId": "E", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Allocation Status", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "allocations", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 19 | |
}, | |
"id": 21, | |
"panels": [], | |
"repeat": null, | |
"title": "Memory", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"allocated": "#BF1B00", | |
"reserved": "#58140C", | |
"unallocated": "#1F78C1" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 20 | |
}, | |
"height": "", | |
"id": 3, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "allocated", | |
"color": "#BF1B00" | |
}, | |
{ | |
"alias": "unallocated", | |
"color": "#1F78C1" | |
}, | |
{ | |
"alias": "utilization", | |
"color": "#EAB839", | |
"fill": 0, | |
"linewidth": 2, | |
"stack": false, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_client_allocs_memory_rss/ 1024 / 1024)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "utilization", | |
"refId": "B", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocated_memory)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "allocated", | |
"refId": "A", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_unallocated_memory)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "unallocated", | |
"refId": "C", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Allocation Memory", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "decmbytes", | |
"label": "memory", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "decmbytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "-512", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 20 | |
}, | |
"height": "", | |
"id": 6, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "used", | |
"color": "#705DA0" | |
}, | |
{ | |
"alias": "available", | |
"color": "#65C5DB" | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_client_host_memory_total) - sum(nomad_client_host_memory_available)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"refId": "B", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_host_memory_available)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "available", | |
"refId": "A", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Host Memory", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "decbytes", | |
"label": "memory", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 29 | |
}, | |
"id": 25, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "nomad_client_host_memory_used/nomad_client_host_memory_total", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Client Utilisation", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "percentunit", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 38 | |
}, | |
"id": 22, | |
"panels": [], | |
"repeat": null, | |
"title": "CPU", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"allocated": "#BF1B00", | |
"host actual": "#DEDAF7", | |
"host utilization normalized": "#508642", | |
"nomad reserved": "#58140C", | |
"unallocated": "#1F78C1" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 39 | |
}, | |
"height": "", | |
"id": 2, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "utilization", | |
"color": "#E5AC0E", | |
"fill": 0, | |
"linewidth": 2, | |
"stack": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_client_allocated_cpu * 1000 * 1000)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "allocated", | |
"refId": "A", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_unallocated_cpu * 1000 * 1000)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "unallocated", | |
"refId": "C", | |
"step": 20 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocs_cpu_total_percent / 100)\n * (\n sum(nomad_client_allocated_cpu * 1000 * 1000) +\n sum(nomad_client_unallocated_cpu * 1000 * 1000)\n )", | |
"format": "time_series", | |
"hide": true, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "utilization", | |
"refId": "F", | |
"step": 2 | |
}, | |
{ | |
"expr": "sum(nomad_client_allocs_cpu_total_percent)", | |
"format": "time_series", | |
"hide": true, | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"refId": "B", | |
"step": 2 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Allocation CPU", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "hertz", | |
"label": "allocated cpu Hz", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": "", | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"allocated": "#BF1B00", | |
"host actual": "#DEDAF7", | |
"host utilization normalized": "#508642", | |
"idle": "#052B51", | |
"nomad reserved": "#58140C", | |
"other": "#DEDAF7", | |
"system": "#BA43A9", | |
"unallocated": "#1F78C1", | |
"user": "#F9934E" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 39 | |
}, | |
"height": "", | |
"id": 5, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "allocated", | |
"color": "#EAB839", | |
"fill": 0, | |
"linewidth": 2, | |
"stack": false, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "avg(nomad_client_host_cpu_system)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "system", | |
"refId": "B", | |
"step": 20 | |
}, | |
{ | |
"expr": "avg(nomad_client_host_cpu_user)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "user", | |
"refId": "A", | |
"step": 20 | |
}, | |
{ | |
"expr": "100 - (avg(nomad_client_host_cpu_user) + avg(nomad_client_host_cpu_system) + avg(nomad_client_host_cpu_idle))", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "other", | |
"refId": "G", | |
"step": 20 | |
}, | |
{ | |
"expr": "avg(nomad_client_host_cpu_idle)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "idle", | |
"refId": "C", | |
"step": 20 | |
}, | |
{ | |
"expr": "100 * (sum(nomad_client_allocated_cpu * 1000 * 1000) / (sum(nomad_client_allocated_cpu * 1000 * 1000) + sum(nomad_client_unallocated_cpu * 1000 * 1000)))", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "allocated", | |
"refId": "D", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Host CPU", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": "host cpu", | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"throttled time sum": "#BF1B00", | |
"{}": "#BF1B00" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 6, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 48 | |
}, | |
"id": 10, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(nomad_client_allocs_cpu_throttled_time)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "throttled time sum", | |
"refId": "A", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Throttle", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "throttle time", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 57 | |
}, | |
"id": 23, | |
"panels": [], | |
"repeat": null, | |
"title": "Disk", | |
"type": "row" | |
}, | |
{ | |
"alert": { | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [ | |
75 | |
], | |
"type": "gt" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"1m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "last" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "keep_state", | |
"frequency": "60s", | |
"handler": 1, | |
"message": "Nomad Clients disk space > 75%", | |
"name": "Host Disk Usage alert", | |
"noDataState": "no_data", | |
"notifications": [ | |
{ | |
"id": 1 | |
} | |
] | |
}, | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 58 | |
}, | |
"id": 7, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"sort": "current", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "nomad_client_host_disk_used_percent{disk!~\"/dev/loop.+\"}", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ instance }} - {{ disk }}", | |
"refId": "A", | |
"step": 20 | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "gt", | |
"value": 75 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Host Disk Usage", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": "used disk", | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 58 | |
}, | |
"id": 8, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"sort": "current", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "nomad_client_host_disk_inodes_percent{disk!~\"/dev/loop.+\"}", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ instance }} - {{ disk }}", | |
"refId": "A", | |
"step": 20 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Host inode Usage", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": "used inodes", | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"refresh": "10s", | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [ | |
"nomad" | |
], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-3h", | |
"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": "Nomad", | |
"uid": "LK6wtdLiz", | |
"version": 15 | |
} |
This file contains hidden or 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": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"limit": 100, | |
"name": "Annotations & Alerts", | |
"showIn": 0, | |
"type": "dashboard" | |
}, | |
{ | |
"datasource": "Prometheus", | |
"enable": true, | |
"expr": "resets(process_uptime_seconds{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]) > 0", | |
"iconColor": "rgba(255, 96, 96, 1)", | |
"name": "Restart Detection", | |
"showIn": 0, | |
"step": "1m", | |
"tagKeys": "restart-tag", | |
"textFormat": "uptime reset", | |
"titleFormat": "Restart" | |
} | |
] | |
}, | |
"description": "Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)", | |
"editable": true, | |
"gnetId": 4701, | |
"graphTooltip": 1, | |
"id": 13, | |
"iteration": 1546394133655, | |
"links": [], | |
"panels": [ | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 125, | |
"panels": [], | |
"repeat": null, | |
"title": "Quick Facts", | |
"type": "row" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "Prometheus", | |
"decimals": 1, | |
"editable": true, | |
"error": false, | |
"format": "s", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 0, | |
"y": 1 | |
}, | |
"height": "", | |
"id": 63, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "70%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "avg(process_uptime_seconds{app=\"$application\", instance=~\"$instance\", environment=\"$environment\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"metric": "", | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"thresholds": "", | |
"title": "(Mean) Uptime", | |
"transparent": false, | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "Prometheus", | |
"decimals": 2, | |
"editable": true, | |
"error": false, | |
"format": "percent", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 6, | |
"y": 1 | |
}, | |
"id": 65, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "70%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" ,instance=~\"$instance\", area=\"heap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"thresholds": "70,90", | |
"title": "Heap used", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "Prometheus", | |
"decimals": 2, | |
"editable": true, | |
"error": false, | |
"format": "percent", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 75, | |
"interval": null, | |
"links": [], | |
"mappingType": 2, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "70%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
}, | |
{ | |
"from": "-99999999999999999999999999999999", | |
"text": "N/A", | |
"to": "0" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" ,instance=~\"$instance\", area=\"nonheap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 14400 | |
} | |
], | |
"thresholds": "70,90", | |
"title": "Non-Heap used", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
}, | |
{ | |
"op": "=", | |
"text": "x", | |
"value": "" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 126, | |
"panels": [], | |
"repeat": null, | |
"title": "I/O Overview", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 5 | |
}, | |
"id": 111, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(http_server_requests_seconds_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]))", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "HTTP", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP": "#890f02", | |
"HTTP - 5xx": "#bf1b00" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 5 | |
}, | |
"id": 112, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(http_server_requests_seconds_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", status=~\"5..\"}[1m]))", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "HTTP - 5xx", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Errors", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 12, | |
"y": 5 | |
}, | |
"id": 113, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(http_server_requests_seconds_sum{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", status!~\"5..\"}[1m]))/sum(rate(http_server_requests_seconds_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", status!~\"5..\"}[1m]))", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "HTTP - AVG", | |
"refId": "A" | |
}, | |
{ | |
"expr": "max(http_server_requests_seconds_max{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", status!~\"5..\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "HTTP - MAX", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"description": "", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 18, | |
"y": 5 | |
}, | |
"id": 119, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(tomcat_threads_busy{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or tomcat_threads_busy_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "TOMCAT - BSY", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(tomcat_threads_current{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or tomcat_threads_current_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "TOMCAT - CUR", | |
"refId": "B" | |
}, | |
{ | |
"expr": "sum(tomcat_threads_config_max{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or tomcat_threads_config_max_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "TOMCAT - MAX", | |
"refId": "C" | |
}, | |
{ | |
"expr": "sum(jetty_threads_busy{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "JETTY - BSY", | |
"refId": "D" | |
}, | |
{ | |
"expr": "sum(jetty_threads_current{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "JETTY - CUR", | |
"refId": "E" | |
}, | |
{ | |
"expr": "sum(jetty_threads_config_max{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "JETTY - MAX", | |
"refId": "F" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Utilisation", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 127, | |
"panels": [], | |
"repeat": null, | |
"title": "JVM Memory", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 24, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"heap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"heap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "committed", | |
"refId": "B", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"heap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"refId": "C", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "JVM Heap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 13 | |
}, | |
"id": 25, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"nonheap\"})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"nonheap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "committed", | |
"refId": "B", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", area=\"nonheap\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"refId": "C", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "JVM Non-Heap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 12, | |
"y": 13 | |
}, | |
"id": 26, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "committed", | |
"refId": "B", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"refId": "C", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_vss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"hide": true, | |
"intervalFactor": 2, | |
"legendFormat": "vss", | |
"metric": "", | |
"refId": "D", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_rss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "rss", | |
"refId": "E", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_pss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "pss", | |
"refId": "F", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_swap_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "swap", | |
"refId": "G", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_swappss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "swappss", | |
"refId": "H", | |
"step": 2400 | |
}, | |
{ | |
"expr": "process_memory_pss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} + process_memory_swap_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "phys (pss+swap)", | |
"refId": "I", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "JVM Total", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 18, | |
"y": 13 | |
}, | |
"id": 86, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "(process_memory_pss_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} + process_memory_swap_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} - on(app,environment,instance) sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}) by(app,environment,instance)) >= 0", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "native", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "JVM Native Memory", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 20 | |
}, | |
"id": 128, | |
"panels": [], | |
"repeat": null, | |
"title": "JVM Misc", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 21 | |
}, | |
"id": 106, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(system_cpu_usage{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "system", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(process_cpu_usage{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "process", | |
"refId": "B" | |
}, | |
{ | |
"expr": "sum(avg_over_time(process_cpu_usage{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1h]))", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "process-1h", | |
"refId": "C" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "CPU", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 1, | |
"format": "percentunit", | |
"label": "", | |
"logBase": 1, | |
"max": "1", | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 21 | |
}, | |
"id": 93, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(system_load_average_1m{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "system-1m", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(system_cpu_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "cpu", | |
"refId": "C" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Load", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 1, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 12, | |
"y": 21 | |
}, | |
"id": 32, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_threads_live{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or jvm_threads_live_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "live", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_threads_daemon{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or jvm_threads_daemon_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "daemon", | |
"metric": "", | |
"refId": "B", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_threads_peak{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or jvm_threads_peak_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "peak", | |
"refId": "C", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(process_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "process", | |
"refId": "D", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Threads", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"blocked": "#bf1b00", | |
"new": "#fce2de", | |
"runnable": "#7eb26d", | |
"terminated": "#511749", | |
"timed-waiting": "#c15c17", | |
"waiting": "#eab839" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 18, | |
"y": 21 | |
}, | |
"id": 124, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "jvm_threads_states_threads{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "{{state}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Thread States", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"debug": "#1F78C1", | |
"error": "#BF1B00", | |
"info": "#508642", | |
"trace": "#6ED0E0", | |
"warn": "#EAB839" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 18, | |
"x": 0, | |
"y": 28 | |
}, | |
"height": "", | |
"id": 91, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": true, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "error", | |
"yaxis": 1 | |
}, | |
{ | |
"alias": "warn", | |
"yaxis": 1 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(logback_events_total{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m])) by (level)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{level}}", | |
"metric": "", | |
"refId": "A", | |
"step": 1200 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Log Events (1m)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 18, | |
"y": 28 | |
}, | |
"id": 61, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(process_open_fds{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "open", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(process_max_fds{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "B", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(process_files_open{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or process_files_open_files{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "open", | |
"refId": "C" | |
}, | |
{ | |
"expr": "sum(process_files_max{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or process_files_max_files{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"refId": "D" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "File Descriptors", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 10, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 35 | |
}, | |
"id": 129, | |
"panels": [], | |
"repeat": "persistence_counts", | |
"title": "JVM Memory Pools (Heap)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 0, | |
"y": 36 | |
}, | |
"id": 3, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": "jvm_memory_pool_heap", | |
"scopedVars": { | |
"jvm_memory_pool_heap": { | |
"selected": false, | |
"text": "Eden Space", | |
"value": "Eden Space" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_heap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 8, | |
"y": 36 | |
}, | |
"id": 134, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"repeatIteration": 1546394133655, | |
"repeatPanelId": 3, | |
"scopedVars": { | |
"jvm_memory_pool_heap": { | |
"selected": false, | |
"text": "Survivor Space", | |
"value": "Survivor Space" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_heap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 16, | |
"y": 36 | |
}, | |
"id": 135, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"repeatIteration": 1546394133655, | |
"repeatPanelId": 3, | |
"scopedVars": { | |
"jvm_memory_pool_heap": { | |
"selected": false, | |
"text": "Tenured Gen", | |
"value": "Tenured Gen" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_heap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_heap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 43 | |
}, | |
"id": 130, | |
"panels": [], | |
"repeat": null, | |
"title": "JVM Memory Pools (Non-Heap)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 0, | |
"y": 44 | |
}, | |
"id": 78, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": "jvm_memory_pool_nonheap", | |
"scopedVars": { | |
"jvm_memory_pool_nonheap": { | |
"selected": false, | |
"text": "Metaspace", | |
"value": "Metaspace" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_nonheap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 8, | |
"y": 44 | |
}, | |
"id": 136, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"repeatIteration": 1546394133655, | |
"repeatPanelId": 78, | |
"scopedVars": { | |
"jvm_memory_pool_nonheap": { | |
"selected": false, | |
"text": "Compressed Class Space", | |
"value": "Compressed Class Space" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_nonheap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 16, | |
"y": 44 | |
}, | |
"id": 137, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"minSpan": 8, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"repeatIteration": 1546394133655, | |
"repeatPanelId": 78, | |
"scopedVars": { | |
"jvm_memory_pool_nonheap": { | |
"selected": false, | |
"text": "Code Cache", | |
"value": "Code Cache" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_committed_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "commited", | |
"metric": "", | |
"refId": "B", | |
"step": 1800 | |
}, | |
{ | |
"expr": "sum(jvm_memory_max_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"$jvm_memory_pool_nonheap\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "max", | |
"metric": "", | |
"refId": "C", | |
"step": 1800 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "$jvm_memory_pool_nonheap", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"mbytes", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 51 | |
}, | |
"id": 131, | |
"panels": [], | |
"repeat": null, | |
"title": "Garbage Collection", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 0, | |
"y": 52 | |
}, | |
"id": 98, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(jvm_gc_pause_seconds_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]))", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 2, | |
"legendFormat": "{{action}} ({{cause}})", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Collections", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 8, | |
"y": 52 | |
}, | |
"id": 101, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(jvm_gc_pause_seconds_sum{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m])/rate(jvm_gc_pause_seconds_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]))", | |
"format": "time_series", | |
"hide": false, | |
"instant": false, | |
"intervalFactor": 1, | |
"legendFormat": "avg {{action}} ({{cause}})", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(jvm_gc_pause_seconds_max{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"hide": false, | |
"instant": false, | |
"intervalFactor": 1, | |
"legendFormat": "max {{action}} ({{cause}})", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Pause Durations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 16, | |
"y": 52 | |
}, | |
"id": 99, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate(jvm_gc_memory_allocated_bytes_total{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "allocated", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(rate(jvm_gc_memory_promoted_bytes_total{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"}[1m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "promoted", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Allocated/Promoted", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 59 | |
}, | |
"id": 132, | |
"panels": [], | |
"repeat": null, | |
"title": "Classloading", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 60 | |
}, | |
"id": 37, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_classes_loaded{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"} or jvm_classes_loaded_classes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "loaded", | |
"metric": "", | |
"refId": "A", | |
"step": 1200 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Classes loaded", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 60 | |
}, | |
"id": 38, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(delta(jvm_classes_loaded{app=\"$application\", environment=\"$environment\" ,instance=~\"$instance\"}[5m]) or delta(jvm_classes_loaded_classes{app=\"$application\", environment=\"$environment\" ,instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "delta", | |
"metric": "", | |
"refId": "A", | |
"step": 1200 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Class delta (5m)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"ops", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 67 | |
}, | |
"id": 133, | |
"panels": [], | |
"repeat": null, | |
"title": "Buffer Pools", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 68 | |
}, | |
"id": 33, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_buffer_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"direct\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_buffer_total_capacity_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"direct\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "capacity", | |
"metric": "", | |
"refId": "B", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Direct Buffers", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 68 | |
}, | |
"id": 83, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_buffer_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"direct\"} or jvm_buffer_count_buffers{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"direct\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "count", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Direct Buffers", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 12, | |
"y": 68 | |
}, | |
"id": 85, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_buffer_memory_used_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"mapped\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
}, | |
{ | |
"expr": "sum(jvm_buffer_total_capacity_bytes{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"mapped\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "capacity", | |
"metric": "", | |
"refId": "B", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Mapped Buffers", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"leftLogBase": 1, | |
"leftMax": null, | |
"leftMin": null, | |
"rightLogBase": 1, | |
"rightMax": null, | |
"rightMin": null | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 18, | |
"y": 68 | |
}, | |
"id": 84, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(jvm_buffer_count{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"mapped\"} or jvm_buffer_count_buffers{app=\"$application\", environment=\"$environment\" , instance=~\"$instance\", id=\"mapped\"})", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "count", | |
"metric": "", | |
"refId": "A", | |
"step": 2400 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Mapped Buffers", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"x-axis": true, | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"y-axis": true, | |
"y_formats": [ | |
"short", | |
"short" | |
], | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"refresh": "30s", | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": { | |
"text": "backend", | |
"value": "backend" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Application", | |
"multi": false, | |
"name": "application", | |
"options": [], | |
"query": "label_values(app)", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allFormat": "glob", | |
"allValue": ".*", | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Instance", | |
"multi": false, | |
"multiFormat": "glob", | |
"name": "instance", | |
"options": [], | |
"query": "label_values(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\"}, instance)", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allFormat": "glob", | |
"allValue": null, | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": true, | |
"label": "JVM Memory Pools Heap", | |
"multi": false, | |
"multiFormat": "glob", | |
"name": "jvm_memory_pool_heap", | |
"options": [], | |
"query": "label_values(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\", instance=~\"$instance\", area=\"heap\"},id)", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allFormat": "glob", | |
"allValue": null, | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": true, | |
"label": "JVM Memory Pools Non-Heap", | |
"multi": false, | |
"multiFormat": "glob", | |
"name": "jvm_memory_pool_nonheap", | |
"options": [], | |
"query": "label_values(jvm_memory_used_bytes{app=\"$application\", environment=\"$environment\", instance=~\"$instance\", area=\"nonheap\"},id)", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 2, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"text": "qa", | |
"value": "qa" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Environment", | |
"multi": false, | |
"name": "environment", | |
"options": [], | |
"query": "label_values(environment)", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-24h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"now": true, | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "JVM (Micrometer)", | |
"uid": "jvm", | |
"version": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment