diff --git a/dashboards/cumulative.json b/dashboards/cumulative.json index 0270e4b073c86350c6a37d4efdf10fb9c697efab..2fb7c741d4eb2244fb9bd1fe45b3098b129258e0 100644 --- a/dashboards/cumulative.json +++ b/dashboards/cumulative.json @@ -394,15 +394,19 @@ "y": 14 }, "hiddenSeries": false, - "id": 8, + "id": 18, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": false, + "max": true, + "min": true, + "rightSide": true, "show": true, "total": false, - "values": false + "values": true }, "lines": true, "linewidth": 1, @@ -416,21 +420,29 @@ "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, - "stack": true, + "stack": false, "steppedLine": false, "targets": [ { - "expr": "irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8", + "expr": "sum(irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8)", + "instant": false, "interval": "", - "legendFormat": "{{service_id}}", + "legendFormat": "total_send", "refId": "A" + }, + { + "expr": "sum(irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8) ", + "instant": false, + "interval": "", + "legendFormat": "total_receive", + "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Sum Network Transmit", + "title": "Total Network Consumption", "tooltip": { "shared": true, "sort": 0, @@ -446,6 +458,8 @@ }, "yaxes": [ { + "$$hashKey": "object:184", + "decimals": null, "format": "bps", "label": null, "logBase": 1, @@ -454,12 +468,13 @@ "show": true }, { + "$$hashKey": "object:185", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, - "show": true + "show": false } ], "yaxis": { @@ -570,7 +585,7 @@ "y": 22 }, "hiddenSeries": false, - "id": 6, + "id": 8, "legend": { "avg": false, "current": false, @@ -596,7 +611,7 @@ "steppedLine": false, "targets": [ { - "expr": "irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8", + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8", "interval": "", "legendFormat": "{{service_id}}", "refId": "A" @@ -606,7 +621,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Sum Network Received", + "title": "Sum Network Transmit", "tooltip": { "shared": true, "sort": 0, @@ -731,6 +746,94 @@ "alignLevel": null } }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 30 + }, + "hiddenSeries": false, + "id": 6, + "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": true, + "steppedLine": false, + "targets": [ + { + "expr": "irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Sum Network Received", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bps", + "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, @@ -852,4 +955,4 @@ "list": [] }, "version": 1 -} +} \ No newline at end of file