This is an automated email from the ASF dual-hosted git repository.

zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 2b79c3738 [CELEBORN-852][FOLLOWUP] Add active connection count metrics 
to grafana dashboard
2b79c3738 is described below

commit 2b79c37381e9ffabadbcd7706ecf39796e49be92
Author: mingji <[email protected]>
AuthorDate: Wed Aug 2 21:24:57 2023 +0800

    [CELEBORN-852][FOLLOWUP] Add active connection count metrics to grafana 
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 #1783 from FMX/CELEBORN-852.
    
    Authored-by: mingji <[email protected]>
    Signed-off-by: zky.zhoukeyong <[email protected]>
---
 assets/grafana/celeborn-dashboard.json | 172 ++++++++++++++++++++++++---------
 1 file changed, 127 insertions(+), 45 deletions(-)

diff --git a/assets/grafana/celeborn-dashboard.json 
b/assets/grafana/celeborn-dashboard.json
index 726c97b03..6ace813c5 100644
--- a/assets/grafana/celeborn-dashboard.json
+++ b/assets/grafana/celeborn-dashboard.json
@@ -15,7 +15,7 @@
       "type": "grafana",
       "id": "grafana",
       "name": "Grafana",
-      "version": "9.4.1"
+      "version": "10.0.3"
     },
     {
       "type": "datasource",
@@ -115,7 +115,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -130,7 +131,7 @@
             "h": 9,
             "w": 12,
             "x": 0,
-            "y": 9
+            "y": 1
           },
           "id": 2,
           "options": {
@@ -203,7 +204,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -218,7 +220,7 @@
             "h": 9,
             "w": 12,
             "x": 12,
-            "y": 9
+            "y": 1
           },
           "id": 94,
           "options": {
@@ -860,7 +862,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -875,7 +878,7 @@
             "h": 10,
             "w": 24,
             "x": 0,
-            "y": 19
+            "y": 3
           },
           "id": 84,
           "options": {
@@ -948,7 +951,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -964,7 +968,7 @@
             "h": 9,
             "w": 12,
             "x": 0,
-            "y": 29
+            "y": 13
           },
           "id": 60,
           "options": {
@@ -1037,7 +1041,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -1053,7 +1058,7 @@
             "h": 9,
             "w": 12,
             "x": 12,
-            "y": 29
+            "y": 13
           },
           "id": 62,
           "options": {
@@ -1126,7 +1131,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -1141,7 +1147,7 @@
             "h": 8,
             "w": 12,
             "x": 0,
-            "y": 38
+            "y": 22
           },
           "id": 90,
           "options": {
@@ -1214,7 +1220,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -1229,7 +1236,7 @@
             "h": 8,
             "w": 12,
             "x": 12,
-            "y": 38
+            "y": 22
           },
           "id": 92,
           "options": {
@@ -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",
@@ -4156,8 +4252,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4246,8 +4341,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4336,8 +4430,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4425,8 +4518,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4443,7 +4535,7 @@
             "x": 12,
             "y": 16
           },
-          "id": 48,
+          "id": 180,
           "options": {
             "legend": {
               "calcs": [],
@@ -4514,8 +4606,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4604,8 +4695,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4710,8 +4800,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4803,8 +4892,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -4896,8 +4984,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -7053,8 +7140,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -7145,8 +7231,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -7238,8 +7323,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -7330,8 +7414,7 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green",
-                    "value": null
+                    "color": "green"
                   },
                   {
                     "color": "red",
@@ -7386,7 +7469,6 @@
   "revision": 1,
   "schemaVersion": 38,
   "style": "dark",
-  "submenuSticky": 0,
   "tags": [],
   "templating": {
     "list": []
@@ -7399,6 +7481,6 @@
   "timezone": "",
   "title": "Celeborn",
   "uid": "U_qgru_7z",
-  "version": 16,
+  "version": 3,
   "weekStart": ""
-}
+}
\ No newline at end of file

Reply via email to