Skip to content

Commit

Permalink
[CELEBORN-852][FOLLOWUP] Add active connection count metrics to grafa…
Browse files Browse the repository at this point in the history
…na dashboard

### What changes were proposed in this pull request?
Add active connections count metrics to grafana dashboard.

### Why are the changes needed?
Ditto.

### Does this PR introduce _any_ user-facing change?
Yes, new metric chart in the grafana dashboard.

### How was this patch tested?
Cluster.

Closes apache#1783 from FMX/CELEBORN-852.

Authored-by: mingji <[email protected]>
Signed-off-by: zky.zhoukeyong <[email protected]>
  • Loading branch information
FMX authored and waitinfuture committed Aug 2, 2023
1 parent 3ee0674 commit 2b79c37
Showing 1 changed file with 127 additions and 45 deletions.
172 changes: 127 additions & 45 deletions assets/grafana/celeborn-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.1"
"version": "10.0.3"
},
{
"type": "datasource",
Expand Down Expand Up @@ -115,7 +115,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -130,7 +131,7 @@
"h": 9,
"w": 12,
"x": 0,
"y": 9
"y": 1
},
"id": 2,
"options": {
Expand Down Expand Up @@ -203,7 +204,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -218,7 +220,7 @@
"h": 9,
"w": 12,
"x": 12,
"y": 9
"y": 1
},
"id": 94,
"options": {
Expand Down Expand Up @@ -860,7 +862,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -875,7 +878,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 19
"y": 3
},
"id": 84,
"options": {
Expand Down Expand Up @@ -948,7 +951,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -964,7 +968,7 @@
"h": 9,
"w": 12,
"x": 0,
"y": 29
"y": 13
},
"id": 60,
"options": {
Expand Down Expand Up @@ -1037,7 +1041,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -1053,7 +1058,7 @@
"h": 9,
"w": 12,
"x": 12,
"y": 29
"y": 13
},
"id": 62,
"options": {
Expand Down Expand Up @@ -1126,7 +1131,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -1141,7 +1147,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 38
"y": 22
},
"id": 90,
"options": {
Expand Down Expand Up @@ -1214,7 +1220,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand All @@ -1229,7 +1236,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 38
"y": 22
},
"id": 92,
"options": {
Expand All @@ -1256,6 +1263,95 @@
],
"title": "metrics_PausePushDataAndReplicate_Value",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": 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
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"id": 179,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "metrics_ActiveConnectionCount_Count{}",
"refId": "A"
}
],
"title": "ActiveConnectionCount",
"type": "timeseries"
}
],
"title": "Worker",
Expand Down Expand Up @@ -4156,8 +4252,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4246,8 +4341,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4336,8 +4430,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4425,8 +4518,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -4443,7 +4535,7 @@
"x": 12,
"y": 16
},
"id": 48,
"id": 180,
"options": {
"legend": {
"calcs": [],
Expand Down Expand Up @@ -4514,8 +4606,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4604,8 +4695,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4710,8 +4800,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4803,8 +4892,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4896,8 +4984,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7053,8 +7140,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7145,8 +7231,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7238,8 +7323,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7330,8 +7414,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7386,7 +7469,6 @@
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"submenuSticky": 0,
"tags": [],
"templating": {
"list": []
Expand All @@ -7399,6 +7481,6 @@
"timezone": "",
"title": "Celeborn",
"uid": "U_qgru_7z",
"version": 16,
"version": 3,
"weekStart": ""
}
}

0 comments on commit 2b79c37

Please sign in to comment.