Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -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 | "description": "Monitors Kubernetes clusters using Prometheus.", |
| 16 | "editable": true, |
| 17 | "gnetId": 1621, |
| 18 | "graphTooltip": 0, |
| 19 | "iteration": 1574589072119, |
| 20 | "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 | }, |
| 31 | "id": 45, |
| 32 | "panels": [], |
| 33 | "title": "Total usage in all data centers", |
| 34 | "type": "row" |
| 35 | }, |
| 36 | { |
| 37 | "aliasColors": {}, |
| 38 | "bars": false, |
| 39 | "cacheTimeout": null, |
| 40 | "dashLength": 10, |
| 41 | "dashes": false, |
| 42 | "datasource": null, |
| 43 | "fill": 1, |
| 44 | "fillGradient": 0, |
| 45 | "gridPos": { |
| 46 | "h": 8, |
| 47 | "w": 8, |
| 48 | "x": 0, |
| 49 | "y": 1 |
| 50 | }, |
| 51 | "id": 47, |
| 52 | "legend": { |
| 53 | "alignAsTable": true, |
| 54 | "avg": false, |
| 55 | "current": false, |
| 56 | "max": false, |
| 57 | "min": false, |
| 58 | "rightSide": true, |
| 59 | "show": true, |
| 60 | "total": false, |
| 61 | "values": false |
| 62 | }, |
| 63 | "lines": true, |
| 64 | "linewidth": 2, |
| 65 | "links": [], |
| 66 | "nullPointMode": "null", |
| 67 | "options": { |
| 68 | "dataLinks": [] |
| 69 | }, |
| 70 | "percentage": false, |
| 71 | "pluginVersion": "6.4.2", |
| 72 | "pointradius": 2, |
| 73 | "points": false, |
| 74 | "renderer": "flot", |
| 75 | "seriesOverrides": [], |
| 76 | "spaceLength": 10, |
| 77 | "stack": false, |
| 78 | "steppedLine": false, |
| 79 | "targets": [ |
| 80 | { |
| 81 | "expr": "(1 - (avg(irate(node_cpu_seconds_total{mode=\"idle\",datacenter!=\"\"}[5m]))by (datacenter))) * 100", |
| 82 | "interval": "10s", |
| 83 | "legendFormat": "{{ datacenter }}", |
| 84 | "refId": "A" |
| 85 | } |
| 86 | ], |
| 87 | "thresholds": [], |
| 88 | "timeFrom": null, |
| 89 | "timeRegions": [], |
| 90 | "timeShift": null, |
| 91 | "title": "CPU usage (5m avg)", |
| 92 | "tooltip": { |
| 93 | "shared": true, |
| 94 | "sort": 0, |
| 95 | "value_type": "individual" |
| 96 | }, |
| 97 | "type": "graph", |
| 98 | "xaxis": { |
| 99 | "buckets": null, |
| 100 | "mode": "time", |
| 101 | "name": null, |
| 102 | "show": true, |
| 103 | "values": [] |
| 104 | }, |
| 105 | "yaxes": [ |
| 106 | { |
| 107 | "format": "percent", |
| 108 | "label": null, |
| 109 | "logBase": 1, |
| 110 | "max": "100", |
| 111 | "min": "0", |
| 112 | "show": true |
| 113 | }, |
| 114 | { |
| 115 | "format": "short", |
| 116 | "label": null, |
| 117 | "logBase": 1, |
| 118 | "max": null, |
| 119 | "min": null, |
| 120 | "show": false |
| 121 | } |
| 122 | ], |
| 123 | "yaxis": { |
| 124 | "align": false, |
| 125 | "alignLevel": null |
| 126 | } |
| 127 | }, |
| 128 | { |
| 129 | "aliasColors": {}, |
| 130 | "bars": false, |
| 131 | "dashLength": 10, |
| 132 | "dashes": false, |
| 133 | "datasource": null, |
| 134 | "decimals": null, |
| 135 | "fill": 1, |
| 136 | "fillGradient": 0, |
| 137 | "gridPos": { |
| 138 | "h": 8, |
| 139 | "w": 8, |
| 140 | "x": 8, |
| 141 | "y": 1 |
| 142 | }, |
| 143 | "id": 49, |
| 144 | "legend": { |
| 145 | "alignAsTable": false, |
| 146 | "avg": false, |
| 147 | "current": false, |
| 148 | "max": false, |
| 149 | "min": false, |
| 150 | "rightSide": true, |
| 151 | "show": true, |
| 152 | "total": false, |
| 153 | "values": false |
| 154 | }, |
| 155 | "lines": true, |
| 156 | "linewidth": 2, |
| 157 | "nullPointMode": "null", |
| 158 | "options": { |
| 159 | "dataLinks": [] |
| 160 | }, |
| 161 | "percentage": false, |
| 162 | "pointradius": 2, |
| 163 | "points": false, |
| 164 | "renderer": "flot", |
| 165 | "seriesOverrides": [], |
| 166 | "spaceLength": 10, |
| 167 | "stack": false, |
| 168 | "steppedLine": false, |
| 169 | "targets": [ |
| 170 | { |
| 171 | "expr": "(1 - sum(node_memory_MemAvailable_bytes{datacenter!=\"\"})by (datacenter)/ sum(node_memory_MemTotal_bytes{datacenter!=\"\"})by (datacenter)) * 100", |
| 172 | "interval": "10s", |
| 173 | "legendFormat": "{{ datacenter }}", |
| 174 | "refId": "A" |
| 175 | } |
| 176 | ], |
| 177 | "thresholds": [], |
| 178 | "timeFrom": null, |
| 179 | "timeRegions": [], |
| 180 | "timeShift": null, |
| 181 | "title": "Memory usage", |
| 182 | "tooltip": { |
| 183 | "shared": true, |
| 184 | "sort": 0, |
| 185 | "value_type": "individual" |
| 186 | }, |
| 187 | "type": "graph", |
| 188 | "xaxis": { |
| 189 | "buckets": null, |
| 190 | "mode": "time", |
| 191 | "name": null, |
| 192 | "show": true, |
| 193 | "values": [] |
| 194 | }, |
| 195 | "yaxes": [ |
| 196 | { |
| 197 | "format": "percent", |
| 198 | "label": null, |
| 199 | "logBase": 1, |
| 200 | "max": "100", |
| 201 | "min": "0", |
| 202 | "show": true |
| 203 | }, |
| 204 | { |
| 205 | "format": "short", |
| 206 | "label": null, |
| 207 | "logBase": 1, |
| 208 | "max": null, |
| 209 | "min": null, |
| 210 | "show": false |
| 211 | } |
| 212 | ], |
| 213 | "yaxis": { |
| 214 | "align": false, |
| 215 | "alignLevel": null |
| 216 | } |
| 217 | }, |
| 218 | { |
| 219 | "aliasColors": {}, |
| 220 | "bars": false, |
| 221 | "dashLength": 10, |
| 222 | "dashes": false, |
| 223 | "datasource": null, |
| 224 | "fill": 1, |
| 225 | "fillGradient": 0, |
| 226 | "gridPos": { |
| 227 | "h": 8, |
| 228 | "w": 8, |
| 229 | "x": 16, |
| 230 | "y": 1 |
| 231 | }, |
| 232 | "id": 51, |
| 233 | "legend": { |
| 234 | "alignAsTable": true, |
| 235 | "avg": false, |
| 236 | "current": false, |
| 237 | "max": false, |
| 238 | "min": false, |
| 239 | "rightSide": true, |
| 240 | "show": true, |
| 241 | "total": false, |
| 242 | "values": false |
| 243 | }, |
| 244 | "lines": true, |
| 245 | "linewidth": 2, |
| 246 | "nullPointMode": "null", |
| 247 | "options": { |
| 248 | "dataLinks": [] |
| 249 | }, |
| 250 | "percentage": false, |
| 251 | "pointradius": 2, |
| 252 | "points": false, |
| 253 | "renderer": "flot", |
| 254 | "seriesOverrides": [], |
| 255 | "spaceLength": 10, |
| 256 | "stack": false, |
| 257 | "steppedLine": false, |
| 258 | "targets": [ |
| 259 | { |
| 260 | "expr": "sum (rate (node_network_receive_bytes_total{datacenter!=\"\"}[5m]))by (datacenter)", |
| 261 | "interval": "10s", |
| 262 | "legendFormat": "{{ datacenter }} rx", |
| 263 | "refId": "A" |
| 264 | }, |
| 265 | { |
| 266 | "expr": "- sum (rate (node_network_transmit_bytes_total{datacenter!=\"\"}[5m])) by (datacenter)", |
| 267 | "interval": "10s", |
| 268 | "legendFormat": "{{ datacenter }} tx", |
| 269 | "refId": "B" |
| 270 | } |
| 271 | ], |
| 272 | "thresholds": [], |
| 273 | "timeFrom": null, |
| 274 | "timeRegions": [], |
| 275 | "timeShift": null, |
| 276 | "title": "Network I/O pressure", |
| 277 | "tooltip": { |
| 278 | "shared": true, |
| 279 | "sort": 0, |
| 280 | "value_type": "individual" |
| 281 | }, |
| 282 | "type": "graph", |
| 283 | "xaxis": { |
| 284 | "buckets": null, |
| 285 | "mode": "time", |
| 286 | "name": null, |
| 287 | "show": true, |
| 288 | "values": [] |
| 289 | }, |
| 290 | "yaxes": [ |
| 291 | { |
| 292 | "format": "Bps", |
| 293 | "label": null, |
| 294 | "logBase": 1, |
| 295 | "max": null, |
| 296 | "min": null, |
| 297 | "show": true |
| 298 | }, |
| 299 | { |
| 300 | "format": "short", |
| 301 | "label": null, |
| 302 | "logBase": 1, |
| 303 | "max": null, |
| 304 | "min": null, |
| 305 | "show": false |
| 306 | } |
| 307 | ], |
| 308 | "yaxis": { |
| 309 | "align": false, |
| 310 | "alignLevel": null |
| 311 | } |
| 312 | }, |
| 313 | { |
| 314 | "collapsed": false, |
| 315 | "datasource": null, |
| 316 | "gridPos": { |
| 317 | "h": 1, |
| 318 | "w": 24, |
| 319 | "x": 0, |
| 320 | "y": 9 |
| 321 | }, |
| 322 | "id": 34, |
| 323 | "panels": [], |
| 324 | "title": "Total usage in $datacenter node $Node", |
| 325 | "type": "row" |
| 326 | }, |
| 327 | { |
| 328 | "cacheTimeout": null, |
| 329 | "colorBackground": false, |
| 330 | "colorValue": true, |
| 331 | "colors": [ |
| 332 | "rgba(50, 172, 45, 0.97)", |
| 333 | "rgba(237, 129, 40, 0.89)", |
| 334 | "rgba(245, 54, 54, 0.9)" |
| 335 | ], |
| 336 | "datasource": "Prometheus", |
| 337 | "decimals": 2, |
| 338 | "editable": true, |
| 339 | "error": false, |
| 340 | "format": "percent", |
| 341 | "gauge": { |
| 342 | "maxValue": 100, |
| 343 | "minValue": 0, |
| 344 | "show": true, |
| 345 | "thresholdLabels": false, |
| 346 | "thresholdMarkers": true |
| 347 | }, |
| 348 | "gridPos": { |
| 349 | "h": 5, |
| 350 | "w": 8, |
| 351 | "x": 0, |
| 352 | "y": 10 |
| 353 | }, |
| 354 | "height": "180px", |
| 355 | "id": 6, |
| 356 | "interval": null, |
| 357 | "isNew": true, |
| 358 | "links": [], |
| 359 | "mappingType": 1, |
| 360 | "mappingTypes": [ |
| 361 | { |
| 362 | "name": "value to text", |
| 363 | "value": 1 |
| 364 | }, |
| 365 | { |
| 366 | "name": "range to text", |
| 367 | "value": 2 |
| 368 | } |
| 369 | ], |
| 370 | "maxDataPoints": 100, |
| 371 | "nullPointMode": "connected", |
| 372 | "nullText": null, |
| 373 | "options": {}, |
| 374 | "postfix": "", |
| 375 | "postfixFontSize": "50%", |
| 376 | "prefix": "", |
| 377 | "prefixFontSize": "50%", |
| 378 | "rangeMaps": [ |
| 379 | { |
| 380 | "from": "null", |
| 381 | "text": "N/A", |
| 382 | "to": "null" |
| 383 | } |
| 384 | ], |
| 385 | "sparkline": { |
| 386 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 387 | "full": false, |
| 388 | "lineColor": "rgb(31, 120, 193)", |
| 389 | "show": false |
| 390 | }, |
| 391 | "tableColumn": "", |
| 392 | "targets": [ |
| 393 | { |
| 394 | "expr": "(1 - avg(irate(node_cpu_seconds_total{mode=\"idle\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"}[5m]))) * 100", |
| 395 | "format": "time_series", |
| 396 | "interval": "10s", |
| 397 | "intervalFactor": 1, |
| 398 | "refId": "A", |
| 399 | "step": 10 |
| 400 | } |
| 401 | ], |
| 402 | "thresholds": "65, 90", |
| 403 | "title": "CPU usage (5m avg)", |
| 404 | "type": "singlestat", |
| 405 | "valueFontSize": "80%", |
| 406 | "valueMaps": [ |
| 407 | { |
| 408 | "op": "=", |
| 409 | "text": "0", |
| 410 | "value": "null" |
| 411 | } |
| 412 | ], |
| 413 | "valueName": "current" |
| 414 | }, |
| 415 | { |
| 416 | "cacheTimeout": null, |
| 417 | "colorBackground": false, |
| 418 | "colorValue": true, |
| 419 | "colors": [ |
| 420 | "rgba(50, 172, 45, 0.97)", |
| 421 | "rgba(237, 129, 40, 0.89)", |
| 422 | "rgba(245, 54, 54, 0.9)" |
| 423 | ], |
| 424 | "datasource": "Prometheus", |
| 425 | "editable": true, |
| 426 | "error": false, |
| 427 | "format": "percent", |
| 428 | "gauge": { |
| 429 | "maxValue": 100, |
| 430 | "minValue": 0, |
| 431 | "show": true, |
| 432 | "thresholdLabels": false, |
| 433 | "thresholdMarkers": true |
| 434 | }, |
| 435 | "gridPos": { |
| 436 | "h": 5, |
| 437 | "w": 8, |
| 438 | "x": 8, |
| 439 | "y": 10 |
| 440 | }, |
| 441 | "height": "180px", |
| 442 | "id": 4, |
| 443 | "interval": null, |
| 444 | "isNew": true, |
| 445 | "links": [], |
| 446 | "mappingType": 1, |
| 447 | "mappingTypes": [ |
| 448 | { |
| 449 | "name": "value to text", |
| 450 | "value": 1 |
| 451 | }, |
| 452 | { |
| 453 | "name": "range to text", |
| 454 | "value": 2 |
| 455 | } |
| 456 | ], |
| 457 | "maxDataPoints": 100, |
| 458 | "nullPointMode": "connected", |
| 459 | "nullText": null, |
| 460 | "options": {}, |
| 461 | "postfix": "", |
| 462 | "postfixFontSize": "50%", |
| 463 | "prefix": "", |
| 464 | "prefixFontSize": "50%", |
| 465 | "rangeMaps": [ |
| 466 | { |
| 467 | "from": "null", |
| 468 | "text": "N/A", |
| 469 | "to": "null" |
| 470 | } |
| 471 | ], |
| 472 | "sparkline": { |
| 473 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 474 | "full": false, |
| 475 | "lineColor": "rgb(31, 120, 193)", |
| 476 | "show": false |
| 477 | }, |
| 478 | "tableColumn": "", |
| 479 | "targets": [ |
| 480 | { |
| 481 | "expr": "(1 - sum(node_memory_MemAvailable_bytes{datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})/ sum(node_memory_MemTotal_bytes{datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})) * 100", |
| 482 | "format": "time_series", |
| 483 | "interval": "10s", |
| 484 | "intervalFactor": 1, |
| 485 | "refId": "A", |
| 486 | "step": 10 |
| 487 | } |
| 488 | ], |
| 489 | "thresholds": "65, 90", |
| 490 | "title": "Memory usage", |
| 491 | "type": "singlestat", |
| 492 | "valueFontSize": "80%", |
| 493 | "valueMaps": [ |
| 494 | { |
| 495 | "op": "=", |
| 496 | "text": "0", |
| 497 | "value": "null" |
| 498 | } |
| 499 | ], |
| 500 | "valueName": "current" |
| 501 | }, |
| 502 | { |
| 503 | "cacheTimeout": null, |
| 504 | "colorBackground": false, |
| 505 | "colorValue": true, |
| 506 | "colors": [ |
| 507 | "rgba(50, 172, 45, 0.97)", |
| 508 | "rgba(237, 129, 40, 0.89)", |
| 509 | "rgba(245, 54, 54, 0.9)" |
| 510 | ], |
| 511 | "datasource": "Prometheus", |
| 512 | "decimals": 2, |
| 513 | "editable": true, |
| 514 | "error": false, |
| 515 | "format": "percent", |
| 516 | "gauge": { |
| 517 | "maxValue": 100, |
| 518 | "minValue": 0, |
| 519 | "show": true, |
| 520 | "thresholdLabels": false, |
| 521 | "thresholdMarkers": true |
| 522 | }, |
| 523 | "gridPos": { |
| 524 | "h": 5, |
| 525 | "w": 8, |
| 526 | "x": 16, |
| 527 | "y": 10 |
| 528 | }, |
| 529 | "height": "180px", |
| 530 | "id": 7, |
| 531 | "interval": null, |
| 532 | "isNew": true, |
| 533 | "links": [], |
| 534 | "mappingType": 1, |
| 535 | "mappingTypes": [ |
| 536 | { |
| 537 | "name": "value to text", |
| 538 | "value": 1 |
| 539 | }, |
| 540 | { |
| 541 | "name": "range to text", |
| 542 | "value": 2 |
| 543 | } |
| 544 | ], |
| 545 | "maxDataPoints": 100, |
| 546 | "nullPointMode": "connected", |
| 547 | "nullText": null, |
| 548 | "options": {}, |
| 549 | "postfix": "", |
| 550 | "postfixFontSize": "50%", |
| 551 | "prefix": "", |
| 552 | "prefixFontSize": "50%", |
| 553 | "rangeMaps": [ |
| 554 | { |
| 555 | "from": "null", |
| 556 | "text": "N/A", |
| 557 | "to": "null" |
| 558 | } |
| 559 | ], |
| 560 | "sparkline": { |
| 561 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 562 | "full": false, |
| 563 | "lineColor": "rgb(31, 120, 193)", |
| 564 | "show": false |
| 565 | }, |
| 566 | "tableColumn": "", |
| 567 | "targets": [ |
| 568 | { |
| 569 | "expr": "(sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})\n - sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})) / sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"}) * 100", |
| 570 | "format": "time_series", |
| 571 | "interval": "10s", |
| 572 | "intervalFactor": 1, |
| 573 | "legendFormat": "", |
| 574 | "metric": "", |
| 575 | "refId": "A", |
| 576 | "step": 10 |
| 577 | } |
| 578 | ], |
| 579 | "thresholds": "65, 90", |
| 580 | "title": "Filesystem usage", |
| 581 | "type": "singlestat", |
| 582 | "valueFontSize": "80%", |
| 583 | "valueMaps": [ |
| 584 | { |
| 585 | "op": "=", |
| 586 | "text": "0", |
| 587 | "value": "null" |
| 588 | } |
| 589 | ], |
| 590 | "valueName": "current" |
| 591 | }, |
| 592 | { |
| 593 | "cacheTimeout": null, |
| 594 | "colorBackground": false, |
| 595 | "colorValue": false, |
| 596 | "colors": [ |
| 597 | "rgba(50, 172, 45, 0.97)", |
| 598 | "rgba(237, 129, 40, 0.89)", |
| 599 | "rgba(245, 54, 54, 0.9)" |
| 600 | ], |
| 601 | "datasource": "Prometheus", |
| 602 | "decimals": 2, |
| 603 | "editable": true, |
| 604 | "error": false, |
| 605 | "format": "none", |
| 606 | "gauge": { |
| 607 | "maxValue": 100, |
| 608 | "minValue": 0, |
| 609 | "show": false, |
| 610 | "thresholdLabels": false, |
| 611 | "thresholdMarkers": true |
| 612 | }, |
| 613 | "gridPos": { |
| 614 | "h": 3, |
| 615 | "w": 4, |
| 616 | "x": 0, |
| 617 | "y": 15 |
| 618 | }, |
| 619 | "height": "1px", |
| 620 | "id": 11, |
| 621 | "interval": null, |
| 622 | "isNew": true, |
| 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, |
| 636 | "nullPointMode": "connected", |
| 637 | "nullText": null, |
| 638 | "options": {}, |
| 639 | "postfix": " cores", |
| 640 | "postfixFontSize": "30%", |
| 641 | "prefix": "", |
| 642 | "prefixFontSize": "50%", |
| 643 | "rangeMaps": [ |
| 644 | { |
| 645 | "from": "null", |
| 646 | "text": "N/A", |
| 647 | "to": "null" |
| 648 | } |
| 649 | ], |
| 650 | "sparkline": { |
| 651 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 652 | "full": false, |
| 653 | "lineColor": "rgb(31, 120, 193)", |
| 654 | "show": false |
| 655 | }, |
| 656 | "tableColumn": "", |
| 657 | "targets": [ |
| 658 | { |
| 659 | "expr": "(1 - (avg(irate(node_cpu_seconds_total{mode=\"idle\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"}[5m])))) * sum(machine_cpu_cores{datacenter=\"$datacenter\",kubernetes_io_hostname=~\"^$Node$\"})", |
| 660 | "format": "time_series", |
| 661 | "interval": "10s", |
| 662 | "intervalFactor": 1, |
| 663 | "refId": "A", |
| 664 | "step": 10 |
| 665 | } |
| 666 | ], |
| 667 | "thresholds": "", |
| 668 | "title": "Used", |
| 669 | "type": "singlestat", |
| 670 | "valueFontSize": "50%", |
| 671 | "valueMaps": [ |
| 672 | { |
| 673 | "op": "=", |
| 674 | "text": "0", |
| 675 | "value": "null" |
| 676 | } |
| 677 | ], |
| 678 | "valueName": "current" |
| 679 | }, |
| 680 | { |
| 681 | "cacheTimeout": null, |
| 682 | "colorBackground": false, |
| 683 | "colorValue": false, |
| 684 | "colors": [ |
| 685 | "rgba(50, 172, 45, 0.97)", |
| 686 | "rgba(237, 129, 40, 0.89)", |
| 687 | "rgba(245, 54, 54, 0.9)" |
| 688 | ], |
| 689 | "datasource": "Prometheus", |
| 690 | "decimals": 2, |
| 691 | "editable": true, |
| 692 | "error": false, |
| 693 | "format": "none", |
| 694 | "gauge": { |
| 695 | "maxValue": 100, |
| 696 | "minValue": 0, |
| 697 | "show": false, |
| 698 | "thresholdLabels": false, |
| 699 | "thresholdMarkers": true |
| 700 | }, |
| 701 | "gridPos": { |
| 702 | "h": 3, |
| 703 | "w": 4, |
| 704 | "x": 4, |
| 705 | "y": 15 |
| 706 | }, |
| 707 | "height": "1px", |
| 708 | "id": 12, |
| 709 | "interval": null, |
| 710 | "isNew": true, |
| 711 | "links": [], |
| 712 | "mappingType": 1, |
| 713 | "mappingTypes": [ |
| 714 | { |
| 715 | "name": "value to text", |
| 716 | "value": 1 |
| 717 | }, |
| 718 | { |
| 719 | "name": "range to text", |
| 720 | "value": 2 |
| 721 | } |
| 722 | ], |
| 723 | "maxDataPoints": 100, |
| 724 | "nullPointMode": "connected", |
| 725 | "nullText": null, |
| 726 | "options": {}, |
| 727 | "postfix": " cores", |
| 728 | "postfixFontSize": "30%", |
| 729 | "prefix": "", |
| 730 | "prefixFontSize": "50%", |
| 731 | "rangeMaps": [ |
| 732 | { |
| 733 | "from": "null", |
| 734 | "text": "N/A", |
| 735 | "to": "null" |
| 736 | } |
| 737 | ], |
| 738 | "sparkline": { |
| 739 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 740 | "full": false, |
| 741 | "lineColor": "rgb(31, 120, 193)", |
| 742 | "show": false |
| 743 | }, |
| 744 | "tableColumn": "", |
| 745 | "targets": [ |
| 746 | { |
| 747 | "expr": "sum (machine_cpu_cores{datacenter=\"$datacenter\",kubernetes_io_hostname=~\"^$Node$\"})", |
| 748 | "interval": "10s", |
| 749 | "intervalFactor": 1, |
| 750 | "refId": "A", |
| 751 | "step": 10 |
| 752 | } |
| 753 | ], |
| 754 | "thresholds": "", |
| 755 | "title": "Total", |
| 756 | "type": "singlestat", |
| 757 | "valueFontSize": "50%", |
| 758 | "valueMaps": [ |
| 759 | { |
| 760 | "op": "=", |
| 761 | "text": "0", |
| 762 | "value": "null" |
| 763 | } |
| 764 | ], |
| 765 | "valueName": "current" |
| 766 | }, |
| 767 | { |
| 768 | "cacheTimeout": null, |
| 769 | "colorBackground": false, |
| 770 | "colorValue": false, |
| 771 | "colors": [ |
| 772 | "rgba(50, 172, 45, 0.97)", |
| 773 | "rgba(237, 129, 40, 0.89)", |
| 774 | "rgba(245, 54, 54, 0.9)" |
| 775 | ], |
| 776 | "datasource": "Prometheus", |
| 777 | "decimals": 2, |
| 778 | "editable": true, |
| 779 | "error": false, |
| 780 | "format": "bytes", |
| 781 | "gauge": { |
| 782 | "maxValue": 100, |
| 783 | "minValue": 0, |
| 784 | "show": false, |
| 785 | "thresholdLabels": false, |
| 786 | "thresholdMarkers": true |
| 787 | }, |
| 788 | "gridPos": { |
| 789 | "h": 3, |
| 790 | "w": 4, |
| 791 | "x": 8, |
| 792 | "y": 15 |
| 793 | }, |
| 794 | "height": "1px", |
| 795 | "id": 9, |
| 796 | "interval": null, |
| 797 | "isNew": true, |
| 798 | "links": [], |
| 799 | "mappingType": 1, |
| 800 | "mappingTypes": [ |
| 801 | { |
| 802 | "name": "value to text", |
| 803 | "value": 1 |
| 804 | }, |
| 805 | { |
| 806 | "name": "range to text", |
| 807 | "value": 2 |
| 808 | } |
| 809 | ], |
| 810 | "maxDataPoints": 100, |
| 811 | "nullPointMode": "connected", |
| 812 | "nullText": null, |
| 813 | "options": {}, |
| 814 | "postfix": "", |
| 815 | "postfixFontSize": "20%", |
| 816 | "prefix": "", |
| 817 | "prefixFontSize": "20%", |
| 818 | "rangeMaps": [ |
| 819 | { |
| 820 | "from": "null", |
| 821 | "text": "N/A", |
| 822 | "to": "null" |
| 823 | } |
| 824 | ], |
| 825 | "sparkline": { |
| 826 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 827 | "full": false, |
| 828 | "lineColor": "rgb(31, 120, 193)", |
| 829 | "show": false |
| 830 | }, |
| 831 | "tableColumn": "", |
| 832 | "targets": [ |
| 833 | { |
| 834 | "expr": "sum(node_memory_MemTotal_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node =~\"^$Node$\"}) - sum(node_memory_MemAvailable_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node =~\"^$Node$\"})", |
| 835 | "interval": "10s", |
| 836 | "intervalFactor": 1, |
| 837 | "refId": "A", |
| 838 | "step": 10 |
| 839 | } |
| 840 | ], |
| 841 | "thresholds": "", |
| 842 | "title": "Used", |
| 843 | "type": "singlestat", |
| 844 | "valueFontSize": "50%", |
| 845 | "valueMaps": [ |
| 846 | { |
| 847 | "op": "=", |
| 848 | "text": "0", |
| 849 | "value": "null" |
| 850 | } |
| 851 | ], |
| 852 | "valueName": "current" |
| 853 | }, |
| 854 | { |
| 855 | "cacheTimeout": null, |
| 856 | "colorBackground": false, |
| 857 | "colorValue": false, |
| 858 | "colors": [ |
| 859 | "rgba(50, 172, 45, 0.97)", |
| 860 | "rgba(237, 129, 40, 0.89)", |
| 861 | "rgba(245, 54, 54, 0.9)" |
| 862 | ], |
| 863 | "datasource": "Prometheus", |
| 864 | "decimals": 2, |
| 865 | "editable": true, |
| 866 | "error": false, |
| 867 | "format": "bytes", |
| 868 | "gauge": { |
| 869 | "maxValue": 100, |
| 870 | "minValue": 0, |
| 871 | "show": false, |
| 872 | "thresholdLabels": false, |
| 873 | "thresholdMarkers": true |
| 874 | }, |
| 875 | "gridPos": { |
| 876 | "h": 3, |
| 877 | "w": 4, |
| 878 | "x": 12, |
| 879 | "y": 15 |
| 880 | }, |
| 881 | "height": "1px", |
| 882 | "id": 10, |
| 883 | "interval": null, |
| 884 | "isNew": true, |
| 885 | "links": [], |
| 886 | "mappingType": 1, |
| 887 | "mappingTypes": [ |
| 888 | { |
| 889 | "name": "value to text", |
| 890 | "value": 1 |
| 891 | }, |
| 892 | { |
| 893 | "name": "range to text", |
| 894 | "value": 2 |
| 895 | } |
| 896 | ], |
| 897 | "maxDataPoints": 100, |
| 898 | "nullPointMode": "connected", |
| 899 | "nullText": null, |
| 900 | "options": {}, |
| 901 | "postfix": "", |
| 902 | "postfixFontSize": "50%", |
| 903 | "prefix": "", |
| 904 | "prefixFontSize": "50%", |
| 905 | "rangeMaps": [ |
| 906 | { |
| 907 | "from": "null", |
| 908 | "text": "N/A", |
| 909 | "to": "null" |
| 910 | } |
| 911 | ], |
| 912 | "sparkline": { |
| 913 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 914 | "full": false, |
| 915 | "lineColor": "rgb(31, 120, 193)", |
| 916 | "show": false |
| 917 | }, |
| 918 | "tableColumn": "", |
| 919 | "targets": [ |
| 920 | { |
| 921 | "expr": "sum (machine_memory_bytes{datacenter=\"$datacenter\",kubernetes_io_hostname=~\"^$Node$\"})", |
| 922 | "interval": "10s", |
| 923 | "intervalFactor": 1, |
| 924 | "refId": "A", |
| 925 | "step": 10 |
| 926 | } |
| 927 | ], |
| 928 | "thresholds": "", |
| 929 | "title": "Total", |
| 930 | "type": "singlestat", |
| 931 | "valueFontSize": "50%", |
| 932 | "valueMaps": [ |
| 933 | { |
| 934 | "op": "=", |
| 935 | "text": "0", |
| 936 | "value": "null" |
| 937 | } |
| 938 | ], |
| 939 | "valueName": "current" |
| 940 | }, |
| 941 | { |
| 942 | "cacheTimeout": null, |
| 943 | "colorBackground": false, |
| 944 | "colorValue": false, |
| 945 | "colors": [ |
| 946 | "rgba(50, 172, 45, 0.97)", |
| 947 | "rgba(237, 129, 40, 0.89)", |
| 948 | "rgba(245, 54, 54, 0.9)" |
| 949 | ], |
| 950 | "datasource": "Prometheus", |
| 951 | "decimals": 2, |
| 952 | "editable": true, |
| 953 | "error": false, |
| 954 | "format": "bytes", |
| 955 | "gauge": { |
| 956 | "maxValue": 100, |
| 957 | "minValue": 0, |
| 958 | "show": false, |
| 959 | "thresholdLabels": false, |
| 960 | "thresholdMarkers": true |
| 961 | }, |
| 962 | "gridPos": { |
| 963 | "h": 3, |
| 964 | "w": 4, |
| 965 | "x": 16, |
| 966 | "y": 15 |
| 967 | }, |
| 968 | "height": "1px", |
| 969 | "id": 13, |
| 970 | "interval": null, |
| 971 | "isNew": true, |
| 972 | "links": [], |
| 973 | "mappingType": 1, |
| 974 | "mappingTypes": [ |
| 975 | { |
| 976 | "name": "value to text", |
| 977 | "value": 1 |
| 978 | }, |
| 979 | { |
| 980 | "name": "range to text", |
| 981 | "value": 2 |
| 982 | } |
| 983 | ], |
| 984 | "maxDataPoints": 100, |
| 985 | "nullPointMode": "connected", |
| 986 | "nullText": null, |
| 987 | "options": {}, |
| 988 | "postfix": "", |
| 989 | "postfixFontSize": "50%", |
| 990 | "prefix": "", |
| 991 | "prefixFontSize": "50%", |
| 992 | "rangeMaps": [ |
| 993 | { |
| 994 | "from": "null", |
| 995 | "text": "N/A", |
| 996 | "to": "null" |
| 997 | } |
| 998 | ], |
| 999 | "sparkline": { |
| 1000 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1001 | "full": false, |
| 1002 | "lineColor": "rgb(31, 120, 193)", |
| 1003 | "show": false |
| 1004 | }, |
| 1005 | "tableColumn": "", |
| 1006 | "targets": [ |
| 1007 | { |
| 1008 | "expr": "sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})\n - sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})", |
| 1009 | "interval": "10s", |
| 1010 | "intervalFactor": 1, |
| 1011 | "refId": "A", |
| 1012 | "step": 10 |
| 1013 | } |
| 1014 | ], |
| 1015 | "thresholds": "", |
| 1016 | "title": "Used", |
| 1017 | "type": "singlestat", |
| 1018 | "valueFontSize": "50%", |
| 1019 | "valueMaps": [ |
| 1020 | { |
| 1021 | "op": "=", |
| 1022 | "text": "0", |
| 1023 | "value": "null" |
| 1024 | } |
| 1025 | ], |
| 1026 | "valueName": "current" |
| 1027 | }, |
| 1028 | { |
| 1029 | "cacheTimeout": null, |
| 1030 | "colorBackground": false, |
| 1031 | "colorValue": false, |
| 1032 | "colors": [ |
| 1033 | "rgba(50, 172, 45, 0.97)", |
| 1034 | "rgba(237, 129, 40, 0.89)", |
| 1035 | "rgba(245, 54, 54, 0.9)" |
| 1036 | ], |
| 1037 | "datasource": "Prometheus", |
| 1038 | "decimals": 2, |
| 1039 | "editable": true, |
| 1040 | "error": false, |
| 1041 | "format": "bytes", |
| 1042 | "gauge": { |
| 1043 | "maxValue": 100, |
| 1044 | "minValue": 0, |
| 1045 | "show": false, |
| 1046 | "thresholdLabels": false, |
| 1047 | "thresholdMarkers": true |
| 1048 | }, |
| 1049 | "gridPos": { |
| 1050 | "h": 3, |
| 1051 | "w": 4, |
| 1052 | "x": 20, |
| 1053 | "y": 15 |
| 1054 | }, |
| 1055 | "height": "1px", |
| 1056 | "id": 14, |
| 1057 | "interval": null, |
| 1058 | "isNew": true, |
| 1059 | "links": [], |
| 1060 | "mappingType": 1, |
| 1061 | "mappingTypes": [ |
| 1062 | { |
| 1063 | "name": "value to text", |
| 1064 | "value": 1 |
| 1065 | }, |
| 1066 | { |
| 1067 | "name": "range to text", |
| 1068 | "value": 2 |
| 1069 | } |
| 1070 | ], |
| 1071 | "maxDataPoints": 100, |
| 1072 | "nullPointMode": "connected", |
| 1073 | "nullText": null, |
| 1074 | "options": {}, |
| 1075 | "postfix": "", |
| 1076 | "postfixFontSize": "50%", |
| 1077 | "prefix": "", |
| 1078 | "prefixFontSize": "50%", |
| 1079 | "rangeMaps": [ |
| 1080 | { |
| 1081 | "from": "null", |
| 1082 | "text": "N/A", |
| 1083 | "to": "null" |
| 1084 | } |
| 1085 | ], |
| 1086 | "sparkline": { |
| 1087 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1088 | "full": false, |
| 1089 | "lineColor": "rgb(31, 120, 193)", |
| 1090 | "show": false |
| 1091 | }, |
| 1092 | "tableColumn": "", |
| 1093 | "targets": [ |
| 1094 | { |
| 1095 | "expr": "sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\",datacenter=\"$datacenter\",kubernetes_node=~\"^$Node$\"})", |
| 1096 | "interval": "10s", |
| 1097 | "intervalFactor": 1, |
| 1098 | "refId": "A", |
| 1099 | "step": 10 |
| 1100 | } |
| 1101 | ], |
| 1102 | "thresholds": "", |
| 1103 | "title": "Total", |
| 1104 | "type": "singlestat", |
| 1105 | "valueFontSize": "50%", |
| 1106 | "valueMaps": [ |
| 1107 | { |
| 1108 | "op": "=", |
| 1109 | "text": "0", |
| 1110 | "value": "null" |
| 1111 | } |
| 1112 | ], |
| 1113 | "valueName": "current" |
| 1114 | }, |
| 1115 | { |
| 1116 | "aliasColors": {}, |
| 1117 | "bars": false, |
| 1118 | "dashLength": 10, |
| 1119 | "dashes": false, |
| 1120 | "datasource": "Prometheus", |
| 1121 | "decimals": 2, |
| 1122 | "editable": true, |
| 1123 | "error": false, |
| 1124 | "fill": 1, |
| 1125 | "fillGradient": 0, |
| 1126 | "grid": {}, |
| 1127 | "gridPos": { |
| 1128 | "h": 5, |
| 1129 | "w": 24, |
| 1130 | "x": 0, |
| 1131 | "y": 18 |
| 1132 | }, |
| 1133 | "height": "200px", |
| 1134 | "id": 32, |
| 1135 | "isNew": true, |
| 1136 | "legend": { |
| 1137 | "alignAsTable": false, |
| 1138 | "avg": true, |
| 1139 | "current": true, |
| 1140 | "max": false, |
| 1141 | "min": false, |
| 1142 | "rightSide": false, |
| 1143 | "show": false, |
| 1144 | "sideWidth": 200, |
| 1145 | "sort": "current", |
| 1146 | "sortDesc": true, |
| 1147 | "total": false, |
| 1148 | "values": true |
| 1149 | }, |
| 1150 | "lines": true, |
| 1151 | "linewidth": 2, |
| 1152 | "links": [], |
| 1153 | "nullPointMode": "connected", |
| 1154 | "options": { |
| 1155 | "dataLinks": [] |
| 1156 | }, |
| 1157 | "percentage": false, |
| 1158 | "pointradius": 5, |
| 1159 | "points": false, |
| 1160 | "renderer": "flot", |
| 1161 | "seriesOverrides": [], |
| 1162 | "spaceLength": 10, |
| 1163 | "stack": false, |
| 1164 | "steppedLine": false, |
| 1165 | "targets": [ |
| 1166 | { |
| 1167 | "expr": "sum (rate (node_network_receive_bytes_total{datacenter=\"$datacenter\"}[5m]))by (kubernetes_node)", |
| 1168 | "format": "time_series", |
| 1169 | "interval": "10s", |
| 1170 | "intervalFactor": 1, |
| 1171 | "legendFormat": "{{kubernetes_node}} Received", |
| 1172 | "metric": "network", |
| 1173 | "refId": "A", |
| 1174 | "step": 10 |
| 1175 | }, |
| 1176 | { |
| 1177 | "expr": "- sum (rate (node_network_transmit_bytes_total{datacenter=\"$datacenter\"}[5m])) by (kubernetes_node)", |
| 1178 | "format": "time_series", |
| 1179 | "interval": "10s", |
| 1180 | "intervalFactor": 1, |
| 1181 | "legendFormat": "{{kubernetes_node}} Sent", |
| 1182 | "metric": "network", |
| 1183 | "refId": "B", |
| 1184 | "step": 10 |
| 1185 | } |
| 1186 | ], |
| 1187 | "thresholds": [], |
| 1188 | "timeFrom": null, |
| 1189 | "timeRegions": [], |
| 1190 | "timeShift": null, |
| 1191 | "title": "Network I/O pressure", |
| 1192 | "tooltip": { |
| 1193 | "msResolution": false, |
| 1194 | "shared": true, |
| 1195 | "sort": 0, |
| 1196 | "value_type": "cumulative" |
| 1197 | }, |
| 1198 | "type": "graph", |
| 1199 | "xaxis": { |
| 1200 | "buckets": null, |
| 1201 | "mode": "time", |
| 1202 | "name": null, |
| 1203 | "show": true, |
| 1204 | "values": [] |
| 1205 | }, |
| 1206 | "yaxes": [ |
| 1207 | { |
| 1208 | "format": "Bps", |
| 1209 | "label": null, |
| 1210 | "logBase": 1, |
| 1211 | "max": null, |
| 1212 | "min": null, |
| 1213 | "show": true |
| 1214 | }, |
| 1215 | { |
| 1216 | "format": "Bps", |
| 1217 | "label": null, |
| 1218 | "logBase": 1, |
| 1219 | "max": null, |
| 1220 | "min": null, |
| 1221 | "show": false |
| 1222 | } |
| 1223 | ], |
| 1224 | "yaxis": { |
| 1225 | "align": false, |
| 1226 | "alignLevel": null |
| 1227 | } |
| 1228 | }, |
| 1229 | { |
| 1230 | "collapsed": false, |
| 1231 | "datasource": null, |
| 1232 | "gridPos": { |
| 1233 | "h": 1, |
| 1234 | "w": 24, |
| 1235 | "x": 0, |
| 1236 | "y": 23 |
| 1237 | }, |
| 1238 | "id": 35, |
| 1239 | "panels": [], |
| 1240 | "title": "Pods CPU usage in $datacenter namespace $namespace", |
| 1241 | "type": "row" |
| 1242 | }, |
| 1243 | { |
| 1244 | "aliasColors": {}, |
| 1245 | "bars": false, |
| 1246 | "dashLength": 10, |
| 1247 | "dashes": false, |
| 1248 | "datasource": "Prometheus", |
| 1249 | "decimals": 3, |
| 1250 | "editable": true, |
| 1251 | "error": false, |
| 1252 | "fill": 1, |
| 1253 | "fillGradient": 0, |
| 1254 | "grid": {}, |
| 1255 | "gridPos": { |
| 1256 | "h": 7, |
| 1257 | "w": 24, |
| 1258 | "x": 0, |
| 1259 | "y": 24 |
| 1260 | }, |
| 1261 | "height": "", |
| 1262 | "id": 17, |
| 1263 | "isNew": true, |
| 1264 | "legend": { |
| 1265 | "alignAsTable": true, |
| 1266 | "avg": true, |
| 1267 | "current": true, |
| 1268 | "max": false, |
| 1269 | "min": false, |
| 1270 | "rightSide": true, |
| 1271 | "show": true, |
| 1272 | "sideWidth": null, |
| 1273 | "sort": "avg", |
| 1274 | "sortDesc": true, |
| 1275 | "total": false, |
| 1276 | "values": true |
| 1277 | }, |
| 1278 | "lines": true, |
| 1279 | "linewidth": 2, |
| 1280 | "links": [], |
| 1281 | "nullPointMode": "connected", |
| 1282 | "options": { |
| 1283 | "dataLinks": [] |
| 1284 | }, |
| 1285 | "percentage": false, |
| 1286 | "pointradius": 5, |
| 1287 | "points": false, |
| 1288 | "renderer": "flot", |
| 1289 | "seriesOverrides": [], |
| 1290 | "spaceLength": 10, |
| 1291 | "stack": false, |
| 1292 | "steppedLine": true, |
| 1293 | "targets": [ |
| 1294 | { |
| 1295 | "expr": "sum (rate (container_cpu_usage_seconds_total{pod_name!=\"\", image!=\"\", container_name!=\"POD\", datacenter=\"$datacenter\", namespace=~\"^$namespace$\"}[5m])) by (pod_name)", |
| 1296 | "format": "time_series", |
| 1297 | "interval": "10s", |
| 1298 | "intervalFactor": 1, |
| 1299 | "legendFormat": "{{ pod_name }}", |
| 1300 | "metric": "container_cpu", |
| 1301 | "refId": "A", |
| 1302 | "step": 10 |
| 1303 | } |
| 1304 | ], |
| 1305 | "thresholds": [], |
| 1306 | "timeFrom": null, |
| 1307 | "timeRegions": [], |
| 1308 | "timeShift": null, |
| 1309 | "title": "Pods CPU usage (5m avg)", |
| 1310 | "tooltip": { |
| 1311 | "msResolution": true, |
| 1312 | "shared": true, |
| 1313 | "sort": 2, |
| 1314 | "value_type": "cumulative" |
| 1315 | }, |
| 1316 | "type": "graph", |
| 1317 | "xaxis": { |
| 1318 | "buckets": null, |
| 1319 | "mode": "time", |
| 1320 | "name": null, |
| 1321 | "show": true, |
| 1322 | "values": [] |
| 1323 | }, |
| 1324 | "yaxes": [ |
| 1325 | { |
| 1326 | "format": "percentunit", |
| 1327 | "label": "cores", |
| 1328 | "logBase": 1, |
| 1329 | "max": null, |
| 1330 | "min": null, |
| 1331 | "show": true |
| 1332 | }, |
| 1333 | { |
| 1334 | "format": "short", |
| 1335 | "label": null, |
| 1336 | "logBase": 1, |
| 1337 | "max": null, |
| 1338 | "min": null, |
| 1339 | "show": false |
| 1340 | } |
| 1341 | ], |
| 1342 | "yaxis": { |
| 1343 | "align": false, |
| 1344 | "alignLevel": null |
| 1345 | } |
| 1346 | }, |
| 1347 | { |
| 1348 | "collapsed": false, |
| 1349 | "datasource": null, |
| 1350 | "gridPos": { |
| 1351 | "h": 1, |
| 1352 | "w": 24, |
| 1353 | "x": 0, |
| 1354 | "y": 31 |
| 1355 | }, |
| 1356 | "id": 39, |
| 1357 | "panels": [], |
| 1358 | "title": "Pods memory usage in $datacenter namespace $namespace", |
| 1359 | "type": "row" |
| 1360 | }, |
| 1361 | { |
| 1362 | "aliasColors": {}, |
| 1363 | "bars": false, |
| 1364 | "dashLength": 10, |
| 1365 | "dashes": false, |
| 1366 | "datasource": "Prometheus", |
| 1367 | "decimals": 2, |
| 1368 | "editable": true, |
| 1369 | "error": false, |
| 1370 | "fill": 1, |
| 1371 | "fillGradient": 0, |
| 1372 | "grid": {}, |
| 1373 | "gridPos": { |
| 1374 | "h": 7, |
| 1375 | "w": 24, |
| 1376 | "x": 0, |
| 1377 | "y": 32 |
| 1378 | }, |
| 1379 | "id": 25, |
| 1380 | "isNew": true, |
| 1381 | "legend": { |
| 1382 | "alignAsTable": true, |
| 1383 | "avg": true, |
| 1384 | "current": true, |
| 1385 | "max": false, |
| 1386 | "min": false, |
| 1387 | "rightSide": true, |
| 1388 | "show": true, |
| 1389 | "sideWidth": null, |
| 1390 | "sort": "current", |
| 1391 | "sortDesc": true, |
| 1392 | "total": false, |
| 1393 | "values": true |
| 1394 | }, |
| 1395 | "lines": true, |
| 1396 | "linewidth": 2, |
| 1397 | "links": [], |
| 1398 | "nullPointMode": "connected", |
| 1399 | "options": { |
| 1400 | "dataLinks": [] |
| 1401 | }, |
| 1402 | "percentage": false, |
| 1403 | "pointradius": 5, |
| 1404 | "points": false, |
| 1405 | "renderer": "flot", |
| 1406 | "seriesOverrides": [], |
| 1407 | "spaceLength": 10, |
| 1408 | "stack": false, |
| 1409 | "steppedLine": true, |
| 1410 | "targets": [ |
| 1411 | { |
| 1412 | "expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\", container_name!=\"\", namespace=~\"^$namespace$\", datacenter=\"$datacenter\"})by (pod_name)", |
| 1413 | "format": "time_series", |
| 1414 | "interval": "10s", |
| 1415 | "intervalFactor": 1, |
| 1416 | "legendFormat": "{{ pod_name }}", |
| 1417 | "metric": "container_memory_usage:sort_desc", |
| 1418 | "refId": "A", |
| 1419 | "step": 10 |
| 1420 | } |
| 1421 | ], |
| 1422 | "thresholds": [], |
| 1423 | "timeFrom": null, |
| 1424 | "timeRegions": [], |
| 1425 | "timeShift": null, |
| 1426 | "title": "Pods memory usage", |
| 1427 | "tooltip": { |
| 1428 | "msResolution": false, |
| 1429 | "shared": true, |
| 1430 | "sort": 2, |
| 1431 | "value_type": "cumulative" |
| 1432 | }, |
| 1433 | "type": "graph", |
| 1434 | "xaxis": { |
| 1435 | "buckets": null, |
| 1436 | "mode": "time", |
| 1437 | "name": null, |
| 1438 | "show": true, |
| 1439 | "values": [] |
| 1440 | }, |
| 1441 | "yaxes": [ |
| 1442 | { |
| 1443 | "format": "bytes", |
| 1444 | "label": null, |
| 1445 | "logBase": 1, |
| 1446 | "max": null, |
| 1447 | "min": null, |
| 1448 | "show": true |
| 1449 | }, |
| 1450 | { |
| 1451 | "format": "short", |
| 1452 | "label": null, |
| 1453 | "logBase": 1, |
| 1454 | "max": null, |
| 1455 | "min": null, |
| 1456 | "show": false |
| 1457 | } |
| 1458 | ], |
| 1459 | "yaxis": { |
| 1460 | "align": false, |
| 1461 | "alignLevel": null |
| 1462 | } |
| 1463 | }, |
| 1464 | { |
| 1465 | "collapsed": false, |
| 1466 | "datasource": null, |
| 1467 | "gridPos": { |
| 1468 | "h": 1, |
| 1469 | "w": 24, |
| 1470 | "x": 0, |
| 1471 | "y": 39 |
| 1472 | }, |
| 1473 | "id": 41, |
| 1474 | "panels": [], |
| 1475 | "title": "Pods network I/O in $datacenter namespace $namespace", |
| 1476 | "type": "row" |
| 1477 | }, |
| 1478 | { |
| 1479 | "aliasColors": {}, |
| 1480 | "bars": false, |
| 1481 | "dashLength": 10, |
| 1482 | "dashes": false, |
| 1483 | "datasource": null, |
| 1484 | "fill": 1, |
| 1485 | "fillGradient": 0, |
| 1486 | "gridPos": { |
| 1487 | "h": 7, |
| 1488 | "w": 24, |
| 1489 | "x": 0, |
| 1490 | "y": 40 |
| 1491 | }, |
| 1492 | "id": 43, |
| 1493 | "legend": { |
| 1494 | "alignAsTable": true, |
| 1495 | "avg": true, |
| 1496 | "current": true, |
| 1497 | "max": false, |
| 1498 | "min": false, |
| 1499 | "rightSide": true, |
| 1500 | "show": true, |
| 1501 | "total": false, |
| 1502 | "values": true |
| 1503 | }, |
| 1504 | "lines": true, |
| 1505 | "linewidth": 2, |
| 1506 | "nullPointMode": "null", |
| 1507 | "options": { |
| 1508 | "dataLinks": [] |
| 1509 | }, |
| 1510 | "percentage": false, |
| 1511 | "pointradius": 2, |
| 1512 | "points": false, |
| 1513 | "renderer": "flot", |
| 1514 | "seriesOverrides": [], |
| 1515 | "spaceLength": 10, |
| 1516 | "stack": false, |
| 1517 | "steppedLine": false, |
| 1518 | "targets": [ |
| 1519 | { |
| 1520 | "expr": "sum (rate (container_network_receive_bytes_total{pod_name!=\"\", container_name!=\"\", datacenter=\"$datacenter\",namespace=~\"^$namespace$\"}[5m])) by (pod_name)", |
| 1521 | "legendFormat": "{{ pod_name }} Rcvd", |
| 1522 | "refId": "A" |
| 1523 | }, |
| 1524 | { |
| 1525 | "expr": "- sum (rate (container_network_transmit_bytes_total{pod_name!=\"\", container_name!=\"\", datacenter=\"$datacenter\",namespace=~\"^$namespace$\"}[5m])) by (pod_name)", |
| 1526 | "legendFormat": "{{ pod_name }} Sent", |
| 1527 | "refId": "B" |
| 1528 | } |
| 1529 | ], |
| 1530 | "thresholds": [], |
| 1531 | "timeFrom": null, |
| 1532 | "timeRegions": [], |
| 1533 | "timeShift": null, |
| 1534 | "title": "Pods network I/O (5m avg)", |
| 1535 | "tooltip": { |
| 1536 | "shared": true, |
| 1537 | "sort": 0, |
| 1538 | "value_type": "individual" |
| 1539 | }, |
| 1540 | "type": "graph", |
| 1541 | "xaxis": { |
| 1542 | "buckets": null, |
| 1543 | "mode": "time", |
| 1544 | "name": null, |
| 1545 | "show": true, |
| 1546 | "values": [] |
| 1547 | }, |
| 1548 | "yaxes": [ |
| 1549 | { |
| 1550 | "decimals": null, |
| 1551 | "format": "Bps", |
| 1552 | "label": "", |
| 1553 | "logBase": 1, |
| 1554 | "max": null, |
| 1555 | "min": null, |
| 1556 | "show": true |
| 1557 | }, |
| 1558 | { |
| 1559 | "format": "short", |
| 1560 | "label": null, |
| 1561 | "logBase": 1, |
| 1562 | "max": null, |
| 1563 | "min": null, |
| 1564 | "show": false |
| 1565 | } |
| 1566 | ], |
| 1567 | "yaxis": { |
| 1568 | "align": false, |
| 1569 | "alignLevel": null |
| 1570 | } |
| 1571 | } |
| 1572 | ], |
| 1573 | "refresh": "1m", |
| 1574 | "schemaVersion": 20, |
| 1575 | "style": "dark", |
| 1576 | "tags": [ |
| 1577 | "aether" |
| 1578 | ], |
| 1579 | "templating": { |
| 1580 | "list": [ |
| 1581 | { |
| 1582 | "allValue": null, |
| 1583 | "datasource": "Prometheus", |
| 1584 | "definition": "label_values(kube_pod_info, datacenter)", |
| 1585 | "hide": 0, |
| 1586 | "includeAll": false, |
| 1587 | "label": "Datacenter", |
| 1588 | "multi": false, |
| 1589 | "name": "datacenter", |
| 1590 | "options": [], |
| 1591 | "query": "label_values(kube_pod_info, datacenter)", |
| 1592 | "refresh": 2, |
| 1593 | "regex": "", |
| 1594 | "skipUrlSync": false, |
| 1595 | "sort": 1, |
| 1596 | "tagValuesQuery": "", |
| 1597 | "tags": [], |
| 1598 | "tagsQuery": "", |
| 1599 | "type": "query", |
| 1600 | "useTags": false |
| 1601 | }, |
| 1602 | { |
| 1603 | "allValue": ".*", |
| 1604 | "current": { |
| 1605 | "tags": [], |
| 1606 | "text": "All", |
| 1607 | "value": "$__all" |
| 1608 | }, |
| 1609 | "datasource": "Prometheus", |
| 1610 | "definition": "label_values(node_load1{datacenter=\"$datacenter\"}, kubernetes_node)", |
| 1611 | "hide": 0, |
| 1612 | "includeAll": true, |
| 1613 | "label": null, |
| 1614 | "multi": false, |
| 1615 | "name": "Node", |
| 1616 | "options": [], |
| 1617 | "query": "label_values(node_load1{datacenter=\"$datacenter\"}, kubernetes_node)", |
| 1618 | "refresh": 1, |
| 1619 | "regex": "", |
| 1620 | "skipUrlSync": false, |
| 1621 | "sort": 0, |
| 1622 | "tagValuesQuery": "", |
| 1623 | "tags": [], |
| 1624 | "tagsQuery": "", |
| 1625 | "type": "query", |
| 1626 | "useTags": false |
| 1627 | }, |
| 1628 | { |
| 1629 | "allValue": ".*", |
| 1630 | "current": { |
| 1631 | "text": "All", |
| 1632 | "value": "$__all" |
| 1633 | }, |
| 1634 | "datasource": "Prometheus", |
| 1635 | "definition": "label_values(kube_pod_info{datacenter=\"$datacenter\"}, namespace)", |
| 1636 | "hide": 0, |
| 1637 | "includeAll": true, |
| 1638 | "label": "Namespace", |
| 1639 | "multi": false, |
| 1640 | "name": "namespace", |
| 1641 | "options": [ |
| 1642 | { |
| 1643 | "selected": true, |
| 1644 | "text": "All", |
| 1645 | "value": "$__all" |
| 1646 | }, |
| 1647 | { |
| 1648 | "selected": false, |
| 1649 | "text": "default", |
| 1650 | "value": "default" |
| 1651 | }, |
| 1652 | { |
| 1653 | "selected": false, |
| 1654 | "text": "kube-system", |
| 1655 | "value": "kube-system" |
| 1656 | }, |
| 1657 | { |
| 1658 | "selected": false, |
| 1659 | "text": "omec", |
| 1660 | "value": "omec" |
| 1661 | } |
| 1662 | ], |
| 1663 | "query": "label_values(kube_pod_info{datacenter=\"$datacenter\"}, namespace)", |
| 1664 | "refresh": 0, |
| 1665 | "regex": "", |
| 1666 | "skipUrlSync": false, |
| 1667 | "sort": 0, |
| 1668 | "tagValuesQuery": "", |
| 1669 | "tags": [], |
| 1670 | "tagsQuery": "", |
| 1671 | "type": "query", |
| 1672 | "useTags": false |
| 1673 | } |
| 1674 | ] |
| 1675 | }, |
| 1676 | "time": { |
| 1677 | "from": "now-30m", |
| 1678 | "to": "now" |
| 1679 | }, |
| 1680 | "timepicker": { |
| 1681 | "refresh_intervals": [ |
| 1682 | "5s", |
| 1683 | "10s", |
| 1684 | "30s", |
| 1685 | "1m", |
| 1686 | "5m", |
| 1687 | "15m", |
| 1688 | "30m", |
| 1689 | "1h", |
| 1690 | "2h", |
| 1691 | "1d" |
| 1692 | ], |
| 1693 | "time_options": [ |
| 1694 | "5m", |
| 1695 | "15m", |
| 1696 | "1h", |
| 1697 | "6h", |
| 1698 | "12h", |
| 1699 | "24h", |
| 1700 | "2d", |
| 1701 | "7d", |
| 1702 | "30d" |
| 1703 | ] |
| 1704 | }, |
| 1705 | "timezone": "browser", |
| 1706 | "title": "Aether Clusters", |
| 1707 | "uid": "icjpCppik", |
| 1708 | "version": 6 |
| 1709 | } |