blob: 69b657c846e979ec66aa8630dd199b60c128f07d [file] [log] [blame]
Doyoung Lee48f68662019-08-09 13:50:00 -07001{
2 "annotations": {
3 "list": [
4 {
Doyoung Leeba847302019-09-04 18:03:41 -07005 "$$hashKey": "object:175",
Doyoung Lee48f68662019-08-09 13:50:00 -07006 "builtIn": 1,
7 "datasource": "-- Grafana --",
8 "enable": true,
9 "hide": true,
10 "iconColor": "rgba(0, 211, 255, 1)",
11 "name": "Annotations & Alerts",
12 "type": "dashboard"
13 }
14 ]
15 },
16 "editable": true,
17 "gnetId": null,
18 "graphTooltip": 0,
Doyoung Leeba847302019-09-04 18:03:41 -070019 "id": 9,
20 "iteration": 1567571557083,
Doyoung Lee48f68662019-08-09 13:50:00 -070021 "links": [],
22 "panels": [
23 {
24 "collapsed": false,
25 "gridPos": {
26 "h": 1,
27 "w": 24,
28 "x": 0,
29 "y": 0
30 },
31 "id": 4,
32 "panels": [],
33 "repeat": null,
34 "title": "$Pod",
35 "type": "row"
36 },
37 {
38 "cacheTimeout": null,
39 "colorBackground": false,
40 "colorValue": false,
41 "colors": [
42 "#299c46",
43 "rgba(237, 129, 40, 0.89)",
44 "#d44a3a"
45 ],
46 "datasource": null,
47 "format": "none",
48 "gauge": {
49 "maxValue": 100,
50 "minValue": 0,
51 "show": false,
52 "thresholdLabels": false,
53 "thresholdMarkers": true
54 },
55 "gridPos": {
56 "h": 5,
57 "w": 5,
58 "x": 0,
59 "y": 1
60 },
61 "id": 6,
62 "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,
76 "nullPointMode": "connected",
77 "nullText": null,
78 "postfix": "",
79 "postfixFontSize": "50%",
80 "prefix": "",
81 "prefixFontSize": "50%",
82 "rangeMaps": [
83 {
84 "from": "null",
85 "text": "N/A",
86 "to": "null"
87 }
88 ],
89 "sparkline": {
90 "fillColor": "rgba(31, 118, 189, 0.18)",
91 "full": false,
92 "lineColor": "rgb(31, 120, 193)",
93 "show": false
94 },
95 "tableColumn": "",
96 "targets": [
97 {
Doyoung Leeba847302019-09-04 18:03:41 -070098 "expr": "sum(kube_pod_container_resource_requests_cpu_cores{pod=\"$Pod-0\"})",
Doyoung Lee48f68662019-08-09 13:50:00 -070099 "format": "time_series",
100 "intervalFactor": 1,
101 "refId": "A"
102 }
103 ],
104 "thresholds": "",
105 "title": "CPU Cores",
106 "type": "singlestat",
107 "valueFontSize": "80%",
108 "valueMaps": [
109 {
110 "op": "=",
111 "text": "N/A",
112 "value": "null"
113 }
114 ],
115 "valueName": "avg"
116 },
117 {
118 "cacheTimeout": null,
119 "colorBackground": false,
120 "colorValue": true,
121 "colors": [
122 "rgba(50, 172, 45, 0.97)",
123 "rgba(237, 129, 40, 0.89)",
124 "rgba(245, 54, 54, 0.9)"
125 ],
126 "datasource": "Prometheus",
127 "decimals": null,
128 "description": "",
129 "format": "percent",
130 "gauge": {
131 "maxValue": 100,
132 "minValue": 0,
133 "show": true,
134 "thresholdLabels": false,
135 "thresholdMarkers": true
136 },
137 "gridPos": {
138 "h": 5,
139 "w": 5,
140 "x": 5,
141 "y": 1
142 },
143 "id": 10,
144 "interval": null,
145 "links": [],
146 "mappingType": 1,
147 "mappingTypes": [
148 {
149 "name": "value to text",
150 "value": 1
151 },
152 {
153 "name": "range to text",
154 "value": 2
155 }
156 ],
157 "maxDataPoints": 100,
158 "minSpan": 2,
159 "nullPointMode": "null",
160 "nullText": null,
161 "postfix": "",
162 "postfixFontSize": "50%",
163 "prefix": "",
164 "prefixFontSize": "50%",
165 "rangeMaps": [
166 {
167 "from": "null",
168 "text": "N/A",
169 "to": "null"
170 }
171 ],
172 "sparkline": {
173 "fillColor": "rgba(31, 118, 189, 0.18)",
174 "full": false,
175 "lineColor": "rgb(31, 120, 193)",
176 "show": true
177 },
178 "tableColumn": "",
179 "targets": [
180 {
181 "expr": "100 * sum(irate(container_cpu_usage_seconds_total{pod_name=\"$Pod-0\"}[3m])) by (pod_name) / sum(container_spec_cpu_quota / container_spec_cpu_period) by (pod_name)",
182 "format": "time_series",
183 "intervalFactor": 1,
184 "legendFormat": "",
185 "refId": "A"
186 },
187 {
188 "expr": "",
189 "format": "time_series",
190 "intervalFactor": 1,
191 "refId": "B"
192 }
193 ],
194 "thresholds": "85,95",
195 "title": "CPU Usage",
196 "type": "singlestat",
197 "valueFontSize": "80%",
198 "valueMaps": [
199 {
200 "op": "=",
201 "text": "N/A",
202 "value": "null"
203 }
204 ],
205 "valueName": "current"
206 },
207 {
208 "aliasColors": {},
209 "bars": false,
210 "dashLength": 10,
211 "dashes": false,
212 "datasource": null,
213 "fill": 1,
214 "gridPos": {
215 "h": 10,
216 "w": 14,
217 "x": 10,
218 "y": 1
219 },
220 "id": 2,
221 "legend": {
222 "avg": false,
223 "current": false,
224 "max": false,
225 "min": false,
226 "show": true,
227 "total": false,
228 "values": false
229 },
230 "lines": true,
231 "linewidth": 1,
232 "links": [],
233 "nullPointMode": "null",
234 "percentage": false,
235 "pointradius": 5,
236 "points": false,
237 "renderer": "flot",
238 "seriesOverrides": [],
239 "spaceLength": 10,
240 "stack": false,
241 "steppedLine": false,
242 "targets": [
243 {
244 "expr": "sum(irate(container_network_transmit_bytes_total{pod_name=\"$Pod-0\"}[3m])) by (interface)",
245 "format": "time_series",
246 "intervalFactor": 1,
247 "legendFormat": "tx: {{interface}}",
248 "refId": "A"
249 },
250 {
251 "expr": "-sum(irate(container_network_receive_bytes_total{pod_name=\"$Pod-0\"}[3m])) by (interface)",
252 "format": "time_series",
253 "intervalFactor": 1,
254 "legendFormat": "rx: {{interface}}",
255 "refId": "B"
256 }
257 ],
258 "thresholds": [],
259 "timeFrom": null,
260 "timeShift": null,
261 "title": "Network Traffic (Bytes)",
262 "tooltip": {
263 "shared": true,
264 "sort": 0,
265 "value_type": "individual"
266 },
267 "type": "graph",
268 "xaxis": {
269 "buckets": null,
270 "mode": "time",
271 "name": null,
272 "show": true,
273 "values": []
274 },
275 "yaxes": [
276 {
277 "format": "Bps",
278 "label": null,
279 "logBase": 1,
280 "max": null,
281 "min": null,
282 "show": true
283 },
284 {
285 "format": "Bps",
286 "label": null,
287 "logBase": 1,
288 "max": null,
289 "min": null,
290 "show": true
291 }
292 ],
293 "yaxis": {
294 "align": false,
295 "alignLevel": null
296 }
297 },
298 {
299 "cacheTimeout": null,
300 "colorBackground": false,
301 "colorValue": false,
302 "colors": [
303 "#299c46",
304 "rgba(237, 129, 40, 0.89)",
305 "#d44a3a"
306 ],
307 "datasource": "Prometheus",
308 "format": "decbytes",
309 "gauge": {
310 "maxValue": 100,
311 "minValue": 0,
312 "show": false,
313 "thresholdLabels": false,
314 "thresholdMarkers": true
315 },
316 "gridPos": {
317 "h": 5,
318 "w": 5,
319 "x": 0,
320 "y": 6
321 },
322 "id": 16,
323 "interval": null,
324 "links": [],
325 "mappingType": 1,
326 "mappingTypes": [
327 {
328 "name": "value to text",
329 "value": 1
330 },
331 {
332 "name": "range to text",
333 "value": 2
334 }
335 ],
336 "maxDataPoints": 100,
337 "nullPointMode": "connected",
338 "nullText": null,
339 "postfix": "",
340 "postfixFontSize": "50%",
341 "prefix": "",
342 "prefixFontSize": "50%",
343 "rangeMaps": [
344 {
345 "from": "null",
346 "text": "N/A",
347 "to": "null"
348 }
349 ],
350 "sparkline": {
351 "fillColor": "rgba(31, 118, 189, 0.18)",
352 "full": false,
353 "lineColor": "rgb(31, 120, 193)",
354 "show": false
355 },
356 "tableColumn": "",
357 "targets": [
358 {
Doyoung Leeba847302019-09-04 18:03:41 -0700359 "expr": "sum(kube_pod_container_resource_requests_memory_bytes{pod=\"$Pod-0\"})",
Doyoung Lee48f68662019-08-09 13:50:00 -0700360 "format": "time_series",
361 "intervalFactor": 1,
362 "refId": "A"
363 }
364 ],
365 "thresholds": "",
366 "title": "Memory",
367 "type": "singlestat",
368 "valueFontSize": "80%",
369 "valueMaps": [
370 {
371 "op": "=",
372 "text": "N/A",
373 "value": "null"
374 }
375 ],
376 "valueName": "avg"
377 },
378 {
379 "cacheTimeout": null,
380 "colorBackground": false,
381 "colorValue": true,
382 "colors": [
383 "rgba(50, 172, 45, 0.97)",
384 "rgba(237, 129, 40, 0.89)",
385 "rgba(245, 54, 54, 0.9)"
386 ],
387 "datasource": "Prometheus",
388 "decimals": null,
389 "description": "",
390 "format": "percent",
391 "gauge": {
392 "maxValue": 100,
393 "minValue": 0,
394 "show": true,
395 "thresholdLabels": false,
396 "thresholdMarkers": true
397 },
398 "gridPos": {
399 "h": 5,
400 "w": 5,
401 "x": 5,
402 "y": 6
403 },
404 "id": 12,
405 "interval": null,
406 "links": [],
407 "mappingType": 1,
408 "mappingTypes": [
409 {
410 "name": "value to text",
411 "value": 1
412 },
413 {
414 "name": "range to text",
415 "value": 2
416 }
417 ],
418 "maxDataPoints": 100,
419 "minSpan": 2,
420 "nullPointMode": "null",
421 "nullText": null,
422 "postfix": "",
423 "postfixFontSize": "50%",
424 "prefix": "",
425 "prefixFontSize": "50%",
426 "rangeMaps": [
427 {
428 "from": "null",
429 "text": "N/A",
430 "to": "null"
431 }
432 ],
433 "sparkline": {
434 "fillColor": "rgba(31, 118, 189, 0.18)",
435 "full": false,
436 "lineColor": "rgb(31, 120, 193)",
437 "show": true
438 },
439 "tableColumn": "__name__",
440 "targets": [
441 {
442 "expr": "100 * (sum(container_memory_usage_bytes{pod_name=\"$Pod-0\"}) / sum(container_spec_memory_limit_bytes{pod_name=\"$Pod-0\"}))",
443 "format": "time_series",
444 "hide": false,
445 "instant": false,
446 "intervalFactor": 1,
447 "refId": "A"
448 }
449 ],
450 "thresholds": "85,95",
451 "title": "Memory Usage",
452 "type": "singlestat",
453 "valueFontSize": "80%",
454 "valueMaps": [
455 {
456 "op": "=",
457 "text": "N/A",
458 "value": "null"
459 }
460 ],
461 "valueName": "current"
462 }
463 ],
464 "refresh": "5s",
465 "schemaVersion": 16,
466 "style": "dark",
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -0800467 "tags": [
468 "comac"
469 ],
Doyoung Lee48f68662019-08-09 13:50:00 -0700470 "templating": {
471 "list": [
472 {
473 "allValue": null,
474 "current": {
475 "tags": [],
Doyoung Leeba847302019-09-04 18:03:41 -0700476 "text": "SPGW-U",
477 "value": "spgwu"
Doyoung Lee48f68662019-08-09 13:50:00 -0700478 },
479 "hide": 0,
480 "includeAll": false,
481 "label": "Pod",
482 "multi": false,
483 "name": "Pod",
484 "options": [
485 {
Doyoung Leeba847302019-09-04 18:03:41 -0700486 "$$hashKey": "object:205",
Doyoung Lee48f68662019-08-09 13:50:00 -0700487 "selected": false,
488 "text": "MME",
489 "value": "mme"
490 },
491 {
Doyoung Leeba847302019-09-04 18:03:41 -0700492 "$$hashKey": "object:206",
Doyoung Lee48f68662019-08-09 13:50:00 -0700493 "selected": false,
494 "text": "SPGW-C",
495 "value": "spgwc"
496 },
497 {
Doyoung Leeba847302019-09-04 18:03:41 -0700498 "$$hashKey": "object:207",
499 "selected": true,
Doyoung Lee48f68662019-08-09 13:50:00 -0700500 "text": "SPGW-U",
501 "value": "spgwu"
502 },
503 {
Doyoung Leeba847302019-09-04 18:03:41 -0700504 "$$hashKey": "object:208",
505 "selected": false,
Doyoung Lee48f68662019-08-09 13:50:00 -0700506 "text": "HSS",
507 "value": "hss"
508 },
509 {
Doyoung Leeba847302019-09-04 18:03:41 -0700510 "$$hashKey": "object:209",
Doyoung Lee48f68662019-08-09 13:50:00 -0700511 "selected": false,
512 "text": "Remote CDN",
513 "value": "antmedia"
514 },
515 {
Doyoung Leeba847302019-09-04 18:03:41 -0700516 "$$hashKey": "object:210",
Doyoung Lee48f68662019-08-09 13:50:00 -0700517 "selected": false,
518 "text": "Remote Streaming",
519 "value": "remote-streaming"
520 },
521 {
Doyoung Leeba847302019-09-04 18:03:41 -0700522 "$$hashKey": "object:211",
Doyoung Lee48f68662019-08-09 13:50:00 -0700523 "selected": false,
524 "text": "Local CDN",
525 "value": "nginx-rtmp"
526 }
527 ],
Doyoung Leeba847302019-09-04 18:03:41 -0700528 "query": "MME, SPGW-C, SPGW-U, HSS, Remote CDN, Remote Streaming, Local CDN",
Doyoung Lee48f68662019-08-09 13:50:00 -0700529 "type": "custom"
530 }
531 ]
532 },
533 "time": {
534 "from": "now-5m",
535 "to": "now"
536 },
537 "timepicker": {
538 "hidden": false,
539 "refresh_intervals": [
540 "5s",
541 "10s",
542 "30s",
543 "1m",
544 "5m",
545 "15m",
546 "30m",
547 "1h",
548 "2h",
549 "1d"
550 ],
551 "time_options": [
552 "5m",
553 "15m",
554 "1h",
555 "6h",
556 "12h",
557 "24h",
558 "2d",
559 "7d",
560 "30d"
561 ]
562 },
563 "timezone": "",
Doyoung Leeba847302019-09-04 18:03:41 -0700564 "title": "OMEC",
565 "uid": "gKU2e27Zz",
Doyoung Lee48f68662019-08-09 13:50:00 -0700566 "version": 1
Doyoung Leeba847302019-09-04 18:03:41 -0700567}