Skip to content

Commit

Permalink
improve grafana plots
Browse files Browse the repository at this point in the history
Signed-off-by: Fotis Nikolaidis <nikolaidis.fotis@gmail.com>
  • Loading branch information
fnikolai committed Dec 5, 2022
1 parent c0173df commit 0a09344
Show file tree
Hide file tree
Showing 4 changed files with 1,561 additions and 1,819 deletions.
3 changes: 3 additions & 0 deletions charts/federated-learning/fedbed/templates/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
- -c # Read from string
- | # Multi-line str
set -eux
cut -d ' ' -f 4 /proc/self/stat > /dev/shm/app # Sidecar: use it for entering the cgroup
python server.py
Expand Down Expand Up @@ -109,6 +111,7 @@ spec:
- -c # Read from string
- | # Multi-line str
set -eux
cut -d ' ' -f 4 /proc/self/stat > /dev/shm/app # Sidecar: use it for entering the cgroup
# do it like that until I find a better way to go from fl.dataset.cifar10 to cifar10.
FL_DATASET=$(basename {{"{{.inputs.parameters.dataset}}"}})
Expand Down
113 changes: 72 additions & 41 deletions charts/system/dashboards/analytics.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"gnetId": 315,
"graphTooltip": 0,
"id": 1,
"iteration": 1656342183612,
"iteration": 1670246624998,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -163,6 +163,7 @@
"exemplar": true,
"expr": "sum(container_memory_working_set_bytes{node=~\"$node\"}) / max (machine_memory_bytes{node=~\"$node\"}) * 100",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "usage"
Expand Down Expand Up @@ -794,7 +795,7 @@
"exemplar": true,
"expr": "sum(max(machine_cpu_cores) by (node))",
"format": "table",
"instant": true,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
Expand Down Expand Up @@ -953,8 +954,8 @@
{
"datasource": null,
"gridPos": {
"h": 6,
"w": 24,
"h": 8,
"w": 6,
"x": 0,
"y": 10
},
Expand Down Expand Up @@ -1051,7 +1052,8 @@
},
"custom": {
"align": "auto",
"displayMode": "auto"
"displayMode": "auto",
"filterable": false
},
"mappings": [],
"thresholds": {
Expand Down Expand Up @@ -1080,10 +1082,10 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 8,
"w": 12,
"x": 0,
"y": 16
"x": 6,
"y": 10
},
"id": 74,
"options": {
Expand All @@ -1097,7 +1099,7 @@
"expr": "max(up) by (node, instance)",
"format": "table",
"hide": false,
"instant": true,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
Expand All @@ -1108,15 +1110,44 @@
"timeShift": null,
"title": "Placement Table",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Time": {
"aggregations": [
"first",
"last"
],
"operation": "aggregate"
},
"Value": {
"aggregations": [],
"operation": "groupby"
},
"instance": {
"aggregations": [],
"operation": "groupby"
},
"node": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time": false,
"Value": true
},
"indexByName": {},
"renameByName": {
"Time": "Time",
"Time (first)": "Started",
"Time (last)": "To",
"Value": "",
"instance": "Instance",
"node": "Node"
Expand Down Expand Up @@ -1158,10 +1189,10 @@
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 16
"h": 8,
"w": 6,
"x": 18,
"y": 10
},
"id": 137,
"links": [],
Expand Down Expand Up @@ -1201,7 +1232,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 26
"y": 18
},
"id": 129,
"panels": [],
Expand All @@ -1214,7 +1245,7 @@
"h": 2,
"w": 24,
"x": 0,
"y": 27
"y": 19
},
"id": 119,
"options": {
Expand Down Expand Up @@ -1302,7 +1333,7 @@
"h": 9,
"w": 24,
"x": 0,
"y": 29
"y": 21
},
"id": 78,
"options": {
Expand Down Expand Up @@ -1397,7 +1428,7 @@
"h": 9,
"w": 24,
"x": 0,
"y": 38
"y": 30
},
"id": 110,
"options": {
Expand Down Expand Up @@ -1446,7 +1477,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 47
"y": 39
},
"id": 131,
"panels": [],
Expand All @@ -1459,7 +1490,7 @@
"h": 2,
"w": 24,
"x": 0,
"y": 48
"y": 40
},
"id": 134,
"options": {
Expand Down Expand Up @@ -1586,7 +1617,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 50
"y": 42
},
"id": 109,
"links": [],
Expand Down Expand Up @@ -1686,7 +1717,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 58
"y": 50
},
"id": 112,
"links": [],
Expand Down Expand Up @@ -1778,7 +1809,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 66
"y": 58
},
"id": 139,
"links": [],
Expand Down Expand Up @@ -1869,7 +1900,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 74
"y": 66
},
"id": 140,
"links": [],
Expand Down Expand Up @@ -1960,7 +1991,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 82
"y": 74
},
"id": 141,
"links": [],
Expand Down Expand Up @@ -2012,7 +2043,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 90
"y": 82
},
"heatmap": {},
"hideZeroBuckets": false,
Expand Down Expand Up @@ -2118,7 +2149,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 98
"y": 90
},
"id": 126,
"links": [],
Expand Down Expand Up @@ -2159,7 +2190,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 106
"y": 98
},
"id": 133,
"panels": [],
Expand All @@ -2172,7 +2203,7 @@
"h": 2,
"w": 24,
"x": 0,
"y": 107
"y": 99
},
"id": 122,
"options": {
Expand Down Expand Up @@ -2255,7 +2286,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 109
"y": 101
},
"id": 123,
"links": [],
Expand Down Expand Up @@ -2360,7 +2391,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 120
"y": 112
},
"id": 113,
"links": [],
Expand Down Expand Up @@ -2456,7 +2487,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 131
"y": 123
},
"id": 115,
"links": [],
Expand Down Expand Up @@ -2560,7 +2591,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 142
"y": 134
},
"id": 117,
"links": [],
Expand Down Expand Up @@ -2667,7 +2698,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 153
"y": 145
},
"id": 114,
"links": [],
Expand Down Expand Up @@ -2773,7 +2804,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 164
"y": 156
},
"id": 118,
"links": [],
Expand Down Expand Up @@ -2831,7 +2862,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 175
"y": 167
},
"heatmap": {},
"hideZeroBuckets": true,
Expand Down Expand Up @@ -2949,7 +2980,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 186
"y": 178
},
"id": 121,
"links": [],
Expand Down Expand Up @@ -3080,7 +3111,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 197
"y": 189
},
"id": 125,
"links": [],
Expand Down Expand Up @@ -3134,7 +3165,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 208
"y": 200
},
"id": 136,
"panels": [],
Expand Down Expand Up @@ -3224,7 +3255,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 209
"y": 201
},
"id": 97,
"links": [],
Expand Down Expand Up @@ -3355,7 +3386,7 @@
"h": 11,
"w": 24,
"x": 0,
"y": 220
"y": 212
},
"id": 100,
"links": [],
Expand Down
Loading

0 comments on commit 0a09344

Please sign in to comment.