From c83949e53847e46e42c6583b13e8a5262a0a5cbf Mon Sep 17 00:00:00 2001 From: MarkRoss-Eviden <53598199+MarkRoss-Eviden@users.noreply.github.com> Date: Fri, 20 Sep 2024 17:06:57 +0100 Subject: [PATCH] feature/grafana-entropy (#187) * added entropy graphing * updated with moving average --- .../deepracer-training-template.json | 199 ++++++++++++++++++ 1 file changed, 199 insertions(+) diff --git a/docker/metrics/grafana/provisioning/dashboards/deepracer-training-template.json b/docker/metrics/grafana/provisioning/dashboards/deepracer-training-template.json index 7b10f9d1..5de2df71 100644 --- a/docker/metrics/grafana/provisioning/dashboards/deepracer-training-template.json +++ b/docker/metrics/grafana/provisioning/dashboards/deepracer-training-template.json @@ -1039,6 +1039,205 @@ ], "title": "Training Complete Lap times", "type": "timeseries" + }, + { + "datasource": {}, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "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 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": ".*entropy moving average" + }, + "properties": [ + { + "id": "custom.drawStyle", + "value": "line" + }, + { + "id": "custom.showPoints", + "value": "never" + }, + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 31 + }, + "id": 7, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max", + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "$tag_model entropy", + "datasource": {}, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "model" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "dr_sagemaker_epochs", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "entropy" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "$tag_model entropy moving average", + "datasource": {}, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "model" + ], + "type": "tag" + } + ], + "hide": false, + "measurement": "dr_sagemaker_epochs", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "entropy" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + 10 + ], + "type": "moving_average" + } + ] + ], + "tags": [] + } + ], + "title": "Epoch", + "type": "timeseries" } ], "refresh": "10s",