blob: 0b4766d0dca3d64ac485bf810fd2cf77e6f7dacc [file] [log] [blame]
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -08001{
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": "-- Grafana --",
7 "enable": true,
8 "hide": true,
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
11 "type": "dashboard"
12 }
13 ]
14 },
15 "editable": true,
16 "gnetId": null,
17 "graphTooltip": 0,
Hyunsun Moon7c8779e2020-02-03 18:53:16 -080018 "id": 2,
19 "iteration": 1580781656482,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080020 "links": [],
21 "panels": [
22 {
23 "collapsed": false,
24 "datasource": null,
25 "gridPos": {
26 "h": 1,
27 "w": 24,
28 "x": 0,
29 "y": 0
30 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080031 "id": 31,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080032 "panels": [],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080033 "repeat": "site",
34 "title": "$site",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080035 "type": "row"
36 },
37 {
38 "cacheTimeout": null,
39 "colorBackground": false,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080040 "colorValue": false,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080041 "colors": [
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080042 "#299c46",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080043 "rgba(237, 129, 40, 0.89)",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080044 "#d44a3a"
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080045 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080046 "datasource": null,
47 "format": "s",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080048 "gauge": {
49 "maxValue": 100,
50 "minValue": 0,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080051 "show": false,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080052 "thresholdLabels": false,
53 "thresholdMarkers": true
54 },
55 "gridPos": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080056 "h": 4,
57 "w": 4,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080058 "x": 0,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080059 "y": 1
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080060 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080061 "id": 29,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080062 "interval": null,
63 "links": [],
64 "mappingType": 1,
65 "mappingTypes": [
66 {
67 "name": "value to text",
68 "value": 1
69 },
70 {
71 "name": "range to text",
72 "value": 2
73 }
74 ],
75 "maxDataPoints": 100,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080076 "nullPointMode": "connected",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080077 "nullText": null,
78 "options": {},
79 "postfix": "",
80 "postfixFontSize": "50%",
81 "prefix": "",
82 "prefixFontSize": "50%",
83 "rangeMaps": [
84 {
85 "from": "null",
86 "text": "N/A",
87 "to": "null"
88 }
89 ],
90 "repeat": null,
91 "repeatDirection": "v",
92 "sparkline": {
93 "fillColor": "rgba(31, 118, 189, 0.18)",
94 "full": false,
95 "lineColor": "rgb(31, 120, 193)",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080096 "show": false,
97 "ymax": null,
98 "ymin": null
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -080099 },
100 "tableColumn": "",
101 "targets": [
102 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800103 "expr": "sum(time() - kube_pod_created{datacenter=\"$site\",pod=~\"spgwu.*\"})",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800104 "refId": "A"
105 }
106 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800107 "thresholds": "",
108 "timeFrom": null,
109 "timeShift": null,
110 "title": "Age",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800111 "type": "singlestat",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800112 "valueFontSize": "100%",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800113 "valueMaps": [
114 {
115 "op": "=",
116 "text": "N/A",
117 "value": "null"
118 }
119 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800120 "valueName": "avg"
121 },
122 {
123 "cacheTimeout": null,
124 "datasource": "Prometheus",
125 "description": "",
126 "gridPos": {
127 "h": 8,
128 "w": 4,
129 "x": 4,
130 "y": 1
131 },
132 "id": 10,
133 "links": [],
134 "options": {
135 "fieldOptions": {
136 "calcs": [
137 "mean"
138 ],
139 "defaults": {
140 "mappings": [],
141 "max": 100,
142 "min": 0,
143 "thresholds": [
144 {
145 "color": "green",
146 "value": null
147 },
148 {
149 "color": "red",
150 "value": 80
151 }
Hyunsun Moon7c8779e2020-02-03 18:53:16 -0800152 ],
153 "unit": "percent"
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800154 },
155 "override": {},
156 "values": false
157 },
158 "orientation": "horizontal",
159 "showThresholdLabels": false,
160 "showThresholdMarkers": true
161 },
162 "pluginVersion": "6.4.2",
163 "repeat": null,
164 "repeatDirection": "v",
165 "targets": [
166 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800167 "expr": "sum(rate(container_cpu_usage_seconds_total{datacenter=\"$site\", image!=\"\", container_name!=\"POD\", pod_name=~\"spgwu.*\"}[5m])) / sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", pod=~\"spgwu.*\"}) * 100",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800168 "format": "time_series",
169 "interval": "10s",
170 "intervalFactor": 1,
171 "legendFormat": "",
172 "refId": "A"
173 }
174 ],
175 "title": "SPGWU CPU Utilization",
176 "type": "gauge"
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800177 },
178 {
179 "cacheTimeout": null,
180 "colorBackground": false,
181 "colorValue": true,
182 "colors": [
183 "rgba(50, 172, 45, 0.97)",
184 "rgba(237, 129, 40, 0.89)",
185 "rgba(245, 54, 54, 0.9)"
186 ],
187 "datasource": "Prometheus",
188 "decimals": null,
189 "description": "",
190 "format": "percent",
191 "gauge": {
192 "maxValue": 100,
193 "minValue": 0,
194 "show": true,
195 "thresholdLabels": false,
196 "thresholdMarkers": true
197 },
198 "gridPos": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800199 "h": 8,
200 "w": 4,
201 "x": 8,
202 "y": 1
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800203 },
204 "id": 12,
205 "interval": null,
206 "links": [],
207 "mappingType": 1,
208 "mappingTypes": [
209 {
210 "name": "value to text",
211 "value": 1
212 },
213 {
214 "name": "range to text",
215 "value": 2
216 }
217 ],
218 "maxDataPoints": 100,
219 "maxPerRow": 12,
220 "nullPointMode": "null",
221 "nullText": null,
222 "options": {},
223 "postfix": "",
224 "postfixFontSize": "50%",
225 "prefix": "",
226 "prefixFontSize": "50%",
227 "rangeMaps": [
228 {
229 "from": "null",
230 "text": "N/A",
231 "to": "null"
232 }
233 ],
234 "repeat": null,
235 "repeatDirection": "v",
236 "sparkline": {
237 "fillColor": "rgba(31, 118, 189, 0.18)",
238 "full": false,
239 "lineColor": "rgb(31, 120, 193)",
240 "show": true
241 },
242 "tableColumn": "",
243 "targets": [
244 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800245 "expr": "100 * (sum(container_memory_usage_bytes{datacenter=\"$site\", pod_name=~\"spgwu.*\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{datacenter=\"$site\", pod_name=~\"spgwu.*\", container_name!=\"POD\"}))",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800246 "format": "time_series",
247 "hide": false,
248 "instant": false,
249 "interval": "10s",
250 "intervalFactor": 1,
251 "refId": "A"
252 }
253 ],
254 "thresholds": "85,95",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800255 "title": "SPGWU Memory Utilization",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800256 "type": "singlestat",
257 "valueFontSize": "80%",
258 "valueMaps": [
259 {
260 "op": "=",
261 "text": "N/A",
262 "value": "null"
263 }
264 ],
265 "valueName": "current"
266 },
267 {
268 "aliasColors": {},
269 "bars": false,
270 "dashLength": 10,
271 "dashes": false,
272 "datasource": null,
273 "fill": 2,
274 "fillGradient": 0,
275 "gridPos": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800276 "h": 8,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800277 "w": 12,
278 "x": 12,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800279 "y": 1
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800280 },
281 "id": 2,
282 "legend": {
283 "alignAsTable": true,
284 "avg": true,
285 "current": true,
286 "max": false,
287 "min": false,
288 "rightSide": true,
289 "show": true,
290 "total": false,
291 "values": true
292 },
293 "lines": true,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800294 "linewidth": 1,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800295 "links": [],
296 "nullPointMode": "null",
297 "options": {
298 "dataLinks": []
299 },
300 "percentage": false,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800301 "pointradius": 1,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800302 "points": false,
303 "renderer": "flot",
304 "repeat": null,
305 "repeatDirection": "v",
306 "seriesOverrides": [],
307 "spaceLength": 10,
308 "stack": false,
309 "steppedLine": false,
310 "targets": [
311 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800312 "expr": "sum(rate(container_network_receive_bytes_total{datacenter=\"$site\", pod_name=~\"spgwu.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800313 "format": "time_series",
314 "interval": "10s",
315 "intervalFactor": 1,
316 "legendFormat": "rx: {{ interface }}",
317 "refId": "B"
318 },
319 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800320 "expr": "-sum(rate(container_network_transmit_bytes_total{datacenter=\"$site\", pod_name=~\"spgwu.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800321 "format": "time_series",
322 "interval": "10s",
323 "intervalFactor": 1,
324 "legendFormat": "tx: {{ interface }}",
325 "refId": "A"
326 }
327 ],
328 "thresholds": [],
329 "timeFrom": null,
330 "timeRegions": [],
331 "timeShift": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800332 "title": "SPGWU Network I/O",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800333 "tooltip": {
334 "shared": true,
335 "sort": 1,
336 "value_type": "individual"
337 },
338 "type": "graph",
339 "xaxis": {
340 "buckets": null,
341 "mode": "time",
342 "name": null,
343 "show": true,
344 "values": []
345 },
346 "yaxes": [
347 {
348 "format": "Bps",
349 "label": null,
350 "logBase": 1,
351 "max": null,
352 "min": null,
353 "show": true
354 },
355 {
356 "format": "Bps",
357 "label": null,
358 "logBase": 1,
359 "max": null,
360 "min": null,
361 "show": false
362 }
363 ],
364 "yaxis": {
365 "align": false,
366 "alignLevel": null
367 }
368 },
369 {
370 "cacheTimeout": null,
371 "colorBackground": false,
372 "colorValue": false,
373 "colors": [
374 "#299c46",
375 "rgba(237, 129, 40, 0.89)",
376 "#d44a3a"
377 ],
378 "datasource": null,
Hyunsun Moon7c8779e2020-02-03 18:53:16 -0800379 "format": "none",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800380 "gauge": {
381 "maxValue": 100,
382 "minValue": 0,
383 "show": false,
384 "thresholdLabels": false,
385 "thresholdMarkers": true
386 },
387 "gridPos": {
388 "h": 4,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800389 "w": 4,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800390 "x": 0,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800391 "y": 5
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800392 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800393 "id": 32,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800394 "interval": null,
395 "links": [],
396 "mappingType": 1,
397 "mappingTypes": [
398 {
399 "name": "value to text",
400 "value": 1
401 },
402 {
403 "name": "range to text",
404 "value": 2
405 }
406 ],
407 "maxDataPoints": 100,
408 "nullPointMode": "connected",
409 "nullText": null,
410 "options": {},
411 "postfix": "",
412 "postfixFontSize": "50%",
413 "prefix": "",
414 "prefixFontSize": "50%",
415 "rangeMaps": [
416 {
417 "from": "null",
418 "text": "N/A",
419 "to": "null"
420 }
421 ],
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800422 "repeatDirection": "v",
423 "sparkline": {
424 "fillColor": "rgba(31, 118, 189, 0.18)",
425 "full": false,
426 "lineColor": "rgb(31, 120, 193)",
427 "show": false,
428 "ymax": null,
429 "ymin": null
430 },
431 "tableColumn": "",
432 "targets": [
433 {
Hyunsun Moon7c8779e2020-02-03 18:53:16 -0800434 "expr": "count(ue_info{EDGE=\"$site\"})",
435 "instant": true,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800436 "refId": "A"
437 }
438 ],
439 "thresholds": "",
440 "timeFrom": null,
441 "timeShift": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800442 "title": "Number of Subscribers",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800443 "type": "singlestat",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800444 "valueFontSize": "100%",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800445 "valueMaps": [
446 {
447 "op": "=",
448 "text": "N/A",
449 "value": "null"
450 }
451 ],
452 "valueName": "avg"
453 },
454 {
455 "cacheTimeout": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800456 "colorBackground": true,
457 "colorPrefix": false,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800458 "colorValue": false,
459 "colors": [
460 "#299c46",
461 "rgba(237, 129, 40, 0.89)",
462 "#d44a3a"
463 ],
464 "datasource": null,
465 "format": "none",
466 "gauge": {
467 "maxValue": 100,
468 "minValue": 0,
469 "show": false,
470 "thresholdLabels": false,
471 "thresholdMarkers": true
472 },
473 "gridPos": {
474 "h": 4,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800475 "w": 4,
476 "x": 0,
477 "y": 9
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800478 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800479 "id": 36,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800480 "interval": null,
481 "links": [],
482 "mappingType": 1,
483 "mappingTypes": [
484 {
485 "name": "value to text",
486 "value": 1
487 },
488 {
489 "name": "range to text",
490 "value": 2
491 }
492 ],
493 "maxDataPoints": 100,
494 "nullPointMode": "connected",
495 "nullText": null,
496 "options": {},
497 "postfix": "",
498 "postfixFontSize": "50%",
499 "prefix": "",
500 "prefixFontSize": "50%",
501 "rangeMaps": [
502 {
503 "from": "null",
504 "text": "N/A",
505 "to": "null"
506 }
507 ],
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800508 "repeatDirection": "v",
509 "sparkline": {
510 "fillColor": "rgba(31, 118, 189, 0.18)",
511 "full": false,
512 "lineColor": "rgb(31, 120, 193)",
513 "show": false,
514 "ymax": null,
515 "ymin": null
516 },
517 "tableColumn": "",
518 "targets": [
519 {
Hyunsun Moon790051c2020-02-11 11:07:06 -0800520 "expr": "sum(kube_pod_container_status_restarts_total{datacenter=\"$site\", pod=~\"spgwu.*\"})",
Hyunsun Moona20e71d2020-02-04 12:56:15 -0800521 "instant": true,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800522 "refId": "A"
523 }
524 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800525 "thresholds": "3,10",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800526 "timeFrom": null,
527 "timeShift": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800528 "title": "SPGWU Restarts Total",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800529 "type": "singlestat",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800530 "valueFontSize": "110%",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800531 "valueMaps": [
532 {
533 "op": "=",
534 "text": "N/A",
535 "value": "null"
536 }
537 ],
Hyunsun Moona20e71d2020-02-04 12:56:15 -0800538 "valueName": "min"
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800539 },
540 {
541 "cacheTimeout": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800542 "datasource": "Prometheus",
543 "description": "",
544 "gridPos": {
545 "h": 8,
546 "w": 4,
547 "x": 4,
548 "y": 9
549 },
550 "id": 33,
551 "links": [],
552 "options": {
553 "fieldOptions": {
554 "calcs": [
555 "mean"
556 ],
557 "defaults": {
558 "mappings": [],
559 "max": 100,
560 "min": 0,
561 "thresholds": [
562 {
563 "color": "green",
564 "value": null
565 },
566 {
567 "color": "red",
568 "value": 80
569 }
Hyunsun Moon7c8779e2020-02-03 18:53:16 -0800570 ],
571 "unit": "percent"
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800572 },
573 "override": {},
574 "values": false
575 },
576 "orientation": "horizontal",
577 "showThresholdLabels": false,
578 "showThresholdMarkers": true
579 },
580 "pluginVersion": "6.4.2",
581 "repeatDirection": "v",
582 "targets": [
583 {
Hyunsun Moon85283722020-02-03 21:21:02 -0800584 "expr": "sum(rate(container_cpu_usage_seconds_total{datacenter=\"$site\", image!=\"\", container_name!=\"POD\", pod_name=~\"accelleran-cbrs-cu.*\"}[5m])) / sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", pod=~\"accelleran-cbrs-cu.*\"}) * 100",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800585 "format": "time_series",
586 "interval": "10s",
587 "intervalFactor": 1,
588 "legendFormat": "",
589 "refId": "A"
590 }
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800591 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800592 "title": "Accelleran-CU CPU Utilization",
593 "type": "gauge"
594 },
595 {
596 "cacheTimeout": null,
597 "colorBackground": false,
598 "colorValue": true,
599 "colors": [
600 "rgba(50, 172, 45, 0.97)",
601 "rgba(237, 129, 40, 0.89)",
602 "rgba(245, 54, 54, 0.9)"
603 ],
604 "datasource": "Prometheus",
605 "decimals": null,
606 "description": "",
607 "format": "percent",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800608 "gauge": {
609 "maxValue": 100,
610 "minValue": 0,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800611 "show": true,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800612 "thresholdLabels": false,
613 "thresholdMarkers": true
614 },
615 "gridPos": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800616 "h": 8,
617 "w": 4,
618 "x": 8,
619 "y": 9
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800620 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800621 "id": 34,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800622 "interval": null,
623 "links": [],
624 "mappingType": 1,
625 "mappingTypes": [
626 {
627 "name": "value to text",
628 "value": 1
629 },
630 {
631 "name": "range to text",
632 "value": 2
633 }
634 ],
635 "maxDataPoints": 100,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800636 "maxPerRow": 12,
637 "nullPointMode": "null",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800638 "nullText": null,
639 "options": {},
640 "postfix": "",
641 "postfixFontSize": "50%",
642 "prefix": "",
643 "prefixFontSize": "50%",
644 "rangeMaps": [
645 {
646 "from": "null",
647 "text": "N/A",
648 "to": "null"
649 }
650 ],
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800651 "repeatDirection": "v",
652 "sparkline": {
653 "fillColor": "rgba(31, 118, 189, 0.18)",
654 "full": false,
655 "lineColor": "rgb(31, 120, 193)",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800656 "show": true
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800657 },
658 "tableColumn": "",
659 "targets": [
660 {
Hyunsun Moon85283722020-02-03 21:21:02 -0800661 "expr": "100 * (sum(container_memory_usage_bytes{datacenter=\"$site\", pod_name=~\"accelleran-cbrs-cu.*\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{datacenter=\"$site\", pod_name=~\"accelleran-cbrs-cu.*\", container_name!=\"POD\"}))",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800662 "format": "time_series",
663 "hide": false,
664 "instant": false,
665 "interval": "10s",
666 "intervalFactor": 1,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800667 "refId": "A"
668 }
669 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800670 "thresholds": "85,95",
671 "title": "Accelleran-CU Memory Utilization",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800672 "type": "singlestat",
673 "valueFontSize": "80%",
674 "valueMaps": [
675 {
676 "op": "=",
677 "text": "N/A",
678 "value": "null"
679 }
680 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800681 "valueName": "current"
682 },
683 {
684 "aliasColors": {},
685 "bars": false,
686 "dashLength": 10,
687 "dashes": false,
688 "datasource": null,
689 "fill": 2,
690 "fillGradient": 0,
691 "gridPos": {
692 "h": 8,
693 "w": 12,
694 "x": 12,
695 "y": 9
696 },
697 "id": 35,
698 "legend": {
699 "alignAsTable": true,
700 "avg": true,
701 "current": true,
702 "max": false,
703 "min": false,
704 "rightSide": true,
705 "show": true,
706 "total": false,
707 "values": true
708 },
709 "lines": true,
710 "linewidth": 1,
711 "links": [],
712 "nullPointMode": "null",
713 "options": {
714 "dataLinks": []
715 },
716 "percentage": false,
717 "pointradius": 1,
718 "points": false,
719 "renderer": "flot",
720 "repeatDirection": "v",
721 "seriesOverrides": [],
722 "spaceLength": 10,
723 "stack": false,
724 "steppedLine": false,
725 "targets": [
726 {
Hyunsun Moon85283722020-02-03 21:21:02 -0800727 "expr": "sum(rate(container_network_receive_bytes_total{datacenter=\"$site\", pod_name=~\"accelleran-cbrs-cu.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800728 "format": "time_series",
729 "interval": "10s",
730 "intervalFactor": 1,
731 "legendFormat": "rx: {{ interface }}",
732 "refId": "B"
733 },
734 {
Hyunsun Moon85283722020-02-03 21:21:02 -0800735 "expr": "-sum(rate(container_network_transmit_bytes_total{datacenter=\"$site\", pod_name=~\"accelleran-cbrs-cu.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800736 "format": "time_series",
737 "interval": "10s",
738 "intervalFactor": 1,
739 "legendFormat": "tx: {{ interface }}",
740 "refId": "A"
741 }
742 ],
743 "thresholds": [],
744 "timeFrom": null,
745 "timeRegions": [],
746 "timeShift": null,
747 "title": "Accelleran-CU Network I/O",
748 "tooltip": {
749 "shared": true,
750 "sort": 1,
751 "value_type": "individual"
752 },
753 "type": "graph",
754 "xaxis": {
755 "buckets": null,
756 "mode": "time",
757 "name": null,
758 "show": true,
759 "values": []
760 },
761 "yaxes": [
762 {
763 "format": "Bps",
764 "label": null,
765 "logBase": 1,
766 "max": null,
767 "min": null,
768 "show": true
769 },
770 {
771 "format": "Bps",
772 "label": null,
773 "logBase": 1,
774 "max": null,
775 "min": null,
776 "show": false
777 }
778 ],
779 "yaxis": {
780 "align": false,
781 "alignLevel": null
782 }
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800783 },
784 {
785 "cacheTimeout": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800786 "colorBackground": true,
787 "colorPrefix": false,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800788 "colorValue": false,
789 "colors": [
790 "#299c46",
791 "rgba(237, 129, 40, 0.89)",
792 "#d44a3a"
793 ],
794 "datasource": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800795 "format": "none",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800796 "gauge": {
797 "maxValue": 100,
798 "minValue": 0,
799 "show": false,
800 "thresholdLabels": false,
801 "thresholdMarkers": true
802 },
803 "gridPos": {
804 "h": 4,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800805 "w": 4,
806 "x": 0,
807 "y": 13
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800808 },
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800809 "id": 37,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800810 "interval": null,
811 "links": [],
812 "mappingType": 1,
813 "mappingTypes": [
814 {
815 "name": "value to text",
816 "value": 1
817 },
818 {
819 "name": "range to text",
820 "value": 2
821 }
822 ],
823 "maxDataPoints": 100,
824 "nullPointMode": "connected",
825 "nullText": null,
826 "options": {},
827 "postfix": "",
828 "postfixFontSize": "50%",
829 "prefix": "",
830 "prefixFontSize": "50%",
831 "rangeMaps": [
832 {
833 "from": "null",
834 "text": "N/A",
835 "to": "null"
836 }
837 ],
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800838 "repeatDirection": "v",
839 "sparkline": {
840 "fillColor": "rgba(31, 118, 189, 0.18)",
841 "full": false,
842 "lineColor": "rgb(31, 120, 193)",
843 "show": false,
844 "ymax": null,
845 "ymin": null
846 },
847 "tableColumn": "",
848 "targets": [
849 {
Hyunsun Moon6d393832020-02-11 11:40:30 -0800850 "expr": "sum(kube_pod_container_status_restarts_total{datacenter=\"$site\, pod=~\"accelleran-cbrs-cu.*\"})",
Hyunsun Moona20e71d2020-02-04 12:56:15 -0800851 "instant": true,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800852 "refId": "A"
853 }
854 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800855 "thresholds": "3,10",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800856 "timeFrom": null,
857 "timeShift": null,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800858 "title": "Accelleran-CU Restarts Total",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800859 "type": "singlestat",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800860 "valueFontSize": "110%",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800861 "valueMaps": [
862 {
863 "op": "=",
864 "text": "N/A",
865 "value": "null"
866 }
867 ],
Hyunsun Moona20e71d2020-02-04 12:56:15 -0800868 "valueName": "min"
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800869 }
870 ],
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800871 "refresh": "1m",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800872 "schemaVersion": 20,
873 "style": "dark",
874 "tags": [
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800875 "aether",
876 "omec"
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800877 ],
878 "templating": {
879 "list": [
880 {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800881 "allValue": null,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800882 "current": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800883 "tags": [],
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800884 "text": "All",
885 "value": [
886 "$__all"
887 ]
888 },
889 "datasource": "Prometheus",
890 "definition": "label_values(kube_pod_info, datacenter)",
891 "hide": 0,
892 "includeAll": true,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800893 "label": "Site",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800894 "multi": true,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800895 "name": "site",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800896 "options": [],
897 "query": "label_values(kube_pod_info, datacenter)",
898 "refresh": 2,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800899 "regex": "/.*edge.*/",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800900 "skipUrlSync": false,
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800901 "sort": 0,
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800902 "tagValuesQuery": "",
903 "tags": [],
904 "tagsQuery": "",
905 "type": "query",
906 "useTags": false
907 }
908 ]
909 },
910 "time": {
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800911 "from": "now-3h",
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -0800912 "to": "now"
913 },
914 "timepicker": {
915 "hidden": false,
916 "refresh_intervals": [
917 "5s",
918 "10s",
919 "30s",
920 "1m",
921 "5m",
922 "15m",
923 "30m",
924 "1h",
925 "2h",
926 "1d"
927 ],
928 "time_options": [
929 "5m",
930 "15m",
931 "1h",
932 "6h",
933 "12h",
934 "24h",
935 "2d",
936 "7d",
937 "30d"
938 ]
939 },
940 "timezone": "",
Hyunsun Moonda48dbe2020-02-02 13:26:18 -0800941 "title": "OMEC User Plane Summary",
942 "uid": "jccoF4UWz",
943 "version": 1
944}