Skip to content

Commit fa2cee3

Browse files
committed
Update dashboard
1 parent f98d937 commit fa2cee3

File tree

2 files changed

+33
-44
lines changed

2 files changed

+33
-44
lines changed

kustomization/dashboards/vehicle-data.json

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -134,22 +134,22 @@
134134
"showLegend": true,
135135
"style": {
136136
"color": {
137-
"fixed": "dark-red"
137+
"fixed": "semi-dark-blue"
138138
},
139-
"opacity": 0.2,
139+
"opacity": 1,
140140
"rotation": {
141141
"fixed": 0,
142142
"max": 360,
143143
"min": -360,
144144
"mode": "mod"
145145
},
146146
"size": {
147-
"fixed": 10,
148-
"max": 20,
149-
"min": 15
147+
"fixed": 1,
148+
"max": 15,
149+
"min": 2
150150
},
151151
"symbol": {
152-
"fixed": "img/icons/marker/star.svg",
152+
"fixed": "img/icons/marker/circle.svg",
153153
"mode": "fixed"
154154
},
155155
"symbolAlign": {
@@ -170,7 +170,7 @@
170170
"longitude": "7SAYGDEEXRA288618 LocationLongitude",
171171
"mode": "coords"
172172
},
173-
"name": "Destinations",
173+
"name": "Car",
174174
"tooltip": true,
175175
"type": "markers"
176176
},
@@ -179,7 +179,7 @@
179179
"showLegend": true,
180180
"style": {
181181
"color": {
182-
"fixed": "semi-dark-blue"
182+
"fixed": "dark-red"
183183
},
184184
"opacity": 1,
185185
"rotation": {
@@ -194,13 +194,18 @@
194194
"min": 2
195195
},
196196
"symbol": {
197-
"fixed": "img/icons/marker/circle.svg",
197+
"fixed": "img/icons/marker/star.svg",
198198
"mode": "fixed"
199199
},
200200
"symbolAlign": {
201201
"horizontal": "center",
202202
"vertical": "center"
203203
},
204+
"text": {
205+
"field": "7SAYGDEEXRA288618 DestinationLocationLatitude",
206+
"fixed": "",
207+
"mode": "fixed"
208+
},
204209
"textConfig": {
205210
"fontSize": 12,
206211
"offsetX": 0,
@@ -211,11 +216,11 @@
211216
}
212217
},
213218
"location": {
214-
"latitude": "7SAYGDEEXRA288618 LocationLatitude",
215-
"longitude": "7SAYGDEEXRA288618 LocationLongitude",
219+
"latitude": "7SAYGDEEXRA288618 DestinationLocationLatitude",
220+
"longitude": "7SAYGDEEXRA288618 DestinationLocationLongitude",
216221
"mode": "coords"
217222
},
218-
"name": "Car",
223+
"name": "Destination",
219224
"tooltip": true,
220225
"type": "markers"
221226
}
@@ -644,21 +649,6 @@
644649
"legendFormat": "{{vin}} Voltage",
645650
"range": true,
646651
"refId": "B"
647-
},
648-
{
649-
"datasource": {
650-
"type": "prometheus",
651-
"uid": "prometheus"
652-
},
653-
"editorMode": "code",
654-
"exemplar": false,
655-
"expr": "(avg(vehicle_data{field=\"PackCurrent\"}) by (vin)) * (avg(vehicle_data{field=\"PackVoltage\"}) by (vin))",
656-
"format": "time_series",
657-
"hide": false,
658-
"instant": false,
659-
"legendFormat": "{{vin}} Power",
660-
"range": true,
661-
"refId": "C"
662652
}
663653
],
664654
"title": "Battery",
@@ -876,27 +866,27 @@
876866
"fieldConfig": {
877867
"defaults": {
878868
"color": {
879-
"mode": "palette-classic"
869+
"mode": "continuous-GrYlRd"
880870
},
881871
"custom": {
882872
"axisBorderShow": false,
883873
"axisCenteredZero": false,
884874
"axisColorMode": "text",
885-
"axisLabel": "Distance (km)",
886-
"axisPlacement": "hidden",
875+
"axisLabel": "",
876+
"axisPlacement": "auto",
887877
"barAlignment": 0,
888878
"barWidthFactor": 0.6,
889-
"drawStyle": "points",
890-
"fillOpacity": 0,
891-
"gradientMode": "none",
879+
"drawStyle": "line",
880+
"fillOpacity": 20,
881+
"gradientMode": "scheme",
892882
"hideFrom": {
893883
"legend": false,
894884
"tooltip": false,
895885
"viz": false
896886
},
897887
"insertNulls": false,
898-
"lineInterpolation": "linear",
899-
"lineWidth": 1,
888+
"lineInterpolation": "smooth",
889+
"lineWidth": 3,
900890
"pointSize": 5,
901891
"scaleDistribution": {
902892
"type": "linear"
@@ -924,8 +914,7 @@
924914
"value": 80
925915
}
926916
]
927-
},
928-
"unit": "short"
917+
}
929918
},
930919
"overrides": []
931920
},
@@ -939,9 +928,9 @@
939928
"options": {
940929
"legend": {
941930
"calcs": [],
942-
"displayMode": "list",
943-
"placement": "bottom",
944-
"showLegend": true
931+
"displayMode": "hidden",
932+
"placement": "right",
933+
"showLegend": false
945934
},
946935
"tooltip": {
947936
"mode": "single",
@@ -1158,13 +1147,13 @@
11581147
"list": []
11591148
},
11601149
"time": {
1161-
"from": "now-6h",
1150+
"from": "now-12h",
11621151
"to": "now"
11631152
},
11641153
"timepicker": {},
11651154
"timezone": "",
11661155
"title": "Vehicle Data",
11671156
"uid": "cdz1a9i11r3lsf",
1168-
"version": 14,
1157+
"version": 2,
11691158
"weekStart": ""
11701159
}

kustomization/fleet-telemetry-consumer/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"aws": {
99
"bucket": "ceph-bkt-tesla",
1010
"endpoint": "http://rook-ceph-rgw-my-store.rook-ceph:80",
11-
"accessKey": "NT3HV94UFA7M724PL5RM",
12-
"secretKey": "pskWHqYLK6Jpcjz0NSCrrfZqPlnLxzAB5HdK1Mpt",
11+
"accessKey": "9SVU0V9W84O4I80U0RR6",
12+
"secretKey": "31zQ864x0rvWHwyWlTcYhUXJjo7nEJ4uwUCarOB8",
1313
"region": "us-west-1"
1414
}
1515
}

0 commit comments

Comments
 (0)