Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 5 | "$$hashKey": "object:175", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 6 | "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 Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 19 | "id": 9, |
| 20 | "iteration": 1567571557083, |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 21 | "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 Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 98 | "expr": "sum(kube_pod_container_resource_requests_cpu_cores{pod=\"$Pod-0\"})", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 99 | "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 Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 359 | "expr": "sum(kube_pod_container_resource_requests_memory_bytes{pod=\"$Pod-0\"})", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 360 | "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", |
| 467 | "tags": [], |
| 468 | "templating": { |
| 469 | "list": [ |
| 470 | { |
| 471 | "allValue": null, |
| 472 | "current": { |
| 473 | "tags": [], |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 474 | "text": "SPGW-U", |
| 475 | "value": "spgwu" |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 476 | }, |
| 477 | "hide": 0, |
| 478 | "includeAll": false, |
| 479 | "label": "Pod", |
| 480 | "multi": false, |
| 481 | "name": "Pod", |
| 482 | "options": [ |
| 483 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 484 | "$$hashKey": "object:205", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 485 | "selected": false, |
| 486 | "text": "MME", |
| 487 | "value": "mme" |
| 488 | }, |
| 489 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 490 | "$$hashKey": "object:206", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 491 | "selected": false, |
| 492 | "text": "SPGW-C", |
| 493 | "value": "spgwc" |
| 494 | }, |
| 495 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 496 | "$$hashKey": "object:207", |
| 497 | "selected": true, |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 498 | "text": "SPGW-U", |
| 499 | "value": "spgwu" |
| 500 | }, |
| 501 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 502 | "$$hashKey": "object:208", |
| 503 | "selected": false, |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 504 | "text": "HSS", |
| 505 | "value": "hss" |
| 506 | }, |
| 507 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 508 | "$$hashKey": "object:209", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 509 | "selected": false, |
| 510 | "text": "Remote CDN", |
| 511 | "value": "antmedia" |
| 512 | }, |
| 513 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 514 | "$$hashKey": "object:210", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 515 | "selected": false, |
| 516 | "text": "Remote Streaming", |
| 517 | "value": "remote-streaming" |
| 518 | }, |
| 519 | { |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 520 | "$$hashKey": "object:211", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 521 | "selected": false, |
| 522 | "text": "Local CDN", |
| 523 | "value": "nginx-rtmp" |
| 524 | } |
| 525 | ], |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 526 | "query": "MME, SPGW-C, SPGW-U, HSS, Remote CDN, Remote Streaming, Local CDN", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 527 | "type": "custom" |
| 528 | } |
| 529 | ] |
| 530 | }, |
| 531 | "time": { |
| 532 | "from": "now-5m", |
| 533 | "to": "now" |
| 534 | }, |
| 535 | "timepicker": { |
| 536 | "hidden": false, |
| 537 | "refresh_intervals": [ |
| 538 | "5s", |
| 539 | "10s", |
| 540 | "30s", |
| 541 | "1m", |
| 542 | "5m", |
| 543 | "15m", |
| 544 | "30m", |
| 545 | "1h", |
| 546 | "2h", |
| 547 | "1d" |
| 548 | ], |
| 549 | "time_options": [ |
| 550 | "5m", |
| 551 | "15m", |
| 552 | "1h", |
| 553 | "6h", |
| 554 | "12h", |
| 555 | "24h", |
| 556 | "2d", |
| 557 | "7d", |
| 558 | "30d" |
| 559 | ] |
| 560 | }, |
| 561 | "timezone": "", |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 562 | "title": "OMEC", |
| 563 | "uid": "gKU2e27Zz", |
Doyoung Lee | 48f6866 | 2019-08-09 13:50:00 -0700 | [diff] [blame] | 564 | "version": 1 |
Doyoung Lee | ba84730 | 2019-09-04 18:03:41 -0700 | [diff] [blame] | 565 | } |