Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashutoshmeher-r3/0d537290e4d8c95ba1afbe298e986ab1 to your computer and use it in GitHub Desktop.
Save ashutoshmeher-r3/0d537290e4d8c95ba1afbe298e986ab1 to your computer and use it in GitHub Desktop.
{
"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": 1,
"links": [],
"panels": [
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#56A64B",
"#E02F44",
"#E02F44"
],
"datasource": "Prometheus",
"description": "It indicates Hight CPU Utilization if the CPU utilization crosses 90% over an average of 5 minute period.",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 0
},
"id": 42,
"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": "50%",
"rangeMaps": [
{
"from": "0.0",
"text": "OK",
"to": "0.89"
},
{
"from": "0.9",
"text": "High",
"to": "1.0"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "avg_over_time(java_lang_OperatingSystem_SystemCpuLoad[5m])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "0.9",
"timeFrom": null,
"timeShift": null,
"title": "CPU Load",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": ""
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#56A64B",
"#E02F44",
"#E02F44"
],
"datasource": "Prometheus",
"description": "It indicates Low Memory if the Java Heap Space utilization crosses 90% over an average of 5 minute period.",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 4,
"y": 0
},
"id": 54,
"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": "50%",
"rangeMaps": [
{
"from": "0",
"text": "OK",
"to": "0.89"
},
{
"from": "0.9",
"text": "Low",
"to": "1"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "avg_over_time(java_lang_Memory_HeapMemoryUsage_used[5m]) / java_lang_Memory_HeapMemoryUsage_max",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "0.9",
"timeFrom": null,
"timeShift": null,
"title": "Java Heap Memory",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorPostfix": false,
"colorPrefix": false,
"colorValue": false,
"colors": [
"#56A64B",
"#E02F44",
"#E02F44"
],
"datasource": "Prometheus",
"decimals": null,
"description": "The last minute's error flow rate reaching a significant percentage (10%) of the last minute's started flow rate indicates high flow error rates.",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 0
},
"id": 56,
"interval": "",
"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": "50%",
"rangeMaps": [
{
"from": "0",
"text": "OK",
"to": "0.1"
},
{
"from": "0.1",
"text": "High",
"to": "1"
},
{
"from": "null",
"text": "No Data",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "(net_corda_Flows_OneMinuteRate{name=\"ErrorPerMinute\"} / ignoring(name) net_corda_Flows_OneMinuteRate{name=\"StartedPerMinute\"}) >= 0",
"format": "time_series",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "0.1",
"timeFrom": null,
"timeShift": null,
"title": "Flow Error Rate",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "OK",
"value": "NaN"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#56A64B",
"#E02F44",
"#E02F44"
],
"datasource": "Prometheus",
"description": "Assuming we have received enough messages in the last minute (at least 3 per second) to make a decision,- we can flag up an error if 25% of the messages took significantly (at least 50%) longer than the average message process duration. ",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 12,
"y": 0
},
"id": 58,
"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": "50%",
"rangeMaps": [
{
"from": "null",
"text": "No Data",
"to": "null"
},
{
"from": "0.",
"text": "OK",
"to": "1"
},
{
"from": "1",
"text": "High",
"to": "100000000000"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "(net_corda_P2P_75thPercentile{name=\"ReceiveDuration\"} / (net_corda_P2P_Mean{name=\"ReceiveDuration\"} * 1.5) ) * (net_corda_P2P_OneMinuteRate{name=\"ReceiveDuration\"} > bool 3) ",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "1",
"timeFrom": null,
"timeShift": null,
"title": "Message Processing Latency",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
},
{
"op": "=",
"text": "OK",
"value": "0"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#56A64B",
"#E02F44",
"#E02F44"
],
"datasource": "Prometheus",
"description": "This indicates when a network parameter update has been proposed that has not been accepted yet.",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 16,
"y": 0
},
"id": 50,
"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,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "net_corda_NetworkParameter_Value{name=\"UpdateProposed\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "1",
"timeFrom": null,
"timeShift": null,
"title": "Network Paramater Update",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "No",
"value": "0"
},
{
"op": "=",
"text": "Proposed",
"value": "1"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorPrefix": false,
"colorValue": false,
"colors": [
"#E02F44",
"#56A64B",
"#56A64B"
],
"datasource": "Prometheus",
"description": "It indicates if the node is not reachable.",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 0
},
"id": 48,
"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,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "up",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "1",
"timeFrom": null,
"timeShift": null,
"title": "Node Status",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "Down",
"value": "0"
},
{
"op": "=",
"text": "OK",
"value": "1"
}
],
"valueName": "current"
},
{
"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": 4,
"x": 0,
"y": 5
},
"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": true,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "net_corda_Metering_Count{name=\"droppedCounts\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Dropped Signing Events",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [],
"valueName": "current"
},
{
"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": 4,
"x": 4,
"y": 5
},
"id": 22,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"pluginVersion": "6.7.3",
"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,
"ymax": null,
"ymin": null
},
"tableColumn": "",
"targets": [
{
"expr": "net_corda_Metering_Count{name=\"totalCounts\"}",
"interval": "",
"legendFormat": "Total Signing Events",
"refId": "C"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Total Signing Events",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [],
"valueName": "current"
},
{
"datasource": "Prometheus",
"description": "Total number of attachments in the node",
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 5
},
"id": 2,
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"max": 50,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 50
}
]
},
"title": ""
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Attachments_Count",
"interval": "",
"legendFormat": "Attachments Count",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Attachment Count",
"type": "gauge"
},
{
"datasource": "Prometheus",
"description": "Total number of successful and errored flows",
"gridPos": {
"h": 5,
"w": 4,
"x": 12,
"y": 5
},
"id": 10,
"options": {
"displayMode": "gradient",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [],
"values": false
},
"orientation": "vertical",
"showUnfilled": false
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Flows_Count{name=\"Success\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Successful Flows",
"refId": "C"
},
{
"expr": "net_corda_Flows_Count{name=\"Error\"}",
"instant": false,
"interval": "",
"legendFormat": "Errored Flows",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "bargauge"
},
{
"cacheTimeout": null,
"datasource": "Prometheus",
"description": "The size of the in-memory send queue in the state machine for messages waiting to be sent to Artemis",
"gridPos": {
"h": 5,
"w": 4,
"x": 16,
"y": 5
},
"id": 38,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [
{
"id": 0,
"op": "=",
"text": "No Data",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_P2P_Value{name=\"SendQueueSize\"}",
"instant": true,
"interval": "",
"legendFormat": "Send Queue Size",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Send Queue Size",
"type": "gauge"
},
{
"datasource": "Prometheus",
"description": "The number of flows waiting to be executed.",
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 5
},
"id": 62,
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Flows_Value{name=\"QueueSize\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow Waiting Queue Size",
"type": "gauge"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 66,
"panels": [],
"title": "Cache",
"type": "row"
},
{
"datasource": "Prometheus",
"description": "Weight Based Transactions Cache",
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 11
},
"id": 68,
"options": {
"displayMode": "lcd",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [],
"values": false
},
"orientation": "horizontal",
"showUnfilled": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Caches_Count{component=\"DBTransactionStorage_transactions\", name=\"hits\"}",
"interval": "",
"legendFormat": "Hits",
"refId": "B"
},
{
"expr": "net_corda_Caches_Count{component=\"DBTransactionStorage_transactions\", name=\"misses\"}",
"interval": "",
"legendFormat": "Mises",
"refId": "A"
},
{
"expr": "net_corda_Caches_Count{component=\"DBTransactionStorage_transactions\", name=\"evictions\"}",
"interval": "",
"legendFormat": "Evictions",
"refId": "C"
},
{
"expr": "net_corda_Caches_Count{component=\"DBTransactionStorage_transactions\", name=\"loads\"}",
"interval": "",
"legendFormat": "Loads",
"refId": "D"
}
],
"timeFrom": null,
"timeShift": null,
"title": "DBTransactionStorage",
"type": "bargauge"
},
{
"datasource": "Prometheus",
"description": "The current size of the cache expressed as a percentage of the maximum",
"gridPos": {
"h": 6,
"w": 4,
"x": 8,
"y": 11
},
"id": 72,
"options": {
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Caches_Value{component=\"DBTransactionStorage_transactions\", name=\"weightPercent\"}",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "DBTransactionStorage Cache Load",
"type": "gauge"
},
{
"datasource": "Prometheus",
"description": "Size Based Cache for Hibernate Session Factories",
"gridPos": {
"h": 6,
"w": 8,
"x": 12,
"y": 11
},
"id": 70,
"options": {
"displayMode": "lcd",
"fieldOptions": {
"calcs": [
"mean"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [],
"values": false
},
"orientation": "horizontal",
"showUnfilled": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Caches_Count{component=\"HibernateConfiguration_sessionFactories\", name=\"hits\"}",
"interval": "",
"legendFormat": "Hits",
"refId": "A"
},
{
"expr": "net_corda_Caches_Count{component=\"HibernateConfiguration_sessionFactories\", name=\"misses\"}",
"interval": "",
"legendFormat": "Misses",
"refId": "B"
},
{
"expr": "net_corda_Caches_Count{component=\"HibernateConfiguration_sessionFactories\", name=\"evictions\"}",
"interval": "",
"legendFormat": "Evictions",
"refId": "C"
},
{
"expr": "net_corda_Caches_Count{component=\"HibernateConfiguration_sessionFactories\", name=\"loads\"}",
"interval": "",
"legendFormat": "Loads",
"refId": "D"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Hibernate SessionFactory Cache",
"type": "bargauge"
},
{
"datasource": "Prometheus",
"description": "The current size of the cache expressed as a percentage of the maximum",
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 11
},
"id": 74,
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "net_corda_Caches_Value{component=\"HibernateConfiguration_sessionFactories\", name=\"sizePercent\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Hibernate SessionFactory Cache Load",
"type": "gauge"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 16,
"panels": [],
"title": "Server Stats",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 20,
"x": 0,
"y": 18
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "java_lang_OperatingSystem_SystemCpuLoad * 100",
"interval": "",
"legendFormat": "CPU",
"refId": "A"
},
{
"expr": "avg_over_time(java_lang_Memory_HeapMemoryUsage_used [5m]) / java_lang_Memory_HeapMemoryUsage_max * 100",
"interval": "",
"legendFormat": "JPA Heap Memory",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "System Resource Utilization",
"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
}
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 18
},
"id": 6,
"options": {
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"decimals": 2,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "java_lang_OperatingSystem_SystemCpuLoad * 100",
"interval": "",
"legendFormat": "CPU Usage",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU Usage",
"type": "gauge"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 23
},
"id": 8,
"options": {
"fieldOptions": {
"calcs": [
"mean"
],
"defaults": {
"decimals": 2,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "java_lang_Memory_HeapMemoryUsage_used / java_lang_Memory_HeapMemoryUsage_max * 100",
"interval": "",
"legendFormat": "Java Heap Memory Usage",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Java Heap Usage",
"type": "gauge"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 18,
"panels": [],
"title": "Flow Stats",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fill": 0,
"fillGradient": 1,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 29
},
"hiddenSeries": false,
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "6.7.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "net_corda_Flows_Value{name=\"ActiveThreads\"}",
"interval": "",
"legendFormat": "Active Threads",
"refId": "C"
},
{
"expr": "net_corda_Flows_Value{name=\"InFlight\"}",
"interval": "",
"legendFormat": "InFlight Flows",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active Flows",
"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": 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": "The rate at which checkpointing events are happening.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 29
},
"hiddenSeries": false,
"id": 26,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_corda_Flows_Count{name=\"Checkpointing Rate\"}[1m])",
"interval": "",
"legendFormat": "1 min rate",
"refId": "A"
},
{
"expr": "rate(net_corda_Flows_Count{name=\"Checkpointing Rate\"}[5m])",
"interval": "",
"legendFormat": "5 min Rate",
"refId": "B"
},
{
"expr": "rate(net_corda_Flows_Count{name=\"Checkpointing Rate\"}[15m])",
"interval": "",
"legendFormat": "15 min Rate",
"refId": "C"
},
{
"expr": "rate(net_corda_Flows_Count{name=\"Checkpointing Rate\"}[30m])",
"interval": "",
"legendFormat": "30 min Rate",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Checkpointing Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "per second",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "One minute moving average of started and errored flows. Flow rate measured at a five-minute basis",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 39
},
"hiddenSeries": false,
"id": 52,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "net_corda_Flows_FiveMinuteRate{name=\"StartedPerMinute\"}",
"interval": "",
"legendFormat": "Started Flows",
"refId": "A"
},
{
"expr": "net_corda_Flows_FiveMinuteRate{name=\"ErrorPerMinute\"}",
"interval": "",
"legendFormat": "Errored Flows",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Flow Rates",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "per minute",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "Histogram showing the queue size at the point new flows are added",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 39
},
"hiddenSeries": false,
"id": 64,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "net_corda_Flows_Min{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "Min",
"refId": "A"
},
{
"expr": "net_corda_Flows_Mean{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "Mean",
"refId": "B"
},
{
"expr": "net_corda_Flows_50thPercentile{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "Median",
"refId": "C"
},
{
"expr": "net_corda_Flows_75thPercentile{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "75th Percentile",
"refId": "D"
},
{
"expr": "net_corda_Flows_95thPercentile{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "95th Percentile",
"refId": "E"
},
{
"expr": "net_corda_Flows_Max{name=\"QueueSizeOnInsert\"}",
"interval": "",
"legendFormat": "Max",
"refId": "F"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Flow Waiting Queue Histogram",
"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
}
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 48
},
"id": 24,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The latency between receiving a P2P message and delivering it to the state machine.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 49
},
"hiddenSeries": false,
"id": 34,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "net_corda_P2P_Min{name=\"ReceiveDuration\"}",
"interval": "",
"legendFormat": "Min",
"refId": "F"
},
{
"expr": "net_corda_P2P_Mean{name=\"ReceiveDuration\"}",
"hide": false,
"interval": "",
"legendFormat": "Mean",
"refId": "E"
},
{
"expr": "net_corda_P2P_50thPercentile{name=\"ReceiveDuration\"}",
"interval": "",
"legendFormat": "Median",
"refId": "H"
},
{
"expr": "net_corda_P2P_75thPercentile{name=\"ReceiveDuration\"}",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "75th Percentile",
"refId": "B"
},
{
"expr": "net_corda_P2P_95thPercentile{name=\"ReceiveDuration\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "95th Percentile",
"refId": "A"
},
{
"expr": "net_corda_P2P_99thPercentile{name=\"ReceiveDuration\"}",
"interval": "",
"legendFormat": "99th Percentile",
"refId": "I"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Receive Latency Histogram",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The latency when sending P2P messages, between send and send acknowledge by Artemis",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 49
},
"hiddenSeries": false,
"id": 44,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "net_corda_P2P_Min{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "Min",
"refId": "A"
},
{
"expr": "net_corda_P2P_Mean{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "Mean",
"refId": "D"
},
{
"expr": "net_corda_P2P_50thPercentile{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "Median",
"refId": "E"
},
{
"expr": "net_corda_P2P_75thPercentile{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "75th Percentile",
"refId": "B"
},
{
"expr": "net_corda_P2P_95thPercentile{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "95th Percentile",
"refId": "C"
},
{
"expr": "net_corda_P2P_99thPercentile{name=\"SendLatency\"}",
"interval": "",
"legendFormat": "99th Percentile",
"refId": "F"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Send Latency Histogram",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "A number of messages received per second.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 58
},
"hiddenSeries": false,
"id": 46,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_corda_P2P_Count{name=\"ReceiveDuration\"}[1m])",
"interval": "",
"legendFormat": "1 min Rate",
"refId": "A"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"ReceiveDuration\"}[5m])",
"interval": "",
"legendFormat": "5 min Rate",
"refId": "B"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"ReceiveDuration\"}[15m])",
"interval": "",
"legendFormat": "15 min Rate",
"refId": "C"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"ReceiveDuration\"}[30m])",
"interval": "",
"legendFormat": "30 min Rate",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Received Messages Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "per second",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "A number of messages sent per second.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 58
},
"hiddenSeries": false,
"id": 60,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_corda_P2P_Count{name=\"SendLatency\"}[1m])",
"interval": "",
"legendFormat": "1 min rate",
"refId": "A"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"SendLatency\"}[5m])",
"interval": "",
"legendFormat": "5 min rate",
"refId": "B"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"SendLatency\"}[15m])",
"interval": "",
"legendFormat": "15 min rate",
"refId": "C"
},
{
"expr": "rate(net_corda_P2P_Count{name=\"SendLatency\"}[30m])",
"interval": "",
"legendFormat": "30 min rate",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Send Message Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "per second",
"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
}
}
],
"title": "P2P Stats",
"type": "row"
}
],
"refresh": "5s",
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Corda Node Monitoring",
"uid": "zjVSDGgGz",
"variables": {
"list": []
},
"version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment