This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 2b37c037dc [KYUUBI #6870] Add more metrics for grafana dashboard
2b37c037dc is described below
commit 2b37c037dcf0bfe9d1bff38449b4fd90acdf73d1
Author: Wang, Fei <[email protected]>
AuthorDate: Fri Dec 27 10:24:42 2024 +0800
[KYUUBI #6870] Add more metrics for grafana dashboard
### Why are the changes needed?
Add more metrics for monitoring.
### How was this patch tested?
1. Overall
<img width="1723" alt="image"
src="https://github.com/user-attachments/assets/65cb7e5a-4ea0-45c8-885e-392fc643f305"
/>2. Connection(repeat for connectionType -
`thrift_binary_connection,rest_connection,thrift_http_connection,metadata_request`)
For example:
<img width="1909" alt="image"
src="https://github.com/user-attachments/assets/51c6f729-55da-43a9-bd85-fd22b1c3a447"
/>
<img width="1916" alt="image"
src="https://github.com/user-attachments/assets/72b3d5dc-a7dc-4a3b-8092-0f68aaaa7326"
/>
<img width="1721" alt="image"
src="https://github.com/user-attachments/assets/156dc67a-c58a-4879-9d04-de4e60a444f2"
/>
3. Operation(repeat for operationType -
`ExecuteStatement,BatchJobSubmission,LaunchEngine`)
<img width="1901" alt="image"
src="https://github.com/user-attachments/assets/2d7e500e-18b3-4fc9-bddc-a11d8deff203"
/>
<img width="1913" alt="image"
src="https://github.com/user-attachments/assets/e5557297-7bb8-49d6-b16d-860e14fd1b69"
/>
4. Extra
<img width="1721" alt="image"
src="https://github.com/user-attachments/assets/141ded05-4e9e-4d54-99f6-455f51e7afb6"
/>
5. Move the JVM statistics down.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #6870 from turboFei/grafana_metrics.
Closes #6870
25fb32960 [Wang, Fei] Overall => Overview
12919411f [Fei Wang] Grafana metrics ssl (#32)
879b8a49f [Wang, Fei] Gc increase during trendInterval
3a7b6be62 [Wang, Fei] Engine Submitting => Launching
1f4be56c1 [Wang, Fei] add total opened interactive /batch connection
dde6aa785 [Wang, Fei] format
909e8e2e6 [Wang, Fei] remove plugin version
86c0a752d [Wang, Fei] metadata request new()
174bc1dd6 [Wang, Fei] threshold off
529ebfff6 [Wang, Fei] remove overrides
fa5d9b554 [Wang, Fei] Revert "remove 1m trend interval"
106718280 [Wang, Fei] remove 1m trend interval
e33e31036 [Wang, Fei] repeat - includeAll, multi
d6172ef2d [Wang, Fei] id1
f9c5d7e96 [Fei Wang] Grafana metrics update (#31)
369243d18 [Wang, Fei] metadata
bb492f8c1 [Wang, Fei] add trend interval
bf1188619 [Wang, Fei] add operation type
7e8a4067e [Wang, Fei] conn type
Lead-authored-by: Wang, Fei <[email protected]>
Co-authored-by: Fei Wang <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
grafana/dashboard-template.json | 3117 +++++++++++++++++++++++++++------------
1 file changed, 2209 insertions(+), 908 deletions(-)
diff --git a/grafana/dashboard-template.json b/grafana/dashboard-template.json
index 48be1496b1..e2978b617a 100644
--- a/grafana/dashboard-template.json
+++ b/grafana/dashboard-template.json
@@ -68,11 +68,14 @@
},
"id": 58,
"panels": [],
- "title": "General Information",
+ "title": "Overview",
"type": "row"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -98,16 +101,91 @@
}
]
},
- "unit": "ms"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
- "w": 8,
+ "w": 2,
"x": 0,
"y": 1
},
+ "id": 70,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "count(kyuubi_jvm_uptime{$baseFilter})",
+ "format": "time_series",
+ "instant": false,
+ "legendFormat": "${baseLegend}",
+ "range": false,
+ "refId": "A"
+ }
+ ],
+ "title": "Instances",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "ms"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 3,
+ "x": 2,
+ "y": 1
+ },
"id": 31,
"maxDataPoints": 100,
"options": {
@@ -123,26 +201,871 @@
"fields": "",
"values": false
},
- "showPercentChange": false,
- "textMode": "auto",
- "wideLayout": true
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "kyuubi_jvm_uptime{$baseFilter,instance=~\"$instance\"}",
+ "format": "time_series",
+ "instant": true,
+ "legendFormat": "${baseLegend}",
+ "range": false,
+ "refId": "A"
+ }
+ ],
+ "title": "Uptime",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "green",
+ "value": 2592000000
+ }
+ ]
+ },
+ "unit": "ms"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 3,
+ "x": 5,
+ "y": 1
+ },
+ "id": 102,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "exemplar": false,
+ "expr":
"kyuubi_thrift_ssl_cert_expiration{$baseFilter,instance=~\"$instance\"}",
+ "format": "time_series",
+ "instant": true,
+ "legendFormat": "${baseLegend}",
+ "range": false,
+ "refId": "A"
+ }
+ ],
+ "title": "KeyStore Expiration",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 8,
+ "x": 8,
+ "y": 1
+ },
+ "id": 69,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr":
"sum(kyuubi_connection_opened_INTERACTIVE{$baseFilter,instance=~\"$instance\"})",
+ "hide": false,
+ "instant": false,
+ "legendFormat": "total-interactive",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr":
"sum(kyuubi_connection_opened_BATCH{$baseFilter,instance=~\"$instance\"})",
+ "hide": false,
+ "instant": false,
+ "legendFormat": "total-batch",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr":
"kyuubi_connection_opened_INTERACTIVE{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "instant": false,
+ "legendFormat": "${baseLegend}-interactive",
+ "range": true,
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr":
"kyuubi_connection_opened_BATCH{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "instant": false,
+ "legendFormat": "${baseLegend}-batch",
+ "range": true,
+ "refId": "D"
+ }
+ ],
+ "title": "Connection Opened",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 8,
+ "x": 16,
+ "y": 1
+ },
+ "id": 81,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "kyuubi_engine_total{$baseFilter,instance=~\"$instance\"}",
+ "format": "time_series",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "interval": "",
+ "legendFormat": "${baseLegend}",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Engine Total",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 8,
+ "x": 0,
+ "y": 7
+ },
+ "id": 73,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "repeatDirection": "h",
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_exec_pool_threads_alive{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}-alive",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_exec_pool_threads_active{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}-active",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_exec_pool_threads_queue{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}-queue",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Exec Pool Threads",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 8,
+ "x": 8,
+ "y": 7
+ },
+ "id": 74,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "repeatDirection": "h",
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_operation_state_LaunchEngine_running_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}-interactive",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_operation_state_BatchJobSubmission_pending_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}-batch",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "Engine Launching",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "ms"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 8,
+ "x": 16,
+ "y": 7
+ },
+ "id": 75,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "repeatDirection": "h",
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
kyuubi_operation_batch_pending_max_elapse{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Max Batch Pending Elapse",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 8,
+ "x": 0,
+ "y": 13
+ },
+ "id": 77,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "repeatDirection": "h",
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
increase(kyuubi_connection_total_INTERACTIVE{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "${baseLegend}-interactive",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
increase(kyuubi_connection_total_BATCH{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "${baseLegend}-batch",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "Session(new)[$trendInterval]",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 8,
+ "x": 8,
+ "y": 13
+ },
+ "id": 79,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "exemplar": false,
- "expr": "kyuubi_jvm_uptime{$baseFilter,instance=~\"$instance\"}",
- "format": "time_series",
- "instant": false,
- "legendFormat": "${baseLegend}",
- "range": false,
+ "expr": "
increase(kyuubi_operation_total_ExecuteStatement{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "${baseLegend}-interactive",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr": "
increase(kyuubi_operation_total_BatchJobSubmission{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "${baseLegend}-batch",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Uptime",
- "type": "stat"
+ "title": "Operation(new)[$trendInterval]",
+ "type": "timeseries"
},
{
"datasource": {
@@ -163,7 +1086,7 @@
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -177,7 +1100,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -187,6 +1110,7 @@
"mode": "off"
}
},
+ "links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -194,63 +1118,60 @@
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- }
+ },
+ "unit": "short"
},
"overrides": []
},
"gridPos": {
- "h": 6,
- "w": 16,
- "x": 8,
- "y": 1
+ "h": 7,
+ "w": 8,
+ "x": 16,
+ "y": 13
},
- "id": 69,
+ "id": 80,
+ "maxPerRow": 2,
"options": {
+ "alertThreshold": true,
"legend": {
"calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
- "mode": "single",
+ "mode": "multi",
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
- "disableTextWrap": false,
+ "datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "exemplar": false,
- "expr":
"kyuubi_connection_total_BATCH{$baseFilter,instance=~\"$instance\"}",
- "format": "time_series",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "instant": false,
- "interval": "",
- "legendFormat": "${baseLegend}-batch",
+ "expr": "
increase(kyuubi_backend_service_fetch_result_rows_rate_total{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "${baseLegend}-result",
"range": true,
- "refId": "A",
- "useBackend": false
+ "refId": "A"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
+ "datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_connection_total_INTERACTIVE{$baseFilter,instance=~\"$instance\"}",
+ "expr": "
increase(kyuubi_backend_service_fetch_log_rows_rate_total{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
"hide": false,
- "instant": false,
- "legendFormat": "${baseLegend}-interactive",
+ "legendFormat": "${baseLegend}-log",
"range": true,
"refId": "B"
}
],
- "title": "Connection",
+ "title": "Fetch Rows[$trendInterval]",
"type": "timeseries"
},
{
@@ -310,243 +1231,22 @@
},
"unit": "bytes"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 8,
- "w": 24,
+ "h": 6,
+ "w": 8,
"x": 0,
- "y": 7
+ "y": 20
},
"id": 34,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
- "calcs": [
- "mean",
- "lastNotNull",
- "max",
- "min"
- ],
+ "calcs": [],
"displayMode": "table",
- "placement": "bottom",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -554,7 +1254,6 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
"repeat": "memarea",
"repeatDirection": "h",
"targets": [
@@ -568,24 +1267,14 @@
"refId": "B"
}
],
- "title": "Memory Usage",
+ "title": "JVM Memory Usage",
"type": "timeseries"
},
{
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 15
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
},
- "id": 60,
- "panels": [],
- "title": "JVM Statistics",
- "type": "row"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
@@ -639,73 +1328,24 @@
}
]
},
- "unit": "bytes"
+ "unit": "percentunit"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 10,
+ "h": 6,
"w": 8,
- "x": 0,
- "y": 16
+ "x": 8,
+ "y": 20
},
- "id": 64,
+ "id": 71,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
- "calcs": [
- "mean",
- "lastNotNull",
- "max",
- "min"
- ],
+ "calcs": [],
"displayMode": "table",
- "placement": "bottom",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -713,41 +1353,27 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
- "targets": [
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_PS_Eden_Space_used{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Eden Space Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Par_Eden_Space_committed{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Eden Space Committed",
- "range": true,
- "refId": "A"
- },
+ "repeatDirection": "h",
+ "targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Par_Eden_Space_max{$baseFilter,instance=~\"$instance\"}",
+ "expr": "
kyuubi_memory_usage_total_used/kyuubi_memory_usage_heap_max{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Eden Space Max",
+ "legendFormat": "${baseLegend}",
"range": true,
- "refId": "C"
+ "refId": "B"
}
],
- "title": "Eden Space",
+ "title": "JVM Memory Usage(Ratio)",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -794,80 +1420,27 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 10,
+ "h": 6,
"w": 8,
- "x": 8,
- "y": 16
+ "x": 16,
+ "y": 20
},
- "id": 61,
+ "id": 76,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
- "calcs": [
- "mean",
- "lastNotNull",
- "max",
- "min"
- ],
+ "calcs": [],
"displayMode": "table",
- "placement": "bottom",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -875,41 +1448,50 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_PS_Old_Gen_used{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Old Gen Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_CMS_Old_Gen_committed{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"increase(kyuubi_gc_ZGC_Cycles_count{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
"hide": false,
- "legendFormat": "${baseLegend} Old Gen Committed",
+ "legendFormat": "${baseLegend}",
"range": true,
"refId": "A"
},
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_CMS_Old_Gen_max{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"increase(kyuubi_gc_PS_MarkSweep_count{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
"hide": false,
- "legendFormat": "${baseLegend} Old Gen Max",
+ "legendFormat": "${baseLegend}",
"range": true,
- "refId": "C"
+ "refId": "B"
}
],
- "title": "Old Gen",
+ "title": "JVM GC Count[$trendInterval]",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 26
+ },
+ "id": 88,
+ "panels": [],
+ "repeat": "connType",
+ "repeatDirection": "h",
+ "title": "Connection($connType)",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -956,77 +1538,27 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "short"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 10,
- "w": 8,
- "x": 16,
- "y": 16
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 27
},
- "id": 63,
+ "id": 89,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [
- "mean",
"lastNotNull",
- "max",
- "min"
+ "max"
],
"displayMode": "table",
"placement": "bottom",
@@ -1037,41 +1569,26 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_PS_Survivor_Space_used{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Survivor Space Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Par_Survivor_Space_committed{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_${connType}_opened{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Survivor Space Committed",
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Par_Survivor_Space_max{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Survivor Space Max",
- "range": true,
- "refId": "C"
}
],
- "title": "Survivor Space",
+ "title": "$connType(opened)",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1118,77 +1635,27 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "short"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 9,
- "w": 8,
- "x": 0,
- "y": 26
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 27
},
- "id": 62,
+ "id": 92,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [
- "mean",
"lastNotNull",
- "max",
- "min"
+ "max"
],
"displayMode": "table",
"placement": "bottom",
@@ -1199,41 +1666,26 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Metaspace_used{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Metaspace Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Metaspace_committed{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"increase(kyuubi_${connType}_opened{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
"hide": false,
- "legendFormat": "${baseLegend} Metaspace Committed",
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Metaspace_max{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Metaspace Max",
- "range": true,
- "refId": "C"
}
],
- "title": "Metaspace",
+ "title": "$connType(new)[$trendInterval]",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1280,77 +1732,27 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "short"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 9,
- "w": 8,
- "x": 8,
- "y": 26
+ "h": 7,
+ "w": 12,
+ "x": 0,
+ "y": 35
},
- "id": 65,
+ "id": 90,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [
- "mean",
"lastNotNull",
- "max",
- "min"
+ "max"
],
"displayMode": "table",
"placement": "bottom",
@@ -1361,41 +1763,35 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_used{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Compressed Class Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_committed{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_${connType}_total{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Compressed Class Committed",
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
},
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_max{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_${connType}_total_total{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Compressed Class Max",
+ "legendFormat": "$baseLegend",
"range": true,
- "refId": "C"
+ "refId": "B"
}
],
- "title": "Compressed Class",
+ "title": "$connType(total)",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1442,77 +1838,27 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "short"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Usage %"
- },
- "properties": [
- {
- "id": "custom.drawStyle",
- "value": "bars"
- },
- {
- "id": "custom.fillOpacity",
- "value": 100
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "#6d1f62",
- "mode": "fixed"
- }
- },
- {
- "id": "custom.lineWidth",
- "value": 0
- },
- {
- "id": "unit",
- "value": "percentunit"
- },
- {
- "id": "min",
- "value": 0
- },
- {
- "id": "max",
- "value": 1
- },
- {
- "id": "custom.axisPlacement",
- "value": "right"
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
- "h": 9,
- "w": 8,
- "x": 16,
- "y": 26
+ "h": 7,
+ "w": 12,
+ "x": 12,
+ "y": 35
},
- "id": 66,
+ "id": 91,
"maxPerRow": 2,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [
- "mean",
"lastNotNull",
- "max",
- "min"
+ "max"
],
"displayMode": "table",
"placement": "bottom",
@@ -1523,37 +1869,28 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Code_Cache_used{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_${connType}_failed{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Code Cache Used",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Code_Cache_committed{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Code Cache Committed",
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
},
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_memory_usage_pools_Code_Cache_max{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_${connType}_failed_total{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "legendFormat": "${baseLegend} Code Cache Max",
+ "legendFormat": "$baseLegend",
"range": true,
- "refId": "C"
+ "refId": "B"
}
],
- "title": "Code Cache",
+ "title": "$connType(failed)",
"type": "timeseries"
},
{
@@ -1562,159 +1899,223 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 35
+ "y": 42
},
- "id": 68,
+ "id": 93,
"panels": [],
- "title": "Extra",
+ "repeat": "opType",
+ "repeatDirection": "h",
+ "title": "Operation($opType)",
"type": "row"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
- "mode": "thresholds"
+ "mode": "palette-classic"
},
- "mappings": [
- {
- "options": {
- "match": "null",
- "result": {
- "text": "N/A"
- }
- },
- "type": "special"
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
- ],
+ },
+ "links": [],
+ "mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "string"
+ "unit": "short"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 12,
"x": 0,
- "y": 36
+ "y": 43
},
- "id": 53,
- "maxDataPoints": 100,
+ "id": 94,
+ "maxPerRow": 2,
"options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
+ "alertThreshold": true,
+ "legend": {
"calcs": [
- "lastNotNull"
+ "lastNotNull",
+ "max"
],
- "fields": "",
- "values": false
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
},
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_exec_pool_threads_alive{$baseFilter,instance=~\"$instance\"}",
- "legendFormat": "${baseLegend}",
+ "expr":
"kyuubi_operation_state_${opType}_pending_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "$baseLegend-pending",
"range": true,
"refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_operation_state_${opType}_running_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "$baseLegend-running",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Alive Thread",
- "type": "gauge"
+ "title": "$opType(pending/running)",
+ "type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
- "mode": "thresholds"
+ "mode": "palette-classic"
},
- "mappings": [
- {
- "options": {
- "match": "null",
- "result": {
- "text": "N/A"
- }
- },
- "type": "special"
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
- ],
+ },
+ "links": [],
+ "mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "string"
+ "unit": "short"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 12,
"x": 12,
- "y": 36
+ "y": 43
},
- "id": 52,
- "maxDataPoints": 100,
+ "id": 99,
+ "maxPerRow": 2,
"options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
+ "alertThreshold": true,
+ "legend": {
"calcs": [
- "lastNotNull"
+ "lastNotNull",
+ "max"
],
- "fields": "",
- "values": false
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
},
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_exec_pool_threads_active{$baseFilter,instance=~\"$instance\"}",
- "legendFormat": "${baseLegend}",
+ "expr":
"increase(kyuubi_operation_total_${opType}{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
}
],
- "title": "Active Thread",
- "type": "gauge"
+ "title": "$opType(new)[$trendInterval]",
+ "type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1729,7 +2130,7 @@
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -1743,7 +2144,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -1753,6 +2154,7 @@
"mode": "off"
}
},
+ "links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -1762,45 +2164,55 @@
"value": null
}
]
- }
+ },
+ "unit": "short"
},
"overrides": []
},
"gridPos": {
- "h": 9,
+ "h": 8,
"w": 12,
"x": 0,
- "y": 43
+ "y": 51
},
- "id": 43,
+ "id": 98,
+ "maxPerRow": 2,
"options": {
+ "alertThreshold": true,
"legend": {
- "calcs": [],
- "displayMode": "list",
+ "calcs": [
+ "lastNotNull",
+ "max"
+ ],
+ "displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
- "mode": "single",
+ "mode": "multi",
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr": "kyuubi_engine_total{$baseFilter,instance=~\"$instance\"}",
- "legendFormat": "${baseLegend}",
+ "expr":
"kyuubi_operation_state_${opType}_error_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "$baseLegend",
"range": true,
"refId": "A"
}
],
- "title": "Engine Total",
+ "title": "$opType(error)",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -1816,7 +2228,7 @@
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -1830,7 +2242,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -1840,6 +2252,7 @@
"mode": "off"
}
},
+ "links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -1849,77 +2262,77 @@
"value": null
}
]
- }
+ },
+ "unit": "short"
},
"overrides": []
},
"gridPos": {
- "h": 9,
+ "h": 8,
"w": 12,
"x": 12,
- "y": 43
+ "y": 51
},
- "id": 47,
+ "id": 97,
+ "maxPerRow": 2,
"options": {
+ "alertThreshold": true,
"legend": {
- "calcs": [],
- "displayMode": "list",
+ "calcs": [
+ "lastNotNull",
+ "max"
+ ],
+ "displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
- "mode": "single",
+ "mode": "multi",
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
+ "repeatDirection": "h",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_operation_state_ExecuteStatement_running_total{$baseFilter,instance=~\"$instance\"}",
- "legendFormat": "${baseLegend} Running",
- "range": true,
- "refId": "A"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "expr":
"kyuubi_operation_state_ExecuteStatement_finished_total{$baseFilter,instance=~\"$instance\"}",
- "hide": false,
- "legendFormat": "${baseLegend} Finished",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": "${DS_PROMETHEUS}",
- "editorMode": "code",
- "exemplar": false,
- "expr":
"kyuubi_operation_state_ExecuteStatement_error_total{$baseFilter,instance=~\"$instance\"}",
- "format": "time_series",
+ "expr":
"kyuubi_operation_state_${opType}_closed_total{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "instant": false,
- "legendFormat": "${baseLegend} Error",
+ "legendFormat": "$baseLegend-closed",
"range": true,
- "refId": "C"
+ "refId": "A"
},
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "exemplar": false,
- "expr":
"kyuubi_operation_state_ExecuteStatement_pending_total{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"kyuubi_operation_state_${opType}_finished_total{$baseFilter,instance=~\"$instance\"}",
"hide": false,
- "instant": false,
- "legendFormat": "${baseLegend} Pending",
+ "legendFormat": "$baseLegend-finished",
"range": true,
- "refId": "D"
+ "refId": "B"
}
],
- "title": "Operation Statistics",
+ "title": "$opType(closed/finished)",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 59
+ },
+ "id": 68,
+ "panels": [],
+ "title": "Extra",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1979,9 +2392,9 @@
"h": 8,
"w": 12,
"x": 0,
- "y": 52
+ "y": 60
},
- "id": 41,
+ "id": 100,
"options": {
"legend": {
"calcs": [],
@@ -1994,25 +2407,51 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "exemplar": false,
- "expr":
"kyuubi_connection_opened{$baseFilter,instance=~\"$instance\"}",
- "format": "time_series",
- "instant": false,
- "legendFormat": "${baseLegend}",
+ "expr":
"kyuubi_metadata_request_opened{$baseFilter,instance=~\"$instance\"}",
+ "legendFormat": "${baseLegend} Opened",
"range": true,
"refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_metadata_request_total_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Total",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_metadata_request_failed_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Failed",
+ "range": true,
+ "refId": "C"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_metadata_request_retrying_total{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Retring",
+ "range": true,
+ "refId": "D"
}
],
- "title": "Connection Opened",
+ "title": "Metadata Request",
"type": "timeseries"
},
{
- "datasource": "${DS_PROMETHEUS}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -2072,9 +2511,9 @@
"h": 8,
"w": 12,
"x": 12,
- "y": 52
+ "y": 60
},
- "id": 45,
+ "id": 101,
"options": {
"legend": {
"calcs": [],
@@ -2087,18 +2526,18 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
- "expr":
"kyuubi_thrift_binary_connection_total{$baseFilter,instance=~\"$instance\"}",
+ "expr":
"increase(kyuubi_metadata_request_total_total{$baseFilter,instance=~\"$instance\"}[$trendInterval])",
+ "hide": false,
"legendFormat": "${baseLegend}",
"range": true,
"refId": "A"
}
],
- "title": "Thrift Binary Connection",
+ "title": "Metadata Request(new)[$trendInterval]",
"type": "timeseries"
},
{
@@ -2138,7 +2577,7 @@
"mode": "none"
},
"thresholdsStyle": {
- "mode": "line"
+ "mode": "off"
}
},
"mappings": [],
@@ -2162,7 +2601,7 @@
"h": 8,
"w": 12,
"x": 0,
- "y": 60
+ "y": 68
},
"id": 49,
"options": {
@@ -2177,7 +2616,6 @@
"sort": "none"
}
},
- "pluginVersion": "11.4.0",
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
@@ -2208,6 +2646,722 @@
],
"title": "Threads",
"type": "timeseries"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 68
+ },
+ "id": 60,
+ "panels": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 8,
+ "x": 0,
+ "y": 53
+ },
+ "id": 64,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_PS_Eden_Space_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Eden Space Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Par_Eden_Space_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Eden Space Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Par_Eden_Space_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Eden Space Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Eden Space",
+ "type": "timeseries"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 8,
+ "x": 8,
+ "y": 53
+ },
+ "id": 61,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_PS_Old_Gen_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Old Gen Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_CMS_Old_Gen_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Old Gen Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_CMS_Old_Gen_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Old Gen Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Old Gen",
+ "type": "timeseries"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 8,
+ "x": 16,
+ "y": 53
+ },
+ "id": 63,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_PS_Survivor_Space_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Survivor Space Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Par_Survivor_Space_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Survivor Space Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Par_Survivor_Space_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Survivor Space Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Survivor Space",
+ "type": "timeseries"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 8,
+ "x": 0,
+ "y": 63
+ },
+ "id": 62,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Metaspace_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Metaspace Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Metaspace_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Metaspace Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Metaspace_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Metaspace Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Metaspace",
+ "type": "timeseries"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 8,
+ "x": 8,
+ "y": 63
+ },
+ "id": 65,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Compressed Class Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Compressed Class Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Compressed_Class_Space_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Compressed Class Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Compressed Class",
+ "type": "timeseries"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 8,
+ "x": 16,
+ "y": 63
+ },
+ "id": 66,
+ "maxPerRow": 2,
+ "options": {
+ "alertThreshold": true,
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Code_Cache_used{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Code Cache Used",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Code_Cache_committed{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Code Cache Committed",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": "${DS_PROMETHEUS}",
+ "editorMode": "code",
+ "expr":
"kyuubi_memory_usage_pools_Code_Cache_max{$baseFilter,instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "${baseLegend} Code Cache Max",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Code Cache",
+ "type": "timeseries"
+ }
+ ],
+ "title": "JVM Statistics",
+ "type": "row"
}
],
"preload": false,
@@ -2288,6 +3442,153 @@
"skipUrlSync": false,
"sort": 1,
"type": "query"
+ },
+ {
+ "current": {
+ "selected": false,
+ "text": "thrift_binary_connection",
+ "value": "thrift_binary_connection"
+ },
+ "description": "The kyuubi connection type.",
+ "hide": 0,
+ "includeAll": true,
+ "label": "connType",
+ "multi": true,
+ "name": "connType",
+ "options": [
+ {
+ "selected": false,
+ "text": "All",
+ "value": "$__all"
+ },
+ {
+ "selected": true,
+ "text": "thrift_binary_connection",
+ "value": "thrift_binary_connection"
+ },
+ {
+ "selected": false,
+ "text": "rest_connection",
+ "value": "rest_connection"
+ },
+ {
+ "selected": false,
+ "text": "thrift_http_connection",
+ "value": "thrift_http_connection"
+ },
+ {
+ "selected": false,
+ "text": "metadata_request",
+ "value": "metadata_request"
+ }
+ ],
+ "query":
"thrift_binary_connection,rest_connection,thrift_http_connection,metadata_request",
+ "queryValue": "",
+ "skipUrlSync": false,
+ "type": "custom"
+ },
+ {
+ "current": {
+ "selected": false,
+ "text": "ExecuteStatement",
+ "value": "ExecuteStatement"
+ },
+ "description": "The kyuubi operation type.",
+ "hide": 0,
+ "includeAll": true,
+ "label": "opType",
+ "multi": true,
+ "name": "opType",
+ "options": [
+ {
+ "selected": false,
+ "text": "All",
+ "value": "$__all"
+ },
+ {
+ "selected": true,
+ "text": "ExecuteStatement",
+ "value": "ExecuteStatement"
+ },
+ {
+ "selected": false,
+ "text": "BatchJobSubmission",
+ "value": "BatchJobSubmission"
+ },
+ {
+ "selected": false,
+ "text": "LaunchEngine",
+ "value": "LaunchEngine"
+ }
+ ],
+ "query": "ExecuteStatement,BatchJobSubmission,LaunchEngine",
+ "queryValue": "",
+ "skipUrlSync": false,
+ "type": "custom"
+ },
+ {
+ "current": {
+ "selected": false,
+ "text": "5m",
+ "value": "5m"
+ },
+ "description": "The trend interval.",
+ "hide": 0,
+ "includeAll": false,
+ "label": "trendInterval",
+ "multi": false,
+ "name": "trendInterval",
+ "options": [
+ {
+ "selected": false,
+ "text": "1m",
+ "value": "1m"
+ },
+ {
+ "selected": true,
+ "text": "5m",
+ "value": "5m"
+ },
+ {
+ "selected": false,
+ "text": "15m",
+ "value": "15m"
+ },
+ {
+ "selected": false,
+ "text": "30m",
+ "value": "30m"
+ },
+ {
+ "selected": false,
+ "text": "1h",
+ "value": "1h"
+ },
+ {
+ "selected": false,
+ "text": "3h",
+ "value": "3h"
+ },
+ {
+ "selected": false,
+ "text": "6h",
+ "value": "6h"
+ },
+ {
+ "selected": false,
+ "text": "12h",
+ "value": "12h"
+ },
+ {
+ "selected": false,
+ "text": "24h",
+ "value": "24h"
+ }
+ ],
+ "query": "1m,5m,15m,30m,1h,3h,6h,12h,24h",
+ "queryValue": "",
+ "skipUrlSync": false,
+ "type": "custom"
}
]
},