@@ -106,7 +106,7 @@ data:
106106 "type": "stat",
107107 "title": "Log Lines",
108108 "gridPos": {"x": 12, "y": 0, "w": 4, "h": 4},
109- "datasource": " Loki",
109+ "datasource": {"type": "loki", "uid": " Loki"} ,
110110 "fieldConfig": {"defaults": {"unit": "short"}},
111111 "options": {"reduceOptions": {"calcs": ["lastNotNull"], "values": false}},
112112 "targets": [
@@ -117,7 +117,7 @@ data:
117117 "type": "stat",
118118 "title": "Backend Errors",
119119 "gridPos": {"x": 16, "y": 0, "w": 4, "h": 4},
120- "datasource": " Loki",
120+ "datasource": {"type": "loki", "uid": " Loki"} ,
121121 "fieldConfig": {
122122 "defaults": {
123123 "unit": "short",
@@ -140,7 +140,7 @@ data:
140140 "type": "stat",
141141 "title": "Frontend 5xx",
142142 "gridPos": {"x": 20, "y": 0, "w": 4, "h": 4},
143- "datasource": " Loki",
143+ "datasource": {"type": "loki", "uid": " Loki"} ,
144144 "fieldConfig": {
145145 "defaults": {
146146 "unit": "short",
@@ -163,7 +163,7 @@ data:
163163 "type": "timeseries",
164164 "title": "Log Lines by Namespace",
165165 "gridPos": {"x": 0, "y": 4, "w": 8, "h": 7},
166- "datasource": " Loki",
166+ "datasource": {"type": "loki", "uid": " Loki"} ,
167167 "fieldConfig": {"defaults": {"unit": "logs/sec"}},
168168 "targets": [
169169 {"expr": "sum by (namespace) (rate({namespace=~\"code-place-dev|code-place-prod|monitoring|kube-system\"}[5m]))", "legendFormat": "{{namespace}}"}
@@ -173,7 +173,7 @@ data:
173173 "type": "timeseries",
174174 "title": "Application Log Lines by App",
175175 "gridPos": {"x": 8, "y": 4, "w": 8, "h": 7},
176- "datasource": " Loki",
176+ "datasource": {"type": "loki", "uid": " Loki"} ,
177177 "fieldConfig": {"defaults": {"unit": "logs/sec"}},
178178 "targets": [
179179 {"expr": "sum by (namespace, app) (rate({namespace=~\"code-place-dev|code-place-prod\", app=~\"backend|frontend\"}[5m]))", "legendFormat": "{{namespace}} {{app}}"},
@@ -184,7 +184,7 @@ data:
184184 "type": "timeseries",
185185 "title": "Structured Error Logs by Component",
186186 "gridPos": {"x": 16, "y": 4, "w": 8, "h": 7},
187- "datasource": " Loki",
187+ "datasource": {"type": "loki", "uid": " Loki"} ,
188188 "fieldConfig": {"defaults": {"unit": "logs/sec"}},
189189 "targets": [
190190 {"expr": "sum by (namespace, app) (rate({namespace=~\"code-place-dev|code-place-prod\", app=~\"backend|frontend\"} | json | level=~\"ERROR|CRITICAL\" [5m]))", "legendFormat": "{{namespace}} {{app}}"},
@@ -195,7 +195,7 @@ data:
195195 "type": "stat",
196196 "title": "Ingress 5xx",
197197 "gridPos": {"x": 0, "y": 11, "w": 4, "h": 4},
198- "datasource": " Loki",
198+ "datasource": {"type": "loki", "uid": " Loki"} ,
199199 "fieldConfig": {
200200 "defaults": {
201201 "unit": "short",
@@ -218,7 +218,7 @@ data:
218218 "type": "timeseries",
219219 "title": "Log Lines by Node",
220220 "gridPos": {"x": 0, "y": 15, "w": 4, "h": 6},
221- "datasource": " Loki",
221+ "datasource": {"type": "loki", "uid": " Loki"} ,
222222 "fieldConfig": {"defaults": {"unit": "logs/sec"}},
223223 "targets": [
224224 {"expr": "sum by (node) (rate({namespace=~\"code-place-dev|code-place-prod|monitoring|kube-system\"}[5m]))", "legendFormat": "{{node}}"}
@@ -228,7 +228,7 @@ data:
228228 "type": "logs",
229229 "title": "Recent Backend Errors",
230230 "gridPos": {"x": 4, "y": 11, "w": 10, "h": 10},
231- "datasource": " Loki",
231+ "datasource": {"type": "loki", "uid": " Loki"} ,
232232 "options": {
233233 "showLabels": false,
234234 "showTime": true,
@@ -243,7 +243,7 @@ data:
243243 "type": "logs",
244244 "title": "Auth, Judge, Celery, and vLLM Logs",
245245 "gridPos": {"x": 14, "y": 11, "w": 10, "h": 10},
246- "datasource": " Loki",
246+ "datasource": {"type": "loki", "uid": " Loki"} ,
247247 "options": {
248248 "showLabels": false,
249249 "showTime": true,
@@ -258,7 +258,7 @@ data:
258258 "type": "logs",
259259 "title": "Ingress and Frontend 4xx/5xx Logs",
260260 "gridPos": {"x": 0, "y": 21, "w": 24, "h": 8},
261- "datasource": " Loki",
261+ "datasource": {"type": "loki", "uid": " Loki"} ,
262262 "options": {
263263 "showLabels": false,
264264 "showTime": true,
@@ -274,7 +274,7 @@ data:
274274 "type": "logs",
275275 "title": "Request ID Lookup",
276276 "gridPos": {"x": 0, "y": 29, "w": 24, "h": 9},
277- "datasource": " Loki",
277+ "datasource": {"type": "loki", "uid": " Loki"} ,
278278 "options": {
279279 "showLabels": false,
280280 "showTime": true,
@@ -289,7 +289,7 @@ data:
289289 "type": "logs",
290290 "title": "Frontend Runtime Error Reports",
291291 "gridPos": {"x": 0, "y": 38, "w": 24, "h": 8},
292- "datasource": " Loki",
292+ "datasource": {"type": "loki", "uid": " Loki"} ,
293293 "options": {
294294 "showLabels": false,
295295 "showTime": true,
0 commit comments