Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 1 | { |
| 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, |
| 18 | "id": 3, |
| 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
| 22 | "collapsed": false, |
| 23 | "datasource": null, |
| 24 | "gridPos": { |
| 25 | "h": 1, |
| 26 | "w": 24, |
| 27 | "x": 0, |
| 28 | "y": 0 |
| 29 | }, |
| 30 | "id": 4, |
| 31 | "panels": [], |
| 32 | "repeat": "pod", |
| 33 | "scopedVars": { |
| 34 | "pod": { |
| 35 | "selected": true, |
| 36 | "text": "spgwu", |
| 37 | "value": "spgwu" |
| 38 | } |
| 39 | }, |
| 40 | "title": "$pod", |
| 41 | "type": "row" |
| 42 | }, |
| 43 | { |
| 44 | "aliasColors": {}, |
| 45 | "bars": false, |
| 46 | "dashLength": 10, |
| 47 | "dashes": false, |
| 48 | "datasource": null, |
| 49 | "fill": 1, |
| 50 | "fillGradient": 0, |
| 51 | "gridPos": { |
| 52 | "h": 8, |
| 53 | "w": 8, |
| 54 | "x": 0, |
| 55 | "y": 1 |
| 56 | }, |
| 57 | "id": 16, |
| 58 | "legend": { |
| 59 | "avg": false, |
| 60 | "current": false, |
| 61 | "max": false, |
| 62 | "min": false, |
| 63 | "show": true, |
| 64 | "total": false, |
| 65 | "values": false |
| 66 | }, |
| 67 | "lines": true, |
| 68 | "linewidth": 2, |
| 69 | "nullPointMode": "null", |
| 70 | "options": { |
| 71 | "dataLinks": [] |
| 72 | }, |
| 73 | "percentage": false, |
| 74 | "pointradius": 2, |
| 75 | "points": false, |
| 76 | "renderer": "flot", |
| 77 | "scopedVars": { |
| 78 | "pod": { |
| 79 | "selected": true, |
| 80 | "text": "spgwu", |
| 81 | "value": "spgwu" |
| 82 | } |
| 83 | }, |
| 84 | "seriesOverrides": [], |
| 85 | "spaceLength": 10, |
| 86 | "stack": false, |
| 87 | "steppedLine": true, |
| 88 | "targets": [ |
| 89 | { |
| 90 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", pod_name=\"$pod-0\"}[5m])) by (datacenter)", |
| 91 | "interval": "10s", |
| 92 | "legendFormat": "{{ datacenter }}", |
| 93 | "refId": "A" |
| 94 | } |
| 95 | ], |
| 96 | "thresholds": [], |
| 97 | "timeFrom": null, |
| 98 | "timeRegions": [], |
| 99 | "timeShift": null, |
| 100 | "title": "$pod CPU usage in all Edges", |
| 101 | "tooltip": { |
| 102 | "shared": true, |
| 103 | "sort": 0, |
| 104 | "value_type": "individual" |
| 105 | }, |
| 106 | "type": "graph", |
| 107 | "xaxis": { |
| 108 | "buckets": null, |
| 109 | "mode": "time", |
| 110 | "name": null, |
| 111 | "show": true, |
| 112 | "values": [] |
| 113 | }, |
| 114 | "yaxes": [ |
| 115 | { |
| 116 | "decimals": 2, |
| 117 | "format": "percentunit", |
| 118 | "label": null, |
| 119 | "logBase": 1, |
| 120 | "max": null, |
| 121 | "min": null, |
| 122 | "show": true |
| 123 | }, |
| 124 | { |
| 125 | "format": "short", |
| 126 | "label": null, |
| 127 | "logBase": 1, |
| 128 | "max": null, |
| 129 | "min": null, |
| 130 | "show": false |
| 131 | } |
| 132 | ], |
| 133 | "yaxis": { |
| 134 | "align": false, |
| 135 | "alignLevel": null |
| 136 | } |
| 137 | }, |
| 138 | { |
| 139 | "aliasColors": {}, |
| 140 | "bars": false, |
| 141 | "dashLength": 10, |
| 142 | "dashes": false, |
| 143 | "datasource": null, |
| 144 | "fill": 1, |
| 145 | "fillGradient": 0, |
| 146 | "gridPos": { |
| 147 | "h": 8, |
| 148 | "w": 8, |
| 149 | "x": 8, |
| 150 | "y": 1 |
| 151 | }, |
| 152 | "id": 17, |
| 153 | "legend": { |
| 154 | "avg": false, |
| 155 | "current": false, |
| 156 | "max": false, |
| 157 | "min": false, |
| 158 | "show": true, |
| 159 | "total": false, |
| 160 | "values": false |
| 161 | }, |
| 162 | "lines": true, |
| 163 | "linewidth": 2, |
| 164 | "nullPointMode": "null", |
| 165 | "options": { |
| 166 | "dataLinks": [] |
| 167 | }, |
| 168 | "percentage": false, |
| 169 | "pointradius": 2, |
| 170 | "points": false, |
| 171 | "renderer": "flot", |
| 172 | "scopedVars": { |
| 173 | "pod": { |
| 174 | "selected": true, |
| 175 | "text": "spgwu", |
| 176 | "value": "spgwu" |
| 177 | } |
| 178 | }, |
| 179 | "seriesOverrides": [], |
| 180 | "spaceLength": 10, |
| 181 | "stack": false, |
| 182 | "steppedLine": false, |
| 183 | "targets": [ |
| 184 | { |
| 185 | "expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\", container_name!=\"\", pod_name=\"$pod-0\"}) by (datacenter)", |
| 186 | "interval": "10s", |
| 187 | "legendFormat": "{{ datacenter }}", |
| 188 | "refId": "A" |
| 189 | } |
| 190 | ], |
| 191 | "thresholds": [], |
| 192 | "timeFrom": null, |
| 193 | "timeRegions": [], |
| 194 | "timeShift": null, |
| 195 | "title": "$pod memory usage in all Edges", |
| 196 | "tooltip": { |
| 197 | "shared": true, |
| 198 | "sort": 0, |
| 199 | "value_type": "individual" |
| 200 | }, |
| 201 | "type": "graph", |
| 202 | "xaxis": { |
| 203 | "buckets": null, |
| 204 | "mode": "time", |
| 205 | "name": null, |
| 206 | "show": true, |
| 207 | "values": [] |
| 208 | }, |
| 209 | "yaxes": [ |
| 210 | { |
| 211 | "decimals": 2, |
| 212 | "format": "bytes", |
| 213 | "label": null, |
| 214 | "logBase": 1, |
| 215 | "max": null, |
| 216 | "min": null, |
| 217 | "show": true |
| 218 | }, |
| 219 | { |
| 220 | "format": "short", |
| 221 | "label": null, |
| 222 | "logBase": 1, |
| 223 | "max": null, |
| 224 | "min": null, |
| 225 | "show": false |
| 226 | } |
| 227 | ], |
| 228 | "yaxis": { |
| 229 | "align": false, |
| 230 | "alignLevel": null |
| 231 | } |
| 232 | }, |
| 233 | { |
| 234 | "aliasColors": {}, |
| 235 | "bars": false, |
| 236 | "dashLength": 10, |
| 237 | "dashes": false, |
| 238 | "datasource": null, |
| 239 | "fill": 1, |
| 240 | "fillGradient": 0, |
| 241 | "gridPos": { |
| 242 | "h": 8, |
| 243 | "w": 8, |
| 244 | "x": 16, |
| 245 | "y": 1 |
| 246 | }, |
| 247 | "id": 18, |
| 248 | "legend": { |
| 249 | "avg": false, |
| 250 | "current": false, |
| 251 | "max": false, |
| 252 | "min": false, |
| 253 | "show": true, |
| 254 | "total": false, |
| 255 | "values": false |
| 256 | }, |
| 257 | "lines": true, |
| 258 | "linewidth": 2, |
| 259 | "nullPointMode": "null", |
| 260 | "options": { |
| 261 | "dataLinks": [] |
| 262 | }, |
| 263 | "percentage": false, |
| 264 | "pointradius": 2, |
| 265 | "points": false, |
| 266 | "renderer": "flot", |
| 267 | "scopedVars": { |
| 268 | "pod": { |
| 269 | "selected": true, |
| 270 | "text": "spgwu", |
| 271 | "value": "spgwu" |
| 272 | } |
| 273 | }, |
| 274 | "seriesOverrides": [], |
| 275 | "spaceLength": 10, |
| 276 | "stack": false, |
| 277 | "steppedLine": false, |
| 278 | "targets": [ |
| 279 | { |
| 280 | "expr": "sum(rate(container_network_receive_bytes_total{pod_name=\"$pod-0\",container_name!=\"\"}[5m]))by (datacenter)", |
| 281 | "interval": "10s", |
| 282 | "legendFormat": "{{ datacenter }} rx", |
| 283 | "refId": "A" |
| 284 | }, |
| 285 | { |
| 286 | "expr": "- sum(rate(container_network_transmit_bytes_total{pod_name=\"$pod-0\",container_name!=\"\"}[5m]))by (datacenter)", |
| 287 | "legendFormat": "{{ datacenter }} tx", |
| 288 | "refId": "B" |
| 289 | } |
| 290 | ], |
| 291 | "thresholds": [], |
| 292 | "timeFrom": null, |
| 293 | "timeRegions": [], |
| 294 | "timeShift": null, |
| 295 | "title": "$pod network I/O in all Edges", |
| 296 | "tooltip": { |
| 297 | "shared": true, |
| 298 | "sort": 0, |
| 299 | "value_type": "individual" |
| 300 | }, |
| 301 | "type": "graph", |
| 302 | "xaxis": { |
| 303 | "buckets": null, |
| 304 | "mode": "time", |
| 305 | "name": null, |
| 306 | "show": true, |
| 307 | "values": [] |
| 308 | }, |
| 309 | "yaxes": [ |
| 310 | { |
| 311 | "format": "Bps", |
| 312 | "label": null, |
| 313 | "logBase": 1, |
| 314 | "max": null, |
| 315 | "min": null, |
| 316 | "show": true |
| 317 | }, |
| 318 | { |
| 319 | "format": "short", |
| 320 | "label": null, |
| 321 | "logBase": 1, |
| 322 | "max": null, |
| 323 | "min": null, |
| 324 | "show": false |
| 325 | } |
| 326 | ], |
| 327 | "yaxis": { |
| 328 | "align": false, |
| 329 | "alignLevel": null |
| 330 | } |
| 331 | }, |
| 332 | { |
| 333 | "collapsed": false, |
| 334 | "datasource": null, |
| 335 | "gridPos": { |
| 336 | "h": 1, |
| 337 | "w": 24, |
| 338 | "x": 0, |
| 339 | "y": 27 |
| 340 | }, |
| 341 | "id": 25, |
| 342 | "panels": [], |
| 343 | "repeat": "datacenter", |
| 344 | "title": "$pod usage in $datacenter", |
| 345 | "type": "row" |
| 346 | }, |
| 347 | { |
| 348 | "cacheTimeout": null, |
| 349 | "colorBackground": false, |
| 350 | "colorValue": true, |
| 351 | "colors": [ |
| 352 | "rgba(50, 172, 45, 0.97)", |
| 353 | "rgba(237, 129, 40, 0.89)", |
| 354 | "rgba(245, 54, 54, 0.9)" |
| 355 | ], |
| 356 | "datasource": "Prometheus", |
| 357 | "decimals": null, |
| 358 | "description": "", |
| 359 | "format": "percent", |
| 360 | "gauge": { |
| 361 | "maxValue": 100, |
| 362 | "minValue": 0, |
| 363 | "show": true, |
| 364 | "thresholdLabels": false, |
| 365 | "thresholdMarkers": true |
| 366 | }, |
| 367 | "gridPos": { |
| 368 | "h": 5, |
| 369 | "w": 6, |
| 370 | "x": 0, |
| 371 | "y": 28 |
| 372 | }, |
| 373 | "id": 10, |
| 374 | "interval": null, |
| 375 | "links": [], |
| 376 | "mappingType": 1, |
| 377 | "mappingTypes": [ |
| 378 | { |
| 379 | "name": "value to text", |
| 380 | "value": 1 |
| 381 | }, |
| 382 | { |
| 383 | "name": "range to text", |
| 384 | "value": 2 |
| 385 | } |
| 386 | ], |
| 387 | "maxDataPoints": 100, |
| 388 | "maxPerRow": 12, |
| 389 | "nullPointMode": "null", |
| 390 | "nullText": null, |
| 391 | "options": {}, |
| 392 | "postfix": "", |
| 393 | "postfixFontSize": "50%", |
| 394 | "prefix": "", |
| 395 | "prefixFontSize": "50%", |
| 396 | "rangeMaps": [ |
| 397 | { |
| 398 | "from": "null", |
| 399 | "text": "N/A", |
| 400 | "to": "null" |
| 401 | } |
| 402 | ], |
| 403 | "repeat": null, |
| 404 | "repeatDirection": "v", |
| 405 | "sparkline": { |
| 406 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 407 | "full": false, |
| 408 | "lineColor": "rgb(31, 120, 193)", |
| 409 | "show": true |
| 410 | }, |
| 411 | "tableColumn": "", |
| 412 | "targets": [ |
| 413 | { |
| 414 | "expr": "100 * sum(irate(container_cpu_usage_seconds_total{pod_name=\"$pod-0\", image!=\"\", container_name!=\"POD\", datacenter=\"$datacenter\"}[3m])) by (pod_name) / sum(container_spec_cpu_quota{image!=\"\", container_name!=\"POD\", datacenter=\"$datacenter\"} / container_spec_cpu_period{image!=\"\", container_name!=\"POD\", datacenter=\"$datacenter\"}) by (pod_name)", |
| 415 | "format": "time_series", |
| 416 | "interval": "10s", |
| 417 | "intervalFactor": 1, |
| 418 | "legendFormat": "", |
| 419 | "refId": "A" |
| 420 | } |
| 421 | ], |
| 422 | "thresholds": "85,95", |
| 423 | "title": "$pod CPU usage in $datacenter", |
| 424 | "type": "singlestat", |
| 425 | "valueFontSize": "80%", |
| 426 | "valueMaps": [ |
| 427 | { |
| 428 | "op": "=", |
| 429 | "text": "N/A", |
| 430 | "value": "null" |
| 431 | } |
| 432 | ], |
| 433 | "valueName": "current" |
| 434 | }, |
| 435 | { |
| 436 | "cacheTimeout": null, |
| 437 | "colorBackground": false, |
| 438 | "colorValue": true, |
| 439 | "colors": [ |
| 440 | "rgba(50, 172, 45, 0.97)", |
| 441 | "rgba(237, 129, 40, 0.89)", |
| 442 | "rgba(245, 54, 54, 0.9)" |
| 443 | ], |
| 444 | "datasource": "Prometheus", |
| 445 | "decimals": null, |
| 446 | "description": "", |
| 447 | "format": "percent", |
| 448 | "gauge": { |
| 449 | "maxValue": 100, |
| 450 | "minValue": 0, |
| 451 | "show": true, |
| 452 | "thresholdLabels": false, |
| 453 | "thresholdMarkers": true |
| 454 | }, |
| 455 | "gridPos": { |
| 456 | "h": 5, |
| 457 | "w": 6, |
| 458 | "x": 6, |
| 459 | "y": 28 |
| 460 | }, |
| 461 | "id": 12, |
| 462 | "interval": null, |
| 463 | "links": [], |
| 464 | "mappingType": 1, |
| 465 | "mappingTypes": [ |
| 466 | { |
| 467 | "name": "value to text", |
| 468 | "value": 1 |
| 469 | }, |
| 470 | { |
| 471 | "name": "range to text", |
| 472 | "value": 2 |
| 473 | } |
| 474 | ], |
| 475 | "maxDataPoints": 100, |
| 476 | "maxPerRow": 12, |
| 477 | "nullPointMode": "null", |
| 478 | "nullText": null, |
| 479 | "options": {}, |
| 480 | "postfix": "", |
| 481 | "postfixFontSize": "50%", |
| 482 | "prefix": "", |
| 483 | "prefixFontSize": "50%", |
| 484 | "rangeMaps": [ |
| 485 | { |
| 486 | "from": "null", |
| 487 | "text": "N/A", |
| 488 | "to": "null" |
| 489 | } |
| 490 | ], |
| 491 | "repeat": null, |
| 492 | "repeatDirection": "v", |
| 493 | "sparkline": { |
| 494 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 495 | "full": false, |
| 496 | "lineColor": "rgb(31, 120, 193)", |
| 497 | "show": true |
| 498 | }, |
| 499 | "tableColumn": "", |
| 500 | "targets": [ |
| 501 | { |
| 502 | "expr": "100 * (sum(container_memory_usage_bytes{pod_name=\"$pod-0\", container_name!=\"POD\", datacenter=\"$datacenter\"}) / sum(container_spec_memory_limit_bytes{pod_name=\"$pod-0\", container_name!=\"POD\", datacenter=\"$datacenter\"}))", |
| 503 | "format": "time_series", |
| 504 | "hide": false, |
| 505 | "instant": false, |
| 506 | "interval": "10s", |
| 507 | "intervalFactor": 1, |
| 508 | "refId": "A" |
| 509 | } |
| 510 | ], |
| 511 | "thresholds": "85,95", |
| 512 | "title": "$pod memory usage in $datacenter", |
| 513 | "type": "singlestat", |
| 514 | "valueFontSize": "80%", |
| 515 | "valueMaps": [ |
| 516 | { |
| 517 | "op": "=", |
| 518 | "text": "N/A", |
| 519 | "value": "null" |
| 520 | } |
| 521 | ], |
| 522 | "valueName": "current" |
| 523 | }, |
| 524 | { |
| 525 | "aliasColors": {}, |
| 526 | "bars": false, |
| 527 | "dashLength": 10, |
| 528 | "dashes": false, |
| 529 | "datasource": null, |
| 530 | "fill": 2, |
| 531 | "fillGradient": 0, |
| 532 | "gridPos": { |
| 533 | "h": 9, |
| 534 | "w": 12, |
| 535 | "x": 12, |
| 536 | "y": 28 |
| 537 | }, |
| 538 | "id": 2, |
| 539 | "legend": { |
| 540 | "alignAsTable": true, |
| 541 | "avg": true, |
| 542 | "current": true, |
| 543 | "max": false, |
| 544 | "min": false, |
| 545 | "rightSide": true, |
| 546 | "show": true, |
| 547 | "total": false, |
| 548 | "values": true |
| 549 | }, |
| 550 | "lines": true, |
| 551 | "linewidth": 2, |
| 552 | "links": [], |
| 553 | "nullPointMode": "null", |
| 554 | "options": { |
| 555 | "dataLinks": [] |
| 556 | }, |
| 557 | "percentage": false, |
| 558 | "pointradius": 5, |
| 559 | "points": false, |
| 560 | "renderer": "flot", |
| 561 | "repeat": null, |
| 562 | "repeatDirection": "v", |
| 563 | "seriesOverrides": [], |
| 564 | "spaceLength": 10, |
| 565 | "stack": false, |
| 566 | "steppedLine": false, |
| 567 | "targets": [ |
| 568 | { |
| 569 | "expr": "sum(rate(container_network_receive_bytes_total{pod_name=\"$pod-0\", datacenter=\"$datacenter\"}[3m]))by (interface)", |
| 570 | "format": "time_series", |
| 571 | "interval": "10s", |
| 572 | "intervalFactor": 1, |
| 573 | "legendFormat": "rx: {{ interface }}", |
| 574 | "refId": "B" |
| 575 | }, |
| 576 | { |
| 577 | "expr": "-sum(rate(container_network_transmit_bytes_total{pod_name=\"$pod-0\", datacenter=\"$datacenter\"}[3m]))by (interface)", |
| 578 | "format": "time_series", |
| 579 | "interval": "10s", |
| 580 | "intervalFactor": 1, |
| 581 | "legendFormat": "tx: {{ interface }}", |
| 582 | "refId": "A" |
| 583 | } |
| 584 | ], |
| 585 | "thresholds": [], |
| 586 | "timeFrom": null, |
| 587 | "timeRegions": [], |
| 588 | "timeShift": null, |
| 589 | "title": "$pod network I/O in $datacenter", |
| 590 | "tooltip": { |
| 591 | "shared": true, |
| 592 | "sort": 1, |
| 593 | "value_type": "individual" |
| 594 | }, |
| 595 | "type": "graph", |
| 596 | "xaxis": { |
| 597 | "buckets": null, |
| 598 | "mode": "time", |
| 599 | "name": null, |
| 600 | "show": true, |
| 601 | "values": [] |
| 602 | }, |
| 603 | "yaxes": [ |
| 604 | { |
| 605 | "format": "Bps", |
| 606 | "label": null, |
| 607 | "logBase": 1, |
| 608 | "max": null, |
| 609 | "min": null, |
| 610 | "show": true |
| 611 | }, |
| 612 | { |
| 613 | "format": "Bps", |
| 614 | "label": null, |
| 615 | "logBase": 1, |
| 616 | "max": null, |
| 617 | "min": null, |
| 618 | "show": false |
| 619 | } |
| 620 | ], |
| 621 | "yaxis": { |
| 622 | "align": false, |
| 623 | "alignLevel": null |
| 624 | } |
| 625 | }, |
| 626 | { |
| 627 | "cacheTimeout": null, |
| 628 | "colorBackground": false, |
| 629 | "colorValue": false, |
| 630 | "colors": [ |
| 631 | "#299c46", |
| 632 | "rgba(237, 129, 40, 0.89)", |
| 633 | "#d44a3a" |
| 634 | ], |
| 635 | "datasource": null, |
| 636 | "format": "none", |
| 637 | "gauge": { |
| 638 | "maxValue": 100, |
| 639 | "minValue": 0, |
| 640 | "show": false, |
| 641 | "thresholdLabels": false, |
| 642 | "thresholdMarkers": true |
| 643 | }, |
| 644 | "gridPos": { |
| 645 | "h": 4, |
| 646 | "w": 3, |
| 647 | "x": 0, |
| 648 | "y": 33 |
| 649 | }, |
| 650 | "id": 20, |
| 651 | "interval": null, |
| 652 | "links": [], |
| 653 | "mappingType": 1, |
| 654 | "mappingTypes": [ |
| 655 | { |
| 656 | "name": "value to text", |
| 657 | "value": 1 |
| 658 | }, |
| 659 | { |
| 660 | "name": "range to text", |
| 661 | "value": 2 |
| 662 | } |
| 663 | ], |
| 664 | "maxDataPoints": 100, |
| 665 | "nullPointMode": "connected", |
| 666 | "nullText": null, |
| 667 | "options": {}, |
| 668 | "postfix": "", |
| 669 | "postfixFontSize": "50%", |
| 670 | "prefix": "", |
| 671 | "prefixFontSize": "50%", |
| 672 | "rangeMaps": [ |
| 673 | { |
| 674 | "from": "null", |
| 675 | "text": "N/A", |
| 676 | "to": "null" |
| 677 | } |
| 678 | ], |
| 679 | "repeat": null, |
| 680 | "repeatDirection": "v", |
| 681 | "sparkline": { |
| 682 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 683 | "full": false, |
| 684 | "lineColor": "rgb(31, 120, 193)", |
| 685 | "show": false, |
| 686 | "ymax": null, |
| 687 | "ymin": null |
| 688 | }, |
| 689 | "tableColumn": "", |
| 690 | "targets": [ |
| 691 | { |
| 692 | "expr": "sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$datacenter\", pod=\"$pod-0\"})", |
| 693 | "interval": "10s", |
| 694 | "refId": "A" |
| 695 | } |
| 696 | ], |
| 697 | "thresholds": "", |
| 698 | "timeFrom": null, |
| 699 | "timeShift": null, |
| 700 | "title": "CPU limits", |
| 701 | "type": "singlestat", |
| 702 | "valueFontSize": "80%", |
| 703 | "valueMaps": [ |
| 704 | { |
| 705 | "op": "=", |
| 706 | "text": "N/A", |
| 707 | "value": "null" |
| 708 | } |
| 709 | ], |
| 710 | "valueName": "avg" |
| 711 | }, |
| 712 | { |
| 713 | "cacheTimeout": null, |
| 714 | "colorBackground": false, |
| 715 | "colorValue": false, |
| 716 | "colors": [ |
| 717 | "#299c46", |
| 718 | "rgba(237, 129, 40, 0.89)", |
| 719 | "#d44a3a" |
| 720 | ], |
| 721 | "datasource": null, |
| 722 | "format": "none", |
| 723 | "gauge": { |
| 724 | "maxValue": 100, |
| 725 | "minValue": 0, |
| 726 | "show": false, |
| 727 | "thresholdLabels": false, |
| 728 | "thresholdMarkers": true |
| 729 | }, |
| 730 | "gridPos": { |
| 731 | "h": 4, |
| 732 | "w": 3, |
| 733 | "x": 3, |
| 734 | "y": 33 |
| 735 | }, |
| 736 | "id": 21, |
| 737 | "interval": null, |
| 738 | "links": [], |
| 739 | "mappingType": 1, |
| 740 | "mappingTypes": [ |
| 741 | { |
| 742 | "name": "value to text", |
| 743 | "value": 1 |
| 744 | }, |
| 745 | { |
| 746 | "name": "range to text", |
| 747 | "value": 2 |
| 748 | } |
| 749 | ], |
| 750 | "maxDataPoints": 100, |
| 751 | "nullPointMode": "connected", |
| 752 | "nullText": null, |
| 753 | "options": {}, |
| 754 | "postfix": "", |
| 755 | "postfixFontSize": "50%", |
| 756 | "prefix": "", |
| 757 | "prefixFontSize": "50%", |
| 758 | "rangeMaps": [ |
| 759 | { |
| 760 | "from": "null", |
| 761 | "text": "N/A", |
| 762 | "to": "null" |
| 763 | } |
| 764 | ], |
| 765 | "repeat": null, |
| 766 | "repeatDirection": "v", |
| 767 | "sparkline": { |
| 768 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 769 | "full": false, |
| 770 | "lineColor": "rgb(31, 120, 193)", |
| 771 | "show": false, |
| 772 | "ymax": null, |
| 773 | "ymin": null |
| 774 | }, |
| 775 | "tableColumn": "", |
| 776 | "targets": [ |
| 777 | { |
| 778 | "expr": "sum (irate (container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", datacenter=\"$datacenter\", pod_name=\"$pod-0\"}[5m]))", |
| 779 | "interval": "10s", |
| 780 | "refId": "A" |
| 781 | } |
| 782 | ], |
| 783 | "thresholds": "", |
| 784 | "timeFrom": null, |
| 785 | "timeShift": null, |
| 786 | "title": "CPU used (5m avg)", |
| 787 | "type": "singlestat", |
| 788 | "valueFontSize": "80%", |
| 789 | "valueMaps": [ |
| 790 | { |
| 791 | "op": "=", |
| 792 | "text": "N/A", |
| 793 | "value": "null" |
| 794 | } |
| 795 | ], |
| 796 | "valueName": "avg" |
| 797 | }, |
| 798 | { |
| 799 | "cacheTimeout": null, |
| 800 | "colorBackground": false, |
| 801 | "colorValue": false, |
| 802 | "colors": [ |
| 803 | "#299c46", |
| 804 | "rgba(237, 129, 40, 0.89)", |
| 805 | "#d44a3a" |
| 806 | ], |
| 807 | "datasource": null, |
| 808 | "decimals": 2, |
| 809 | "format": "decbytes", |
| 810 | "gauge": { |
| 811 | "maxValue": 100, |
| 812 | "minValue": 0, |
| 813 | "show": false, |
| 814 | "thresholdLabels": false, |
| 815 | "thresholdMarkers": true |
| 816 | }, |
| 817 | "gridPos": { |
| 818 | "h": 4, |
| 819 | "w": 3, |
| 820 | "x": 6, |
| 821 | "y": 33 |
| 822 | }, |
| 823 | "id": 22, |
| 824 | "interval": null, |
| 825 | "links": [], |
| 826 | "mappingType": 1, |
| 827 | "mappingTypes": [ |
| 828 | { |
| 829 | "name": "value to text", |
| 830 | "value": 1 |
| 831 | }, |
| 832 | { |
| 833 | "name": "range to text", |
| 834 | "value": 2 |
| 835 | } |
| 836 | ], |
| 837 | "maxDataPoints": 100, |
| 838 | "nullPointMode": "connected", |
| 839 | "nullText": null, |
| 840 | "options": {}, |
| 841 | "postfix": "", |
| 842 | "postfixFontSize": "50%", |
| 843 | "prefix": "", |
| 844 | "prefixFontSize": "50%", |
| 845 | "rangeMaps": [ |
| 846 | { |
| 847 | "from": "null", |
| 848 | "text": "N/A", |
| 849 | "to": "null" |
| 850 | } |
| 851 | ], |
| 852 | "repeat": null, |
| 853 | "repeatDirection": "v", |
| 854 | "sparkline": { |
| 855 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 856 | "full": false, |
| 857 | "lineColor": "rgb(31, 120, 193)", |
| 858 | "show": false, |
| 859 | "ymax": null, |
| 860 | "ymin": null |
| 861 | }, |
| 862 | "tableColumn": "", |
| 863 | "targets": [ |
| 864 | { |
| 865 | "expr": "sum(kube_pod_container_resource_limits_memory_bytes{datacenter=\"$datacenter\", pod=\"$pod-0\"})", |
| 866 | "refId": "A" |
| 867 | } |
| 868 | ], |
| 869 | "thresholds": "", |
| 870 | "timeFrom": null, |
| 871 | "timeShift": null, |
| 872 | "title": "Memory limits", |
| 873 | "type": "singlestat", |
| 874 | "valueFontSize": "80%", |
| 875 | "valueMaps": [ |
| 876 | { |
| 877 | "op": "=", |
| 878 | "text": "N/A", |
| 879 | "value": "null" |
| 880 | } |
| 881 | ], |
| 882 | "valueName": "avg" |
| 883 | }, |
| 884 | { |
| 885 | "cacheTimeout": null, |
| 886 | "colorBackground": false, |
| 887 | "colorValue": false, |
| 888 | "colors": [ |
| 889 | "#299c46", |
| 890 | "rgba(237, 129, 40, 0.89)", |
| 891 | "#d44a3a" |
| 892 | ], |
| 893 | "datasource": null, |
| 894 | "format": "decbytes", |
| 895 | "gauge": { |
| 896 | "maxValue": 100, |
| 897 | "minValue": 0, |
| 898 | "show": false, |
| 899 | "thresholdLabels": false, |
| 900 | "thresholdMarkers": true |
| 901 | }, |
| 902 | "gridPos": { |
| 903 | "h": 4, |
| 904 | "w": 3, |
| 905 | "x": 9, |
| 906 | "y": 33 |
| 907 | }, |
| 908 | "id": 23, |
| 909 | "interval": null, |
| 910 | "links": [], |
| 911 | "mappingType": 1, |
| 912 | "mappingTypes": [ |
| 913 | { |
| 914 | "name": "value to text", |
| 915 | "value": 1 |
| 916 | }, |
| 917 | { |
| 918 | "name": "range to text", |
| 919 | "value": 2 |
| 920 | } |
| 921 | ], |
| 922 | "maxDataPoints": 100, |
| 923 | "nullPointMode": "connected", |
| 924 | "nullText": null, |
| 925 | "options": {}, |
| 926 | "postfix": "", |
| 927 | "postfixFontSize": "50%", |
| 928 | "prefix": "", |
| 929 | "prefixFontSize": "50%", |
| 930 | "rangeMaps": [ |
| 931 | { |
| 932 | "from": "null", |
| 933 | "text": "N/A", |
| 934 | "to": "null" |
| 935 | } |
| 936 | ], |
| 937 | "repeat": null, |
| 938 | "repeatDirection": "v", |
| 939 | "sparkline": { |
| 940 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 941 | "full": false, |
| 942 | "lineColor": "rgb(31, 120, 193)", |
| 943 | "show": false, |
| 944 | "ymax": null, |
| 945 | "ymin": null |
| 946 | }, |
| 947 | "tableColumn": "", |
| 948 | "targets": [ |
| 949 | { |
| 950 | "expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\", container_name!=\"\", datacenter=\"$datacenter\", pod_name=\"$pod-0\"})", |
| 951 | "interval": "10s", |
| 952 | "refId": "A" |
| 953 | } |
| 954 | ], |
| 955 | "thresholds": "", |
| 956 | "timeFrom": null, |
| 957 | "timeShift": null, |
| 958 | "title": "Memory used", |
| 959 | "type": "singlestat", |
| 960 | "valueFontSize": "80%", |
| 961 | "valueMaps": [ |
| 962 | { |
| 963 | "op": "=", |
| 964 | "text": "N/A", |
| 965 | "value": "null" |
| 966 | } |
| 967 | ], |
| 968 | "valueName": "avg" |
| 969 | } |
| 970 | ], |
| 971 | "refresh": "5s", |
| 972 | "schemaVersion": 20, |
| 973 | "style": "dark", |
| 974 | "tags": [ |
| 975 | "aether" |
| 976 | ], |
| 977 | "templating": { |
| 978 | "list": [ |
| 979 | { |
| 980 | "allValue": ".*", |
| 981 | "current": { |
| 982 | "text": "spgwu", |
| 983 | "value": [ |
| 984 | "spgwu" |
| 985 | ] |
| 986 | }, |
| 987 | "hide": 0, |
| 988 | "includeAll": false, |
| 989 | "label": "Pod", |
| 990 | "multi": false, |
| 991 | "name": "pod", |
| 992 | "options": [ |
| 993 | { |
| 994 | "selected": true, |
| 995 | "text": "spgwu", |
| 996 | "value": "spgwu" |
| 997 | }, |
| 998 | { |
| 999 | "selected": false, |
| 1000 | "text": "accelleran-cbrs-ric", |
| 1001 | "value": "accelleran-cbrs-ric" |
| 1002 | }, |
| 1003 | { |
| 1004 | "selected": false, |
| 1005 | "text": "accelleran-cbrs-nats", |
| 1006 | "value": "accelleran-cbrs-nats" |
| 1007 | }, |
| 1008 | { |
| 1009 | "selected": false, |
| 1010 | "text": "accelleran-cbrs-redis", |
| 1011 | "value": "accelleran-cbrs-redis" |
| 1012 | }, |
| 1013 | { |
| 1014 | "selected": false, |
| 1015 | "text": "accelleran-cbrs-ricweb", |
| 1016 | "value": "accelleran-cbrs-ricweb" |
| 1017 | } |
| 1018 | ], |
| 1019 | "query": "spgwu,accelleran-cbrs-ric,accelleran-cbrs-nats,accelleran-cbrs-redis,accelleran-cbrs-ricweb", |
| 1020 | "skipUrlSync": false, |
| 1021 | "type": "custom" |
| 1022 | }, |
| 1023 | { |
| 1024 | "allValue": ".*", |
| 1025 | "current": { |
| 1026 | "text": "All", |
| 1027 | "value": [ |
| 1028 | "$__all" |
| 1029 | ] |
| 1030 | }, |
| 1031 | "datasource": "Prometheus", |
| 1032 | "definition": "label_values(kube_pod_info, datacenter)", |
| 1033 | "hide": 0, |
| 1034 | "includeAll": true, |
| 1035 | "label": "Datacenter", |
| 1036 | "multi": true, |
| 1037 | "name": "datacenter", |
| 1038 | "options": [], |
| 1039 | "query": "label_values(kube_pod_info, datacenter)", |
| 1040 | "refresh": 2, |
| 1041 | "regex": "/.*edge/", |
| 1042 | "skipUrlSync": false, |
| 1043 | "sort": 1, |
| 1044 | "tagValuesQuery": "", |
| 1045 | "tags": [], |
| 1046 | "tagsQuery": "", |
| 1047 | "type": "query", |
| 1048 | "useTags": false |
| 1049 | } |
| 1050 | ] |
| 1051 | }, |
| 1052 | "time": { |
| 1053 | "from": "now-5m", |
| 1054 | "to": "now" |
| 1055 | }, |
| 1056 | "timepicker": { |
| 1057 | "hidden": false, |
| 1058 | "refresh_intervals": [ |
| 1059 | "5s", |
| 1060 | "10s", |
| 1061 | "30s", |
| 1062 | "1m", |
| 1063 | "5m", |
| 1064 | "15m", |
| 1065 | "30m", |
| 1066 | "1h", |
| 1067 | "2h", |
| 1068 | "1d" |
| 1069 | ], |
| 1070 | "time_options": [ |
| 1071 | "5m", |
| 1072 | "15m", |
| 1073 | "1h", |
| 1074 | "6h", |
| 1075 | "12h", |
| 1076 | "24h", |
| 1077 | "2d", |
| 1078 | "7d", |
| 1079 | "30d" |
| 1080 | ] |
| 1081 | }, |
| 1082 | "timezone": "", |
| 1083 | "title": "Aether Edges", |
| 1084 | "uid": "gKU2e27Za", |
| 1085 | "version": 3 |
| 1086 | } |