Hyunsun Moon | da48dbe | 2020-02-02 13:26:18 -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": 10, |
| 19 | "iteration": 1580642657156, |
| 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": 25, |
| 32 | "panels": [], |
| 33 | "repeat": "pod", |
| 34 | "scopedVars": { |
| 35 | "pod": { |
| 36 | "selected": false, |
| 37 | "text": "spgwu", |
| 38 | "value": "spgwu" |
| 39 | } |
| 40 | }, |
| 41 | "title": "$namespace:$pod Resource Usage", |
| 42 | "type": "row" |
| 43 | }, |
| 44 | { |
| 45 | "cacheTimeout": null, |
| 46 | "colorBackground": false, |
| 47 | "colorValue": true, |
| 48 | "colors": [ |
| 49 | "rgba(50, 172, 45, 0.97)", |
| 50 | "rgba(237, 129, 40, 0.89)", |
| 51 | "rgba(245, 54, 54, 0.9)" |
| 52 | ], |
| 53 | "datasource": "Prometheus", |
| 54 | "decimals": null, |
| 55 | "description": "", |
| 56 | "format": "percent", |
| 57 | "gauge": { |
| 58 | "maxValue": 100, |
| 59 | "minValue": 0, |
| 60 | "show": true, |
| 61 | "thresholdLabels": false, |
| 62 | "thresholdMarkers": true |
| 63 | }, |
| 64 | "gridPos": { |
| 65 | "h": 5, |
| 66 | "w": 6, |
| 67 | "x": 0, |
| 68 | "y": 1 |
| 69 | }, |
| 70 | "id": 10, |
| 71 | "interval": null, |
| 72 | "links": [], |
| 73 | "mappingType": 1, |
| 74 | "mappingTypes": [ |
| 75 | { |
| 76 | "name": "value to text", |
| 77 | "value": 1 |
| 78 | }, |
| 79 | { |
| 80 | "name": "range to text", |
| 81 | "value": 2 |
| 82 | } |
| 83 | ], |
| 84 | "maxDataPoints": 100, |
| 85 | "maxPerRow": 12, |
| 86 | "nullPointMode": "null", |
| 87 | "nullText": null, |
| 88 | "options": {}, |
| 89 | "postfix": "", |
| 90 | "postfixFontSize": "50%", |
| 91 | "prefix": "", |
| 92 | "prefixFontSize": "50%", |
| 93 | "rangeMaps": [ |
| 94 | { |
| 95 | "from": "null", |
| 96 | "text": "N/A", |
| 97 | "to": "null" |
| 98 | } |
| 99 | ], |
| 100 | "repeat": null, |
| 101 | "repeatDirection": "v", |
| 102 | "scopedVars": { |
| 103 | "pod": { |
| 104 | "selected": false, |
| 105 | "text": "spgwu", |
| 106 | "value": "spgwu" |
| 107 | } |
| 108 | }, |
| 109 | "sparkline": { |
| 110 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 111 | "full": false, |
| 112 | "lineColor": "rgb(31, 120, 193)", |
| 113 | "show": true |
| 114 | }, |
| 115 | "tableColumn": "", |
| 116 | "targets": [ |
| 117 | { |
| 118 | "expr": "sum(rate(container_cpu_usage_seconds_total{datacenter=\"$site\", namespace=\"$namespace\", image!=\"\", container_name!=\"POD\", pod_name=~\"$pod.*\"}[5m])) / sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"}) * 100", |
| 119 | "format": "time_series", |
| 120 | "interval": "10s", |
| 121 | "intervalFactor": 1, |
| 122 | "legendFormat": "", |
| 123 | "refId": "A" |
| 124 | } |
| 125 | ], |
| 126 | "thresholds": "85,95", |
| 127 | "title": "CPU usage", |
| 128 | "type": "singlestat", |
| 129 | "valueFontSize": "80%", |
| 130 | "valueMaps": [ |
| 131 | { |
| 132 | "op": "=", |
| 133 | "text": "N/A", |
| 134 | "value": "null" |
| 135 | } |
| 136 | ], |
| 137 | "valueName": "current" |
| 138 | }, |
| 139 | { |
| 140 | "cacheTimeout": null, |
| 141 | "colorBackground": false, |
| 142 | "colorValue": true, |
| 143 | "colors": [ |
| 144 | "rgba(50, 172, 45, 0.97)", |
| 145 | "rgba(237, 129, 40, 0.89)", |
| 146 | "rgba(245, 54, 54, 0.9)" |
| 147 | ], |
| 148 | "datasource": "Prometheus", |
| 149 | "decimals": null, |
| 150 | "description": "", |
| 151 | "format": "percent", |
| 152 | "gauge": { |
| 153 | "maxValue": 100, |
| 154 | "minValue": 0, |
| 155 | "show": true, |
| 156 | "thresholdLabels": false, |
| 157 | "thresholdMarkers": true |
| 158 | }, |
| 159 | "gridPos": { |
| 160 | "h": 5, |
| 161 | "w": 6, |
| 162 | "x": 6, |
| 163 | "y": 1 |
| 164 | }, |
| 165 | "id": 12, |
| 166 | "interval": null, |
| 167 | "links": [], |
| 168 | "mappingType": 1, |
| 169 | "mappingTypes": [ |
| 170 | { |
| 171 | "name": "value to text", |
| 172 | "value": 1 |
| 173 | }, |
| 174 | { |
| 175 | "name": "range to text", |
| 176 | "value": 2 |
| 177 | } |
| 178 | ], |
| 179 | "maxDataPoints": 100, |
| 180 | "maxPerRow": 12, |
| 181 | "nullPointMode": "null", |
| 182 | "nullText": null, |
| 183 | "options": {}, |
| 184 | "postfix": "", |
| 185 | "postfixFontSize": "50%", |
| 186 | "prefix": "", |
| 187 | "prefixFontSize": "50%", |
| 188 | "rangeMaps": [ |
| 189 | { |
| 190 | "from": "null", |
| 191 | "text": "N/A", |
| 192 | "to": "null" |
| 193 | } |
| 194 | ], |
| 195 | "repeat": null, |
| 196 | "repeatDirection": "v", |
| 197 | "scopedVars": { |
| 198 | "pod": { |
| 199 | "selected": false, |
| 200 | "text": "spgwu", |
| 201 | "value": "spgwu" |
| 202 | } |
| 203 | }, |
| 204 | "sparkline": { |
| 205 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 206 | "full": false, |
| 207 | "lineColor": "rgb(31, 120, 193)", |
| 208 | "show": true |
| 209 | }, |
| 210 | "tableColumn": "", |
| 211 | "targets": [ |
| 212 | { |
| 213 | "expr": "100 * (sum(container_memory_usage_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", container_name!=\"POD\"}))", |
| 214 | "format": "time_series", |
| 215 | "hide": false, |
| 216 | "instant": false, |
| 217 | "interval": "10s", |
| 218 | "intervalFactor": 1, |
| 219 | "refId": "A" |
| 220 | } |
| 221 | ], |
| 222 | "thresholds": "85,95", |
| 223 | "title": "Memory usage", |
| 224 | "type": "singlestat", |
| 225 | "valueFontSize": "80%", |
| 226 | "valueMaps": [ |
| 227 | { |
| 228 | "op": "=", |
| 229 | "text": "N/A", |
| 230 | "value": "null" |
| 231 | } |
| 232 | ], |
| 233 | "valueName": "current" |
| 234 | }, |
| 235 | { |
| 236 | "aliasColors": {}, |
| 237 | "bars": false, |
| 238 | "dashLength": 10, |
| 239 | "dashes": false, |
| 240 | "datasource": null, |
| 241 | "fill": 2, |
| 242 | "fillGradient": 0, |
| 243 | "gridPos": { |
| 244 | "h": 8, |
| 245 | "w": 12, |
| 246 | "x": 12, |
| 247 | "y": 1 |
| 248 | }, |
| 249 | "id": 2, |
| 250 | "legend": { |
| 251 | "alignAsTable": true, |
| 252 | "avg": true, |
| 253 | "current": true, |
| 254 | "max": false, |
| 255 | "min": false, |
| 256 | "rightSide": true, |
| 257 | "show": true, |
| 258 | "total": false, |
| 259 | "values": true |
| 260 | }, |
| 261 | "lines": true, |
| 262 | "linewidth": 1, |
| 263 | "links": [], |
| 264 | "nullPointMode": "null", |
| 265 | "options": { |
| 266 | "dataLinks": [] |
| 267 | }, |
| 268 | "percentage": false, |
| 269 | "pointradius": 1, |
| 270 | "points": false, |
| 271 | "renderer": "flot", |
| 272 | "repeat": null, |
| 273 | "repeatDirection": "v", |
| 274 | "scopedVars": { |
| 275 | "pod": { |
| 276 | "selected": false, |
| 277 | "text": "spgwu", |
| 278 | "value": "spgwu" |
| 279 | } |
| 280 | }, |
| 281 | "seriesOverrides": [], |
| 282 | "spaceLength": 10, |
| 283 | "stack": false, |
| 284 | "steppedLine": false, |
| 285 | "targets": [ |
| 286 | { |
| 287 | "expr": "sum(rate(container_network_receive_bytes_total{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)", |
| 288 | "format": "time_series", |
| 289 | "interval": "10s", |
| 290 | "intervalFactor": 1, |
| 291 | "legendFormat": "rx: {{pod_name}}| {{ interface }}", |
| 292 | "refId": "B" |
| 293 | }, |
| 294 | { |
| 295 | "expr": "-sum(rate(container_network_transmit_bytes_total{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)", |
| 296 | "format": "time_series", |
| 297 | "interval": "10s", |
| 298 | "intervalFactor": 1, |
| 299 | "legendFormat": "tx: {{pod_name}}| {{ interface }}", |
| 300 | "refId": "A" |
| 301 | } |
| 302 | ], |
| 303 | "thresholds": [], |
| 304 | "timeFrom": null, |
| 305 | "timeRegions": [], |
| 306 | "timeShift": null, |
| 307 | "title": "Network I/O", |
| 308 | "tooltip": { |
| 309 | "shared": true, |
| 310 | "sort": 1, |
| 311 | "value_type": "individual" |
| 312 | }, |
| 313 | "type": "graph", |
| 314 | "xaxis": { |
| 315 | "buckets": null, |
| 316 | "mode": "time", |
| 317 | "name": null, |
| 318 | "show": true, |
| 319 | "values": [] |
| 320 | }, |
| 321 | "yaxes": [ |
| 322 | { |
| 323 | "format": "Bps", |
| 324 | "label": null, |
| 325 | "logBase": 1, |
| 326 | "max": null, |
| 327 | "min": null, |
| 328 | "show": true |
| 329 | }, |
| 330 | { |
| 331 | "format": "Bps", |
| 332 | "label": null, |
| 333 | "logBase": 1, |
| 334 | "max": null, |
| 335 | "min": null, |
| 336 | "show": false |
| 337 | } |
| 338 | ], |
| 339 | "yaxis": { |
| 340 | "align": false, |
| 341 | "alignLevel": null |
| 342 | } |
| 343 | }, |
| 344 | { |
| 345 | "cacheTimeout": null, |
| 346 | "colorBackground": false, |
| 347 | "colorValue": false, |
| 348 | "colors": [ |
| 349 | "#299c46", |
| 350 | "rgba(237, 129, 40, 0.89)", |
| 351 | "#d44a3a" |
| 352 | ], |
| 353 | "datasource": null, |
| 354 | "format": "none", |
| 355 | "gauge": { |
| 356 | "maxValue": 100, |
| 357 | "minValue": 0, |
| 358 | "show": false, |
| 359 | "thresholdLabels": false, |
| 360 | "thresholdMarkers": true |
| 361 | }, |
| 362 | "gridPos": { |
| 363 | "h": 3, |
| 364 | "w": 3, |
| 365 | "x": 0, |
| 366 | "y": 6 |
| 367 | }, |
| 368 | "id": 20, |
| 369 | "interval": null, |
| 370 | "links": [], |
| 371 | "mappingType": 1, |
| 372 | "mappingTypes": [ |
| 373 | { |
| 374 | "name": "value to text", |
| 375 | "value": 1 |
| 376 | }, |
| 377 | { |
| 378 | "name": "range to text", |
| 379 | "value": 2 |
| 380 | } |
| 381 | ], |
| 382 | "maxDataPoints": 100, |
| 383 | "nullPointMode": "connected", |
| 384 | "nullText": null, |
| 385 | "options": {}, |
| 386 | "postfix": "", |
| 387 | "postfixFontSize": "50%", |
| 388 | "prefix": "", |
| 389 | "prefixFontSize": "50%", |
| 390 | "rangeMaps": [ |
| 391 | { |
| 392 | "from": "null", |
| 393 | "text": "N/A", |
| 394 | "to": "null" |
| 395 | } |
| 396 | ], |
| 397 | "repeat": null, |
| 398 | "repeatDirection": "v", |
| 399 | "scopedVars": { |
| 400 | "pod": { |
| 401 | "selected": false, |
| 402 | "text": "spgwu", |
| 403 | "value": "spgwu" |
| 404 | } |
| 405 | }, |
| 406 | "sparkline": { |
| 407 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 408 | "full": false, |
| 409 | "lineColor": "rgb(31, 120, 193)", |
| 410 | "show": false, |
| 411 | "ymax": null, |
| 412 | "ymin": null |
| 413 | }, |
| 414 | "tableColumn": "", |
| 415 | "targets": [ |
| 416 | { |
| 417 | "expr": "sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"})", |
| 418 | "interval": "10s", |
| 419 | "refId": "A" |
| 420 | } |
| 421 | ], |
| 422 | "thresholds": "", |
| 423 | "timeFrom": null, |
| 424 | "timeShift": null, |
| 425 | "title": "CPU limits", |
| 426 | "type": "singlestat", |
| 427 | "valueFontSize": "80%", |
| 428 | "valueMaps": [ |
| 429 | { |
| 430 | "op": "=", |
| 431 | "text": "N/A", |
| 432 | "value": "null" |
| 433 | } |
| 434 | ], |
| 435 | "valueName": "avg" |
| 436 | }, |
| 437 | { |
| 438 | "cacheTimeout": null, |
| 439 | "colorBackground": false, |
| 440 | "colorValue": false, |
| 441 | "colors": [ |
| 442 | "#299c46", |
| 443 | "rgba(237, 129, 40, 0.89)", |
| 444 | "#d44a3a" |
| 445 | ], |
| 446 | "datasource": null, |
| 447 | "format": "none", |
| 448 | "gauge": { |
| 449 | "maxValue": 100, |
| 450 | "minValue": 0, |
| 451 | "show": false, |
| 452 | "thresholdLabels": false, |
| 453 | "thresholdMarkers": true |
| 454 | }, |
| 455 | "gridPos": { |
| 456 | "h": 3, |
| 457 | "w": 3, |
| 458 | "x": 3, |
| 459 | "y": 6 |
| 460 | }, |
| 461 | "id": 21, |
| 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 | "nullPointMode": "connected", |
| 477 | "nullText": null, |
| 478 | "options": {}, |
| 479 | "postfix": "", |
| 480 | "postfixFontSize": "50%", |
| 481 | "prefix": "", |
| 482 | "prefixFontSize": "50%", |
| 483 | "rangeMaps": [ |
| 484 | { |
| 485 | "from": "null", |
| 486 | "text": "N/A", |
| 487 | "to": "null" |
| 488 | } |
| 489 | ], |
| 490 | "repeat": null, |
| 491 | "repeatDirection": "v", |
| 492 | "scopedVars": { |
| 493 | "pod": { |
| 494 | "selected": false, |
| 495 | "text": "spgwu", |
| 496 | "value": "spgwu" |
| 497 | } |
| 498 | }, |
| 499 | "sparkline": { |
| 500 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 501 | "full": false, |
| 502 | "lineColor": "rgb(31, 120, 193)", |
| 503 | "show": false, |
| 504 | "ymax": null, |
| 505 | "ymin": null |
| 506 | }, |
| 507 | "tableColumn": "", |
| 508 | "targets": [ |
| 509 | { |
| 510 | "expr": "sum (rate(container_cpu_usage_seconds_total{datacenter=\"$site\", namespace=\"$namespace\", image!=\"\", container_name!=\"POD\", pod_name=~\"$pod.*\"}[5m]))", |
| 511 | "interval": "10s", |
| 512 | "refId": "A" |
| 513 | } |
| 514 | ], |
| 515 | "thresholds": "", |
| 516 | "timeFrom": null, |
| 517 | "timeShift": null, |
| 518 | "title": "CPU used (5m avg)", |
| 519 | "type": "singlestat", |
| 520 | "valueFontSize": "80%", |
| 521 | "valueMaps": [ |
| 522 | { |
| 523 | "op": "=", |
| 524 | "text": "N/A", |
| 525 | "value": "null" |
| 526 | } |
| 527 | ], |
| 528 | "valueName": "avg" |
| 529 | }, |
| 530 | { |
| 531 | "cacheTimeout": null, |
| 532 | "colorBackground": false, |
| 533 | "colorValue": false, |
| 534 | "colors": [ |
| 535 | "#299c46", |
| 536 | "rgba(237, 129, 40, 0.89)", |
| 537 | "#d44a3a" |
| 538 | ], |
| 539 | "datasource": null, |
| 540 | "decimals": 2, |
| 541 | "format": "decbytes", |
| 542 | "gauge": { |
| 543 | "maxValue": 100, |
| 544 | "minValue": 0, |
| 545 | "show": false, |
| 546 | "thresholdLabels": false, |
| 547 | "thresholdMarkers": true |
| 548 | }, |
| 549 | "gridPos": { |
| 550 | "h": 3, |
| 551 | "w": 3, |
| 552 | "x": 6, |
| 553 | "y": 6 |
| 554 | }, |
| 555 | "id": 22, |
| 556 | "interval": null, |
| 557 | "links": [], |
| 558 | "mappingType": 1, |
| 559 | "mappingTypes": [ |
| 560 | { |
| 561 | "name": "value to text", |
| 562 | "value": 1 |
| 563 | }, |
| 564 | { |
| 565 | "name": "range to text", |
| 566 | "value": 2 |
| 567 | } |
| 568 | ], |
| 569 | "maxDataPoints": 100, |
| 570 | "nullPointMode": "connected", |
| 571 | "nullText": null, |
| 572 | "options": {}, |
| 573 | "postfix": "", |
| 574 | "postfixFontSize": "50%", |
| 575 | "prefix": "", |
| 576 | "prefixFontSize": "50%", |
| 577 | "rangeMaps": [ |
| 578 | { |
| 579 | "from": "null", |
| 580 | "text": "N/A", |
| 581 | "to": "null" |
| 582 | } |
| 583 | ], |
| 584 | "repeat": null, |
| 585 | "repeatDirection": "v", |
| 586 | "scopedVars": { |
| 587 | "pod": { |
| 588 | "selected": false, |
| 589 | "text": "spgwu", |
| 590 | "value": "spgwu" |
| 591 | } |
| 592 | }, |
| 593 | "sparkline": { |
| 594 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 595 | "full": false, |
| 596 | "lineColor": "rgb(31, 120, 193)", |
| 597 | "show": false, |
| 598 | "ymax": null, |
| 599 | "ymin": null |
| 600 | }, |
| 601 | "tableColumn": "", |
| 602 | "targets": [ |
| 603 | { |
| 604 | "expr": "sum(kube_pod_container_resource_limits_memory_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"})", |
| 605 | "refId": "A" |
| 606 | } |
| 607 | ], |
| 608 | "thresholds": "", |
| 609 | "timeFrom": null, |
| 610 | "timeShift": null, |
| 611 | "title": "Memory limits", |
| 612 | "type": "singlestat", |
| 613 | "valueFontSize": "80%", |
| 614 | "valueMaps": [ |
| 615 | { |
| 616 | "op": "=", |
| 617 | "text": "N/A", |
| 618 | "value": "null" |
| 619 | } |
| 620 | ], |
| 621 | "valueName": "avg" |
| 622 | }, |
| 623 | { |
| 624 | "cacheTimeout": null, |
| 625 | "colorBackground": false, |
| 626 | "colorValue": false, |
| 627 | "colors": [ |
| 628 | "#299c46", |
| 629 | "rgba(237, 129, 40, 0.89)", |
| 630 | "#d44a3a" |
| 631 | ], |
| 632 | "datasource": null, |
| 633 | "decimals": null, |
| 634 | "format": "decbytes", |
| 635 | "gauge": { |
| 636 | "maxValue": 100, |
| 637 | "minValue": 0, |
| 638 | "show": false, |
| 639 | "thresholdLabels": false, |
| 640 | "thresholdMarkers": true |
| 641 | }, |
| 642 | "gridPos": { |
| 643 | "h": 3, |
| 644 | "w": 3, |
| 645 | "x": 9, |
| 646 | "y": 6 |
| 647 | }, |
| 648 | "id": 23, |
| 649 | "interval": null, |
| 650 | "links": [], |
| 651 | "mappingType": 1, |
| 652 | "mappingTypes": [ |
| 653 | { |
| 654 | "name": "value to text", |
| 655 | "value": 1 |
| 656 | }, |
| 657 | { |
| 658 | "name": "range to text", |
| 659 | "value": 2 |
| 660 | } |
| 661 | ], |
| 662 | "maxDataPoints": 100, |
| 663 | "nullPointMode": "connected", |
| 664 | "nullText": null, |
| 665 | "options": {}, |
| 666 | "postfix": "", |
| 667 | "postfixFontSize": "50%", |
| 668 | "prefix": "", |
| 669 | "prefixFontSize": "50%", |
| 670 | "rangeMaps": [ |
| 671 | { |
| 672 | "from": "null", |
| 673 | "text": "N/A", |
| 674 | "to": "null" |
| 675 | } |
| 676 | ], |
| 677 | "repeat": null, |
| 678 | "repeatDirection": "v", |
| 679 | "scopedVars": { |
| 680 | "pod": { |
| 681 | "selected": false, |
| 682 | "text": "spgwu", |
| 683 | "value": "spgwu" |
| 684 | } |
| 685 | }, |
| 686 | "sparkline": { |
| 687 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 688 | "full": false, |
| 689 | "lineColor": "rgb(31, 120, 193)", |
| 690 | "show": false, |
| 691 | "ymax": null, |
| 692 | "ymin": null |
| 693 | }, |
| 694 | "tableColumn": "", |
| 695 | "targets": [ |
| 696 | { |
| 697 | "expr": "sum(container_memory_working_set_bytes{datacenter=\"$site\", namespace=\"$namespace\", container_name!=\"POD\", container_name!=\"\", pod_name=~\"$pod.*\"})", |
| 698 | "interval": "10s", |
| 699 | "refId": "A" |
| 700 | } |
| 701 | ], |
| 702 | "thresholds": "", |
| 703 | "timeFrom": null, |
| 704 | "timeShift": null, |
| 705 | "title": "Memory used", |
| 706 | "type": "singlestat", |
| 707 | "valueFontSize": "80%", |
| 708 | "valueMaps": [ |
| 709 | { |
| 710 | "op": "=", |
| 711 | "text": "N/A", |
| 712 | "value": "null" |
| 713 | } |
| 714 | ], |
| 715 | "valueName": "avg" |
| 716 | }, |
| 717 | { |
| 718 | "aliasColors": {}, |
| 719 | "bars": false, |
| 720 | "dashLength": 10, |
| 721 | "dashes": false, |
| 722 | "datasource": "Prometheus", |
| 723 | "decimals": 3, |
| 724 | "editable": true, |
| 725 | "error": false, |
| 726 | "fill": 1, |
| 727 | "fillGradient": 0, |
| 728 | "grid": {}, |
| 729 | "gridPos": { |
| 730 | "h": 6, |
| 731 | "w": 12, |
| 732 | "x": 0, |
| 733 | "y": 9 |
| 734 | }, |
| 735 | "height": "", |
| 736 | "id": 27, |
| 737 | "isNew": true, |
| 738 | "legend": { |
| 739 | "alignAsTable": true, |
| 740 | "avg": true, |
| 741 | "current": true, |
| 742 | "hideEmpty": false, |
| 743 | "hideZero": false, |
| 744 | "max": false, |
| 745 | "min": false, |
| 746 | "rightSide": true, |
| 747 | "show": true, |
| 748 | "sideWidth": null, |
| 749 | "sort": "current", |
| 750 | "sortDesc": true, |
| 751 | "total": false, |
| 752 | "values": true |
| 753 | }, |
| 754 | "lines": true, |
| 755 | "linewidth": 0, |
| 756 | "links": [], |
| 757 | "nullPointMode": "null", |
| 758 | "options": { |
| 759 | "dataLinks": [] |
| 760 | }, |
| 761 | "percentage": false, |
| 762 | "pointradius": 0.5, |
| 763 | "points": true, |
| 764 | "renderer": "flot", |
| 765 | "scopedVars": { |
| 766 | "pod": { |
| 767 | "selected": false, |
| 768 | "text": "spgwu", |
| 769 | "value": "spgwu" |
| 770 | } |
| 771 | }, |
| 772 | "seriesOverrides": [], |
| 773 | "spaceLength": 10, |
| 774 | "stack": false, |
| 775 | "steppedLine": false, |
| 776 | "targets": [ |
| 777 | { |
| 778 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",datacenter=\"$site\", namespace=\"$namespace\",pod_name=~\"^$pod-.*\",name=~\"^k8s_.*\",container_name!=\"POD\"}[5m])) by (container_name, pod_name)", |
| 779 | "format": "time_series", |
| 780 | "hide": false, |
| 781 | "interval": "10s", |
| 782 | "intervalFactor": 5, |
| 783 | "legendFormat": "{{ pod_name }} | {{ container_name }}", |
| 784 | "metric": "container_cpu", |
| 785 | "refId": "A", |
| 786 | "step": 10 |
| 787 | }, |
| 788 | { |
| 789 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",pod_name=\"$pod-0\",name!~\"^k8s_.*\",datacenter=\"$site\"}[5m])) by (kubernetes_io_hostname, name, image)", |
| 790 | "format": "time_series", |
| 791 | "hide": true, |
| 792 | "interval": "10s", |
| 793 | "intervalFactor": 5, |
| 794 | "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})", |
| 795 | "metric": "container_cpu", |
| 796 | "refId": "B", |
| 797 | "step": 10 |
| 798 | }, |
| 799 | { |
| 800 | "expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",datacenter=\"$site\"}[5m])) by (kubernetes_io_hostname, rkt_container_name)", |
| 801 | "format": "time_series", |
| 802 | "hide": true, |
| 803 | "interval": "10s", |
| 804 | "intervalFactor": 5, |
| 805 | "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}", |
| 806 | "metric": "container_cpu", |
| 807 | "refId": "C", |
| 808 | "step": 10 |
| 809 | } |
| 810 | ], |
| 811 | "thresholds": [], |
| 812 | "timeFrom": null, |
| 813 | "timeRegions": [], |
| 814 | "timeShift": null, |
| 815 | "title": "Containers CPU usage (5m avg)", |
| 816 | "tooltip": { |
| 817 | "msResolution": true, |
| 818 | "shared": false, |
| 819 | "sort": 2, |
| 820 | "value_type": "cumulative" |
| 821 | }, |
| 822 | "type": "graph", |
| 823 | "xaxis": { |
| 824 | "buckets": null, |
| 825 | "mode": "time", |
| 826 | "name": null, |
| 827 | "show": true, |
| 828 | "values": [] |
| 829 | }, |
| 830 | "yaxes": [ |
| 831 | { |
| 832 | "format": "none", |
| 833 | "label": "cores", |
| 834 | "logBase": 1, |
| 835 | "max": null, |
| 836 | "min": null, |
| 837 | "show": true |
| 838 | }, |
| 839 | { |
| 840 | "format": "short", |
| 841 | "label": null, |
| 842 | "logBase": 1, |
| 843 | "max": null, |
| 844 | "min": null, |
| 845 | "show": false |
| 846 | } |
| 847 | ], |
| 848 | "yaxis": { |
| 849 | "align": false, |
| 850 | "alignLevel": null |
| 851 | } |
| 852 | }, |
| 853 | { |
| 854 | "aliasColors": {}, |
| 855 | "bars": false, |
| 856 | "dashLength": 10, |
| 857 | "dashes": false, |
| 858 | "datasource": "Prometheus", |
| 859 | "decimals": 2, |
| 860 | "editable": true, |
| 861 | "error": false, |
| 862 | "fill": 1, |
| 863 | "fillGradient": 0, |
| 864 | "grid": {}, |
| 865 | "gridPos": { |
| 866 | "h": 6, |
| 867 | "w": 12, |
| 868 | "x": 12, |
| 869 | "y": 9 |
| 870 | }, |
| 871 | "id": 29, |
| 872 | "isNew": true, |
| 873 | "legend": { |
| 874 | "alignAsTable": true, |
| 875 | "avg": true, |
| 876 | "current": true, |
| 877 | "max": false, |
| 878 | "min": false, |
| 879 | "rightSide": true, |
| 880 | "show": true, |
| 881 | "sideWidth": null, |
| 882 | "sort": "current", |
| 883 | "sortDesc": true, |
| 884 | "total": false, |
| 885 | "values": true |
| 886 | }, |
| 887 | "lines": true, |
| 888 | "linewidth": 0, |
| 889 | "links": [], |
| 890 | "nullPointMode": "null", |
| 891 | "options": { |
| 892 | "dataLinks": [] |
| 893 | }, |
| 894 | "percentage": false, |
| 895 | "pointradius": 0.5, |
| 896 | "points": true, |
| 897 | "renderer": "flot", |
| 898 | "scopedVars": { |
| 899 | "pod": { |
| 900 | "selected": false, |
| 901 | "text": "spgwu", |
| 902 | "value": "spgwu" |
| 903 | } |
| 904 | }, |
| 905 | "seriesOverrides": [], |
| 906 | "spaceLength": 10, |
| 907 | "stack": false, |
| 908 | "steppedLine": true, |
| 909 | "targets": [ |
| 910 | { |
| 911 | "expr": "sum (container_memory_working_set_bytes{image!=\"\",datacenter=\"$site\", namespace=\"$namespace\",pod_name=~\"^$pod.*\",name=~\"^k8s_.*\",container_name!=\"POD\"}) by (container_name, pod_name)", |
| 912 | "format": "time_series", |
| 913 | "interval": "10s", |
| 914 | "intervalFactor": 5, |
| 915 | "legendFormat": "{{ pod_name }} | {{ container_name }}", |
| 916 | "metric": "container_memory_usage:sort_desc", |
| 917 | "refId": "A", |
| 918 | "step": 10 |
| 919 | }, |
| 920 | { |
| 921 | "expr": "sum (container_memory_working_set_bytes{image!=\"\",name!~\"^k8s_.*\",datacenter=\"$Site\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"$Namespace\"}) by (kubernetes_io_hostname, name, image)", |
| 922 | "format": "time_series", |
| 923 | "hide": true, |
| 924 | "interval": "10s", |
| 925 | "intervalFactor": 5, |
| 926 | "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})", |
| 927 | "metric": "container_memory_usage:sort_desc", |
| 928 | "refId": "B", |
| 929 | "step": 10 |
| 930 | }, |
| 931 | { |
| 932 | "expr": "sum (container_memory_working_set_bytes{rkt_container_name!=\"\",datacenter=\"$Site\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"$Namespace\"}) by (kubernetes_io_hostname, rkt_container_name)", |
| 933 | "format": "time_series", |
| 934 | "hide": true, |
| 935 | "interval": "10s", |
| 936 | "intervalFactor": 5, |
| 937 | "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}", |
| 938 | "metric": "container_memory_usage:sort_desc", |
| 939 | "refId": "C", |
| 940 | "step": 10 |
| 941 | } |
| 942 | ], |
| 943 | "thresholds": [], |
| 944 | "timeFrom": null, |
| 945 | "timeRegions": [], |
| 946 | "timeShift": null, |
| 947 | "title": "Containers memory usage", |
| 948 | "tooltip": { |
| 949 | "msResolution": false, |
| 950 | "shared": false, |
| 951 | "sort": 2, |
| 952 | "value_type": "cumulative" |
| 953 | }, |
| 954 | "type": "graph", |
| 955 | "xaxis": { |
| 956 | "buckets": null, |
| 957 | "mode": "time", |
| 958 | "name": null, |
| 959 | "show": true, |
| 960 | "values": [] |
| 961 | }, |
| 962 | "yaxes": [ |
| 963 | { |
| 964 | "format": "bytes", |
| 965 | "label": null, |
| 966 | "logBase": 1, |
| 967 | "max": null, |
| 968 | "min": null, |
| 969 | "show": true |
| 970 | }, |
| 971 | { |
| 972 | "format": "short", |
| 973 | "label": null, |
| 974 | "logBase": 1, |
| 975 | "max": null, |
| 976 | "min": null, |
| 977 | "show": false |
| 978 | } |
| 979 | ], |
| 980 | "yaxis": { |
| 981 | "align": false, |
| 982 | "alignLevel": null |
| 983 | } |
| 984 | }, |
| 985 | { |
| 986 | "collapsed": false, |
| 987 | "datasource": null, |
| 988 | "gridPos": { |
| 989 | "h": 1, |
| 990 | "w": 24, |
| 991 | "x": 0, |
| 992 | "y": 15 |
| 993 | }, |
| 994 | "id": 30, |
| 995 | "panels": [], |
| 996 | "repeat": null, |
| 997 | "repeatIteration": 1580642657156, |
| 998 | "repeatPanelId": 25, |
| 999 | "scopedVars": { |
| 1000 | "pod": { |
| 1001 | "selected": false, |
| 1002 | "text": "accelleran", |
| 1003 | "value": "accelleran" |
| 1004 | } |
| 1005 | }, |
| 1006 | "title": "$namespace:$pod Resource Usage", |
| 1007 | "type": "row" |
| 1008 | }, |
| 1009 | { |
| 1010 | "cacheTimeout": null, |
| 1011 | "colorBackground": false, |
| 1012 | "colorValue": true, |
| 1013 | "colors": [ |
| 1014 | "rgba(50, 172, 45, 0.97)", |
| 1015 | "rgba(237, 129, 40, 0.89)", |
| 1016 | "rgba(245, 54, 54, 0.9)" |
| 1017 | ], |
| 1018 | "datasource": "Prometheus", |
| 1019 | "decimals": null, |
| 1020 | "description": "", |
| 1021 | "format": "percent", |
| 1022 | "gauge": { |
| 1023 | "maxValue": 100, |
| 1024 | "minValue": 0, |
| 1025 | "show": true, |
| 1026 | "thresholdLabels": false, |
| 1027 | "thresholdMarkers": true |
| 1028 | }, |
| 1029 | "gridPos": { |
| 1030 | "h": 5, |
| 1031 | "w": 6, |
| 1032 | "x": 0, |
| 1033 | "y": 16 |
| 1034 | }, |
| 1035 | "id": 31, |
| 1036 | "interval": null, |
| 1037 | "links": [], |
| 1038 | "mappingType": 1, |
| 1039 | "mappingTypes": [ |
| 1040 | { |
| 1041 | "name": "value to text", |
| 1042 | "value": 1 |
| 1043 | }, |
| 1044 | { |
| 1045 | "name": "range to text", |
| 1046 | "value": 2 |
| 1047 | } |
| 1048 | ], |
| 1049 | "maxDataPoints": 100, |
| 1050 | "maxPerRow": 12, |
| 1051 | "nullPointMode": "null", |
| 1052 | "nullText": null, |
| 1053 | "options": {}, |
| 1054 | "postfix": "", |
| 1055 | "postfixFontSize": "50%", |
| 1056 | "prefix": "", |
| 1057 | "prefixFontSize": "50%", |
| 1058 | "rangeMaps": [ |
| 1059 | { |
| 1060 | "from": "null", |
| 1061 | "text": "N/A", |
| 1062 | "to": "null" |
| 1063 | } |
| 1064 | ], |
| 1065 | "repeat": null, |
| 1066 | "repeatDirection": "v", |
| 1067 | "repeatIteration": 1580642657156, |
| 1068 | "repeatPanelId": 10, |
| 1069 | "repeatedByRow": true, |
| 1070 | "scopedVars": { |
| 1071 | "pod": { |
| 1072 | "selected": false, |
| 1073 | "text": "accelleran", |
| 1074 | "value": "accelleran" |
| 1075 | } |
| 1076 | }, |
| 1077 | "sparkline": { |
| 1078 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1079 | "full": false, |
| 1080 | "lineColor": "rgb(31, 120, 193)", |
| 1081 | "show": true |
| 1082 | }, |
| 1083 | "tableColumn": "", |
| 1084 | "targets": [ |
| 1085 | { |
| 1086 | "expr": "sum(rate(container_cpu_usage_seconds_total{datacenter=\"$site\", namespace=\"$namespace\", image!=\"\", container_name!=\"POD\", pod_name=~\"$pod.*\"}[5m])) / sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"}) * 100", |
| 1087 | "format": "time_series", |
| 1088 | "interval": "10s", |
| 1089 | "intervalFactor": 1, |
| 1090 | "legendFormat": "", |
| 1091 | "refId": "A" |
| 1092 | } |
| 1093 | ], |
| 1094 | "thresholds": "85,95", |
| 1095 | "title": "CPU usage", |
| 1096 | "type": "singlestat", |
| 1097 | "valueFontSize": "80%", |
| 1098 | "valueMaps": [ |
| 1099 | { |
| 1100 | "op": "=", |
| 1101 | "text": "N/A", |
| 1102 | "value": "null" |
| 1103 | } |
| 1104 | ], |
| 1105 | "valueName": "current" |
| 1106 | }, |
| 1107 | { |
| 1108 | "cacheTimeout": null, |
| 1109 | "colorBackground": false, |
| 1110 | "colorValue": true, |
| 1111 | "colors": [ |
| 1112 | "rgba(50, 172, 45, 0.97)", |
| 1113 | "rgba(237, 129, 40, 0.89)", |
| 1114 | "rgba(245, 54, 54, 0.9)" |
| 1115 | ], |
| 1116 | "datasource": "Prometheus", |
| 1117 | "decimals": null, |
| 1118 | "description": "", |
| 1119 | "format": "percent", |
| 1120 | "gauge": { |
| 1121 | "maxValue": 100, |
| 1122 | "minValue": 0, |
| 1123 | "show": true, |
| 1124 | "thresholdLabels": false, |
| 1125 | "thresholdMarkers": true |
| 1126 | }, |
| 1127 | "gridPos": { |
| 1128 | "h": 5, |
| 1129 | "w": 6, |
| 1130 | "x": 6, |
| 1131 | "y": 16 |
| 1132 | }, |
| 1133 | "id": 32, |
| 1134 | "interval": null, |
| 1135 | "links": [], |
| 1136 | "mappingType": 1, |
| 1137 | "mappingTypes": [ |
| 1138 | { |
| 1139 | "name": "value to text", |
| 1140 | "value": 1 |
| 1141 | }, |
| 1142 | { |
| 1143 | "name": "range to text", |
| 1144 | "value": 2 |
| 1145 | } |
| 1146 | ], |
| 1147 | "maxDataPoints": 100, |
| 1148 | "maxPerRow": 12, |
| 1149 | "nullPointMode": "null", |
| 1150 | "nullText": null, |
| 1151 | "options": {}, |
| 1152 | "postfix": "", |
| 1153 | "postfixFontSize": "50%", |
| 1154 | "prefix": "", |
| 1155 | "prefixFontSize": "50%", |
| 1156 | "rangeMaps": [ |
| 1157 | { |
| 1158 | "from": "null", |
| 1159 | "text": "N/A", |
| 1160 | "to": "null" |
| 1161 | } |
| 1162 | ], |
| 1163 | "repeat": null, |
| 1164 | "repeatDirection": "v", |
| 1165 | "repeatIteration": 1580642657156, |
| 1166 | "repeatPanelId": 12, |
| 1167 | "repeatedByRow": true, |
| 1168 | "scopedVars": { |
| 1169 | "pod": { |
| 1170 | "selected": false, |
| 1171 | "text": "accelleran", |
| 1172 | "value": "accelleran" |
| 1173 | } |
| 1174 | }, |
| 1175 | "sparkline": { |
| 1176 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1177 | "full": false, |
| 1178 | "lineColor": "rgb(31, 120, 193)", |
| 1179 | "show": true |
| 1180 | }, |
| 1181 | "tableColumn": "", |
| 1182 | "targets": [ |
| 1183 | { |
| 1184 | "expr": "100 * (sum(container_memory_usage_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", container_name!=\"POD\"}))", |
| 1185 | "format": "time_series", |
| 1186 | "hide": false, |
| 1187 | "instant": false, |
| 1188 | "interval": "10s", |
| 1189 | "intervalFactor": 1, |
| 1190 | "refId": "A" |
| 1191 | } |
| 1192 | ], |
| 1193 | "thresholds": "85,95", |
| 1194 | "title": "Memory usage", |
| 1195 | "type": "singlestat", |
| 1196 | "valueFontSize": "80%", |
| 1197 | "valueMaps": [ |
| 1198 | { |
| 1199 | "op": "=", |
| 1200 | "text": "N/A", |
| 1201 | "value": "null" |
| 1202 | } |
| 1203 | ], |
| 1204 | "valueName": "current" |
| 1205 | }, |
| 1206 | { |
| 1207 | "aliasColors": {}, |
| 1208 | "bars": false, |
| 1209 | "dashLength": 10, |
| 1210 | "dashes": false, |
| 1211 | "datasource": null, |
| 1212 | "fill": 2, |
| 1213 | "fillGradient": 0, |
| 1214 | "gridPos": { |
| 1215 | "h": 8, |
| 1216 | "w": 12, |
| 1217 | "x": 12, |
| 1218 | "y": 16 |
| 1219 | }, |
| 1220 | "id": 33, |
| 1221 | "legend": { |
| 1222 | "alignAsTable": true, |
| 1223 | "avg": true, |
| 1224 | "current": true, |
| 1225 | "max": false, |
| 1226 | "min": false, |
| 1227 | "rightSide": true, |
| 1228 | "show": true, |
| 1229 | "total": false, |
| 1230 | "values": true |
| 1231 | }, |
| 1232 | "lines": true, |
| 1233 | "linewidth": 1, |
| 1234 | "links": [], |
| 1235 | "nullPointMode": "null", |
| 1236 | "options": { |
| 1237 | "dataLinks": [] |
| 1238 | }, |
| 1239 | "percentage": false, |
| 1240 | "pointradius": 1, |
| 1241 | "points": false, |
| 1242 | "renderer": "flot", |
| 1243 | "repeat": null, |
| 1244 | "repeatDirection": "v", |
| 1245 | "repeatIteration": 1580642657156, |
| 1246 | "repeatPanelId": 2, |
| 1247 | "repeatedByRow": true, |
| 1248 | "scopedVars": { |
| 1249 | "pod": { |
| 1250 | "selected": false, |
| 1251 | "text": "accelleran", |
| 1252 | "value": "accelleran" |
| 1253 | } |
| 1254 | }, |
| 1255 | "seriesOverrides": [], |
| 1256 | "spaceLength": 10, |
| 1257 | "stack": false, |
| 1258 | "steppedLine": false, |
| 1259 | "targets": [ |
| 1260 | { |
| 1261 | "expr": "sum(rate(container_network_receive_bytes_total{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)", |
| 1262 | "format": "time_series", |
| 1263 | "interval": "10s", |
| 1264 | "intervalFactor": 1, |
| 1265 | "legendFormat": "rx: {{pod_name}}| {{ interface }}", |
| 1266 | "refId": "B" |
| 1267 | }, |
| 1268 | { |
| 1269 | "expr": "-sum(rate(container_network_transmit_bytes_total{datacenter=\"$site\", namespace=\"$namespace\", pod_name=~\"$pod.*\", interface!=\"tunl0\"}[3m]))by (pod_name, interface)", |
| 1270 | "format": "time_series", |
| 1271 | "interval": "10s", |
| 1272 | "intervalFactor": 1, |
| 1273 | "legendFormat": "tx: {{pod_name}}| {{ interface }}", |
| 1274 | "refId": "A" |
| 1275 | } |
| 1276 | ], |
| 1277 | "thresholds": [], |
| 1278 | "timeFrom": null, |
| 1279 | "timeRegions": [], |
| 1280 | "timeShift": null, |
| 1281 | "title": "Network I/O", |
| 1282 | "tooltip": { |
| 1283 | "shared": true, |
| 1284 | "sort": 1, |
| 1285 | "value_type": "individual" |
| 1286 | }, |
| 1287 | "type": "graph", |
| 1288 | "xaxis": { |
| 1289 | "buckets": null, |
| 1290 | "mode": "time", |
| 1291 | "name": null, |
| 1292 | "show": true, |
| 1293 | "values": [] |
| 1294 | }, |
| 1295 | "yaxes": [ |
| 1296 | { |
| 1297 | "format": "Bps", |
| 1298 | "label": null, |
| 1299 | "logBase": 1, |
| 1300 | "max": null, |
| 1301 | "min": null, |
| 1302 | "show": true |
| 1303 | }, |
| 1304 | { |
| 1305 | "format": "Bps", |
| 1306 | "label": null, |
| 1307 | "logBase": 1, |
| 1308 | "max": null, |
| 1309 | "min": null, |
| 1310 | "show": false |
| 1311 | } |
| 1312 | ], |
| 1313 | "yaxis": { |
| 1314 | "align": false, |
| 1315 | "alignLevel": null |
| 1316 | } |
| 1317 | }, |
| 1318 | { |
| 1319 | "cacheTimeout": null, |
| 1320 | "colorBackground": false, |
| 1321 | "colorValue": false, |
| 1322 | "colors": [ |
| 1323 | "#299c46", |
| 1324 | "rgba(237, 129, 40, 0.89)", |
| 1325 | "#d44a3a" |
| 1326 | ], |
| 1327 | "datasource": null, |
| 1328 | "format": "none", |
| 1329 | "gauge": { |
| 1330 | "maxValue": 100, |
| 1331 | "minValue": 0, |
| 1332 | "show": false, |
| 1333 | "thresholdLabels": false, |
| 1334 | "thresholdMarkers": true |
| 1335 | }, |
| 1336 | "gridPos": { |
| 1337 | "h": 3, |
| 1338 | "w": 3, |
| 1339 | "x": 0, |
| 1340 | "y": 21 |
| 1341 | }, |
| 1342 | "id": 34, |
| 1343 | "interval": null, |
| 1344 | "links": [], |
| 1345 | "mappingType": 1, |
| 1346 | "mappingTypes": [ |
| 1347 | { |
| 1348 | "name": "value to text", |
| 1349 | "value": 1 |
| 1350 | }, |
| 1351 | { |
| 1352 | "name": "range to text", |
| 1353 | "value": 2 |
| 1354 | } |
| 1355 | ], |
| 1356 | "maxDataPoints": 100, |
| 1357 | "nullPointMode": "connected", |
| 1358 | "nullText": null, |
| 1359 | "options": {}, |
| 1360 | "postfix": "", |
| 1361 | "postfixFontSize": "50%", |
| 1362 | "prefix": "", |
| 1363 | "prefixFontSize": "50%", |
| 1364 | "rangeMaps": [ |
| 1365 | { |
| 1366 | "from": "null", |
| 1367 | "text": "N/A", |
| 1368 | "to": "null" |
| 1369 | } |
| 1370 | ], |
| 1371 | "repeat": null, |
| 1372 | "repeatDirection": "v", |
| 1373 | "repeatIteration": 1580642657156, |
| 1374 | "repeatPanelId": 20, |
| 1375 | "repeatedByRow": true, |
| 1376 | "scopedVars": { |
| 1377 | "pod": { |
| 1378 | "selected": false, |
| 1379 | "text": "accelleran", |
| 1380 | "value": "accelleran" |
| 1381 | } |
| 1382 | }, |
| 1383 | "sparkline": { |
| 1384 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1385 | "full": false, |
| 1386 | "lineColor": "rgb(31, 120, 193)", |
| 1387 | "show": false, |
| 1388 | "ymax": null, |
| 1389 | "ymin": null |
| 1390 | }, |
| 1391 | "tableColumn": "", |
| 1392 | "targets": [ |
| 1393 | { |
| 1394 | "expr": "sum(kube_pod_container_resource_limits_cpu_cores{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"})", |
| 1395 | "interval": "10s", |
| 1396 | "refId": "A" |
| 1397 | } |
| 1398 | ], |
| 1399 | "thresholds": "", |
| 1400 | "timeFrom": null, |
| 1401 | "timeShift": null, |
| 1402 | "title": "CPU limits", |
| 1403 | "type": "singlestat", |
| 1404 | "valueFontSize": "80%", |
| 1405 | "valueMaps": [ |
| 1406 | { |
| 1407 | "op": "=", |
| 1408 | "text": "N/A", |
| 1409 | "value": "null" |
| 1410 | } |
| 1411 | ], |
| 1412 | "valueName": "avg" |
| 1413 | }, |
| 1414 | { |
| 1415 | "cacheTimeout": null, |
| 1416 | "colorBackground": false, |
| 1417 | "colorValue": false, |
| 1418 | "colors": [ |
| 1419 | "#299c46", |
| 1420 | "rgba(237, 129, 40, 0.89)", |
| 1421 | "#d44a3a" |
| 1422 | ], |
| 1423 | "datasource": null, |
| 1424 | "format": "none", |
| 1425 | "gauge": { |
| 1426 | "maxValue": 100, |
| 1427 | "minValue": 0, |
| 1428 | "show": false, |
| 1429 | "thresholdLabels": false, |
| 1430 | "thresholdMarkers": true |
| 1431 | }, |
| 1432 | "gridPos": { |
| 1433 | "h": 3, |
| 1434 | "w": 3, |
| 1435 | "x": 3, |
| 1436 | "y": 21 |
| 1437 | }, |
| 1438 | "id": 35, |
| 1439 | "interval": null, |
| 1440 | "links": [], |
| 1441 | "mappingType": 1, |
| 1442 | "mappingTypes": [ |
| 1443 | { |
| 1444 | "name": "value to text", |
| 1445 | "value": 1 |
| 1446 | }, |
| 1447 | { |
| 1448 | "name": "range to text", |
| 1449 | "value": 2 |
| 1450 | } |
| 1451 | ], |
| 1452 | "maxDataPoints": 100, |
| 1453 | "nullPointMode": "connected", |
| 1454 | "nullText": null, |
| 1455 | "options": {}, |
| 1456 | "postfix": "", |
| 1457 | "postfixFontSize": "50%", |
| 1458 | "prefix": "", |
| 1459 | "prefixFontSize": "50%", |
| 1460 | "rangeMaps": [ |
| 1461 | { |
| 1462 | "from": "null", |
| 1463 | "text": "N/A", |
| 1464 | "to": "null" |
| 1465 | } |
| 1466 | ], |
| 1467 | "repeat": null, |
| 1468 | "repeatDirection": "v", |
| 1469 | "repeatIteration": 1580642657156, |
| 1470 | "repeatPanelId": 21, |
| 1471 | "repeatedByRow": true, |
| 1472 | "scopedVars": { |
| 1473 | "pod": { |
| 1474 | "selected": false, |
| 1475 | "text": "accelleran", |
| 1476 | "value": "accelleran" |
| 1477 | } |
| 1478 | }, |
| 1479 | "sparkline": { |
| 1480 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1481 | "full": false, |
| 1482 | "lineColor": "rgb(31, 120, 193)", |
| 1483 | "show": false, |
| 1484 | "ymax": null, |
| 1485 | "ymin": null |
| 1486 | }, |
| 1487 | "tableColumn": "", |
| 1488 | "targets": [ |
| 1489 | { |
| 1490 | "expr": "sum (rate(container_cpu_usage_seconds_total{datacenter=\"$site\", namespace=\"$namespace\", image!=\"\", container_name!=\"POD\", pod_name=~\"$pod.*\"}[5m]))", |
| 1491 | "interval": "10s", |
| 1492 | "refId": "A" |
| 1493 | } |
| 1494 | ], |
| 1495 | "thresholds": "", |
| 1496 | "timeFrom": null, |
| 1497 | "timeShift": null, |
| 1498 | "title": "CPU used (5m avg)", |
| 1499 | "type": "singlestat", |
| 1500 | "valueFontSize": "80%", |
| 1501 | "valueMaps": [ |
| 1502 | { |
| 1503 | "op": "=", |
| 1504 | "text": "N/A", |
| 1505 | "value": "null" |
| 1506 | } |
| 1507 | ], |
| 1508 | "valueName": "avg" |
| 1509 | }, |
| 1510 | { |
| 1511 | "cacheTimeout": null, |
| 1512 | "colorBackground": false, |
| 1513 | "colorValue": false, |
| 1514 | "colors": [ |
| 1515 | "#299c46", |
| 1516 | "rgba(237, 129, 40, 0.89)", |
| 1517 | "#d44a3a" |
| 1518 | ], |
| 1519 | "datasource": null, |
| 1520 | "decimals": 2, |
| 1521 | "format": "decbytes", |
| 1522 | "gauge": { |
| 1523 | "maxValue": 100, |
| 1524 | "minValue": 0, |
| 1525 | "show": false, |
| 1526 | "thresholdLabels": false, |
| 1527 | "thresholdMarkers": true |
| 1528 | }, |
| 1529 | "gridPos": { |
| 1530 | "h": 3, |
| 1531 | "w": 3, |
| 1532 | "x": 6, |
| 1533 | "y": 21 |
| 1534 | }, |
| 1535 | "id": 36, |
| 1536 | "interval": null, |
| 1537 | "links": [], |
| 1538 | "mappingType": 1, |
| 1539 | "mappingTypes": [ |
| 1540 | { |
| 1541 | "name": "value to text", |
| 1542 | "value": 1 |
| 1543 | }, |
| 1544 | { |
| 1545 | "name": "range to text", |
| 1546 | "value": 2 |
| 1547 | } |
| 1548 | ], |
| 1549 | "maxDataPoints": 100, |
| 1550 | "nullPointMode": "connected", |
| 1551 | "nullText": null, |
| 1552 | "options": {}, |
| 1553 | "postfix": "", |
| 1554 | "postfixFontSize": "50%", |
| 1555 | "prefix": "", |
| 1556 | "prefixFontSize": "50%", |
| 1557 | "rangeMaps": [ |
| 1558 | { |
| 1559 | "from": "null", |
| 1560 | "text": "N/A", |
| 1561 | "to": "null" |
| 1562 | } |
| 1563 | ], |
| 1564 | "repeat": null, |
| 1565 | "repeatDirection": "v", |
| 1566 | "repeatIteration": 1580642657156, |
| 1567 | "repeatPanelId": 22, |
| 1568 | "repeatedByRow": true, |
| 1569 | "scopedVars": { |
| 1570 | "pod": { |
| 1571 | "selected": false, |
| 1572 | "text": "accelleran", |
| 1573 | "value": "accelleran" |
| 1574 | } |
| 1575 | }, |
| 1576 | "sparkline": { |
| 1577 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1578 | "full": false, |
| 1579 | "lineColor": "rgb(31, 120, 193)", |
| 1580 | "show": false, |
| 1581 | "ymax": null, |
| 1582 | "ymin": null |
| 1583 | }, |
| 1584 | "tableColumn": "", |
| 1585 | "targets": [ |
| 1586 | { |
| 1587 | "expr": "sum(kube_pod_container_resource_limits_memory_bytes{datacenter=\"$site\", namespace=\"$namespace\", pod=~\"$pod.*\"})", |
| 1588 | "refId": "A" |
| 1589 | } |
| 1590 | ], |
| 1591 | "thresholds": "", |
| 1592 | "timeFrom": null, |
| 1593 | "timeShift": null, |
| 1594 | "title": "Memory limits", |
| 1595 | "type": "singlestat", |
| 1596 | "valueFontSize": "80%", |
| 1597 | "valueMaps": [ |
| 1598 | { |
| 1599 | "op": "=", |
| 1600 | "text": "N/A", |
| 1601 | "value": "null" |
| 1602 | } |
| 1603 | ], |
| 1604 | "valueName": "avg" |
| 1605 | }, |
| 1606 | { |
| 1607 | "cacheTimeout": null, |
| 1608 | "colorBackground": false, |
| 1609 | "colorValue": false, |
| 1610 | "colors": [ |
| 1611 | "#299c46", |
| 1612 | "rgba(237, 129, 40, 0.89)", |
| 1613 | "#d44a3a" |
| 1614 | ], |
| 1615 | "datasource": null, |
| 1616 | "decimals": null, |
| 1617 | "format": "decbytes", |
| 1618 | "gauge": { |
| 1619 | "maxValue": 100, |
| 1620 | "minValue": 0, |
| 1621 | "show": false, |
| 1622 | "thresholdLabels": false, |
| 1623 | "thresholdMarkers": true |
| 1624 | }, |
| 1625 | "gridPos": { |
| 1626 | "h": 3, |
| 1627 | "w": 3, |
| 1628 | "x": 9, |
| 1629 | "y": 21 |
| 1630 | }, |
| 1631 | "id": 37, |
| 1632 | "interval": null, |
| 1633 | "links": [], |
| 1634 | "mappingType": 1, |
| 1635 | "mappingTypes": [ |
| 1636 | { |
| 1637 | "name": "value to text", |
| 1638 | "value": 1 |
| 1639 | }, |
| 1640 | { |
| 1641 | "name": "range to text", |
| 1642 | "value": 2 |
| 1643 | } |
| 1644 | ], |
| 1645 | "maxDataPoints": 100, |
| 1646 | "nullPointMode": "connected", |
| 1647 | "nullText": null, |
| 1648 | "options": {}, |
| 1649 | "postfix": "", |
| 1650 | "postfixFontSize": "50%", |
| 1651 | "prefix": "", |
| 1652 | "prefixFontSize": "50%", |
| 1653 | "rangeMaps": [ |
| 1654 | { |
| 1655 | "from": "null", |
| 1656 | "text": "N/A", |
| 1657 | "to": "null" |
| 1658 | } |
| 1659 | ], |
| 1660 | "repeat": null, |
| 1661 | "repeatDirection": "v", |
| 1662 | "repeatIteration": 1580642657156, |
| 1663 | "repeatPanelId": 23, |
| 1664 | "repeatedByRow": true, |
| 1665 | "scopedVars": { |
| 1666 | "pod": { |
| 1667 | "selected": false, |
| 1668 | "text": "accelleran", |
| 1669 | "value": "accelleran" |
| 1670 | } |
| 1671 | }, |
| 1672 | "sparkline": { |
| 1673 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 1674 | "full": false, |
| 1675 | "lineColor": "rgb(31, 120, 193)", |
| 1676 | "show": false, |
| 1677 | "ymax": null, |
| 1678 | "ymin": null |
| 1679 | }, |
| 1680 | "tableColumn": "", |
| 1681 | "targets": [ |
| 1682 | { |
| 1683 | "expr": "sum(container_memory_working_set_bytes{datacenter=\"$site\", namespace=\"$namespace\", container_name!=\"POD\", container_name!=\"\", pod_name=~\"$pod.*\"})", |
| 1684 | "interval": "10s", |
| 1685 | "refId": "A" |
| 1686 | } |
| 1687 | ], |
| 1688 | "thresholds": "", |
| 1689 | "timeFrom": null, |
| 1690 | "timeShift": null, |
| 1691 | "title": "Memory used", |
| 1692 | "type": "singlestat", |
| 1693 | "valueFontSize": "80%", |
| 1694 | "valueMaps": [ |
| 1695 | { |
| 1696 | "op": "=", |
| 1697 | "text": "N/A", |
| 1698 | "value": "null" |
| 1699 | } |
| 1700 | ], |
| 1701 | "valueName": "avg" |
| 1702 | }, |
| 1703 | { |
| 1704 | "aliasColors": {}, |
| 1705 | "bars": false, |
| 1706 | "dashLength": 10, |
| 1707 | "dashes": false, |
| 1708 | "datasource": "Prometheus", |
| 1709 | "decimals": 3, |
| 1710 | "editable": true, |
| 1711 | "error": false, |
| 1712 | "fill": 1, |
| 1713 | "fillGradient": 0, |
| 1714 | "grid": {}, |
| 1715 | "gridPos": { |
| 1716 | "h": 6, |
| 1717 | "w": 12, |
| 1718 | "x": 0, |
| 1719 | "y": 24 |
| 1720 | }, |
| 1721 | "height": "", |
| 1722 | "id": 38, |
| 1723 | "isNew": true, |
| 1724 | "legend": { |
| 1725 | "alignAsTable": true, |
| 1726 | "avg": true, |
| 1727 | "current": true, |
| 1728 | "hideEmpty": false, |
| 1729 | "hideZero": false, |
| 1730 | "max": false, |
| 1731 | "min": false, |
| 1732 | "rightSide": true, |
| 1733 | "show": true, |
| 1734 | "sideWidth": null, |
| 1735 | "sort": "current", |
| 1736 | "sortDesc": true, |
| 1737 | "total": false, |
| 1738 | "values": true |
| 1739 | }, |
| 1740 | "lines": true, |
| 1741 | "linewidth": 0, |
| 1742 | "links": [], |
| 1743 | "nullPointMode": "null", |
| 1744 | "options": { |
| 1745 | "dataLinks": [] |
| 1746 | }, |
| 1747 | "percentage": false, |
| 1748 | "pointradius": 0.5, |
| 1749 | "points": true, |
| 1750 | "renderer": "flot", |
| 1751 | "repeatIteration": 1580642657156, |
| 1752 | "repeatPanelId": 27, |
| 1753 | "repeatedByRow": true, |
| 1754 | "scopedVars": { |
| 1755 | "pod": { |
| 1756 | "selected": false, |
| 1757 | "text": "accelleran", |
| 1758 | "value": "accelleran" |
| 1759 | } |
| 1760 | }, |
| 1761 | "seriesOverrides": [], |
| 1762 | "spaceLength": 10, |
| 1763 | "stack": false, |
| 1764 | "steppedLine": false, |
| 1765 | "targets": [ |
| 1766 | { |
| 1767 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",datacenter=\"$site\", namespace=\"$namespace\",pod_name=~\"^$pod-.*\",name=~\"^k8s_.*\",container_name!=\"POD\"}[5m])) by (container_name, pod_name)", |
| 1768 | "format": "time_series", |
| 1769 | "hide": false, |
| 1770 | "interval": "10s", |
| 1771 | "intervalFactor": 5, |
| 1772 | "legendFormat": "{{ pod_name }} | {{ container_name }}", |
| 1773 | "metric": "container_cpu", |
| 1774 | "refId": "A", |
| 1775 | "step": 10 |
| 1776 | }, |
| 1777 | { |
| 1778 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",pod_name=\"$pod-0\",name!~\"^k8s_.*\",datacenter=\"$site\"}[5m])) by (kubernetes_io_hostname, name, image)", |
| 1779 | "format": "time_series", |
| 1780 | "hide": true, |
| 1781 | "interval": "10s", |
| 1782 | "intervalFactor": 5, |
| 1783 | "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})", |
| 1784 | "metric": "container_cpu", |
| 1785 | "refId": "B", |
| 1786 | "step": 10 |
| 1787 | }, |
| 1788 | { |
| 1789 | "expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",datacenter=\"$site\"}[5m])) by (kubernetes_io_hostname, rkt_container_name)", |
| 1790 | "format": "time_series", |
| 1791 | "hide": true, |
| 1792 | "interval": "10s", |
| 1793 | "intervalFactor": 5, |
| 1794 | "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}", |
| 1795 | "metric": "container_cpu", |
| 1796 | "refId": "C", |
| 1797 | "step": 10 |
| 1798 | } |
| 1799 | ], |
| 1800 | "thresholds": [], |
| 1801 | "timeFrom": null, |
| 1802 | "timeRegions": [], |
| 1803 | "timeShift": null, |
| 1804 | "title": "Containers CPU usage (5m avg)", |
| 1805 | "tooltip": { |
| 1806 | "msResolution": true, |
| 1807 | "shared": false, |
| 1808 | "sort": 2, |
| 1809 | "value_type": "cumulative" |
| 1810 | }, |
| 1811 | "type": "graph", |
| 1812 | "xaxis": { |
| 1813 | "buckets": null, |
| 1814 | "mode": "time", |
| 1815 | "name": null, |
| 1816 | "show": true, |
| 1817 | "values": [] |
| 1818 | }, |
| 1819 | "yaxes": [ |
| 1820 | { |
| 1821 | "format": "none", |
| 1822 | "label": "cores", |
| 1823 | "logBase": 1, |
| 1824 | "max": null, |
| 1825 | "min": null, |
| 1826 | "show": true |
| 1827 | }, |
| 1828 | { |
| 1829 | "format": "short", |
| 1830 | "label": null, |
| 1831 | "logBase": 1, |
| 1832 | "max": null, |
| 1833 | "min": null, |
| 1834 | "show": false |
| 1835 | } |
| 1836 | ], |
| 1837 | "yaxis": { |
| 1838 | "align": false, |
| 1839 | "alignLevel": null |
| 1840 | } |
| 1841 | }, |
| 1842 | { |
| 1843 | "aliasColors": {}, |
| 1844 | "bars": false, |
| 1845 | "dashLength": 10, |
| 1846 | "dashes": false, |
| 1847 | "datasource": "Prometheus", |
| 1848 | "decimals": 2, |
| 1849 | "editable": true, |
| 1850 | "error": false, |
| 1851 | "fill": 1, |
| 1852 | "fillGradient": 0, |
| 1853 | "grid": {}, |
| 1854 | "gridPos": { |
| 1855 | "h": 6, |
| 1856 | "w": 12, |
| 1857 | "x": 12, |
| 1858 | "y": 24 |
| 1859 | }, |
| 1860 | "id": 39, |
| 1861 | "isNew": true, |
| 1862 | "legend": { |
| 1863 | "alignAsTable": true, |
| 1864 | "avg": true, |
| 1865 | "current": true, |
| 1866 | "max": false, |
| 1867 | "min": false, |
| 1868 | "rightSide": true, |
| 1869 | "show": true, |
| 1870 | "sideWidth": null, |
| 1871 | "sort": "current", |
| 1872 | "sortDesc": true, |
| 1873 | "total": false, |
| 1874 | "values": true |
| 1875 | }, |
| 1876 | "lines": true, |
| 1877 | "linewidth": 0, |
| 1878 | "links": [], |
| 1879 | "nullPointMode": "null", |
| 1880 | "options": { |
| 1881 | "dataLinks": [] |
| 1882 | }, |
| 1883 | "percentage": false, |
| 1884 | "pointradius": 0.5, |
| 1885 | "points": true, |
| 1886 | "renderer": "flot", |
| 1887 | "repeatIteration": 1580642657156, |
| 1888 | "repeatPanelId": 29, |
| 1889 | "repeatedByRow": true, |
| 1890 | "scopedVars": { |
| 1891 | "pod": { |
| 1892 | "selected": false, |
| 1893 | "text": "accelleran", |
| 1894 | "value": "accelleran" |
| 1895 | } |
| 1896 | }, |
| 1897 | "seriesOverrides": [], |
| 1898 | "spaceLength": 10, |
| 1899 | "stack": false, |
| 1900 | "steppedLine": true, |
| 1901 | "targets": [ |
| 1902 | { |
| 1903 | "expr": "sum (container_memory_working_set_bytes{image!=\"\",datacenter=\"$site\", namespace=\"$namespace\",pod_name=~\"^$pod.*\",name=~\"^k8s_.*\",container_name!=\"POD\"}) by (container_name, pod_name)", |
| 1904 | "format": "time_series", |
| 1905 | "interval": "10s", |
| 1906 | "intervalFactor": 5, |
| 1907 | "legendFormat": "{{ pod_name }} | {{ container_name }}", |
| 1908 | "metric": "container_memory_usage:sort_desc", |
| 1909 | "refId": "A", |
| 1910 | "step": 10 |
| 1911 | }, |
| 1912 | { |
| 1913 | "expr": "sum (container_memory_working_set_bytes{image!=\"\",name!~\"^k8s_.*\",datacenter=\"$Site\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"$Namespace\"}) by (kubernetes_io_hostname, name, image)", |
| 1914 | "format": "time_series", |
| 1915 | "hide": true, |
| 1916 | "interval": "10s", |
| 1917 | "intervalFactor": 5, |
| 1918 | "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})", |
| 1919 | "metric": "container_memory_usage:sort_desc", |
| 1920 | "refId": "B", |
| 1921 | "step": 10 |
| 1922 | }, |
| 1923 | { |
| 1924 | "expr": "sum (container_memory_working_set_bytes{rkt_container_name!=\"\",datacenter=\"$Site\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"$Namespace\"}) by (kubernetes_io_hostname, rkt_container_name)", |
| 1925 | "format": "time_series", |
| 1926 | "hide": true, |
| 1927 | "interval": "10s", |
| 1928 | "intervalFactor": 5, |
| 1929 | "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}", |
| 1930 | "metric": "container_memory_usage:sort_desc", |
| 1931 | "refId": "C", |
| 1932 | "step": 10 |
| 1933 | } |
| 1934 | ], |
| 1935 | "thresholds": [], |
| 1936 | "timeFrom": null, |
| 1937 | "timeRegions": [], |
| 1938 | "timeShift": null, |
| 1939 | "title": "Containers memory usage", |
| 1940 | "tooltip": { |
| 1941 | "msResolution": false, |
| 1942 | "shared": false, |
| 1943 | "sort": 2, |
| 1944 | "value_type": "cumulative" |
| 1945 | }, |
| 1946 | "type": "graph", |
| 1947 | "xaxis": { |
| 1948 | "buckets": null, |
| 1949 | "mode": "time", |
| 1950 | "name": null, |
| 1951 | "show": true, |
| 1952 | "values": [] |
| 1953 | }, |
| 1954 | "yaxes": [ |
| 1955 | { |
| 1956 | "format": "bytes", |
| 1957 | "label": null, |
| 1958 | "logBase": 1, |
| 1959 | "max": null, |
| 1960 | "min": null, |
| 1961 | "show": true |
| 1962 | }, |
| 1963 | { |
| 1964 | "format": "short", |
| 1965 | "label": null, |
| 1966 | "logBase": 1, |
| 1967 | "max": null, |
| 1968 | "min": null, |
| 1969 | "show": false |
| 1970 | } |
| 1971 | ], |
| 1972 | "yaxis": { |
| 1973 | "align": false, |
| 1974 | "alignLevel": null |
| 1975 | } |
| 1976 | } |
| 1977 | ], |
| 1978 | "refresh": "1m", |
| 1979 | "schemaVersion": 20, |
| 1980 | "style": "dark", |
| 1981 | "tags": [ |
| 1982 | "aether", |
| 1983 | "omec" |
| 1984 | ], |
| 1985 | "templating": { |
| 1986 | "list": [ |
| 1987 | { |
| 1988 | "allValue": null, |
| 1989 | "datasource": "Prometheus", |
| 1990 | "definition": "label_values(kube_pod_info, datacenter)", |
| 1991 | "hide": 0, |
| 1992 | "includeAll": false, |
| 1993 | "label": "Site", |
| 1994 | "multi": false, |
| 1995 | "name": "site", |
| 1996 | "query": "label_values(kube_pod_info, datacenter)", |
| 1997 | "refresh": 2, |
| 1998 | "regex": "/.*edge.*/", |
| 1999 | "skipUrlSync": false, |
| 2000 | "sort": 0, |
| 2001 | "tagValuesQuery": "", |
| 2002 | "tags": [], |
| 2003 | "tagsQuery": "", |
| 2004 | "type": "query", |
| 2005 | "useTags": false |
| 2006 | }, |
| 2007 | { |
| 2008 | "allValue": null, |
| 2009 | "datasource": "Prometheus", |
| 2010 | "definition": "label_values(kube_pod_info{datacenter=\"$site\"},namespace)", |
| 2011 | "hide": 0, |
| 2012 | "includeAll": false, |
| 2013 | "label": "Namespace", |
| 2014 | "multi": false, |
| 2015 | "name": "namespace", |
| 2016 | "query": "label_values(kube_pod_info{datacenter=\"$site\"},namespace)", |
| 2017 | "refresh": 2, |
| 2018 | "regex": "\\b(?:omec|omec-cbrs|omec-b7)\\b", |
| 2019 | "skipUrlSync": false, |
| 2020 | "sort": 0, |
| 2021 | "tagValuesQuery": "", |
| 2022 | "tags": [], |
| 2023 | "tagsQuery": "", |
| 2024 | "type": "query", |
| 2025 | "useTags": false |
| 2026 | }, |
| 2027 | { |
| 2028 | "allValue": null, |
| 2029 | "current": { |
| 2030 | "tags": [], |
| 2031 | "text": "All", |
| 2032 | "value": [ |
| 2033 | "$__all" |
| 2034 | ] |
| 2035 | }, |
| 2036 | "hide": 0, |
| 2037 | "includeAll": true, |
| 2038 | "label": "Pod", |
| 2039 | "multi": true, |
| 2040 | "name": "pod", |
| 2041 | "options": [ |
| 2042 | { |
| 2043 | "selected": true, |
| 2044 | "text": "All", |
| 2045 | "value": "$__all" |
| 2046 | }, |
| 2047 | { |
| 2048 | "selected": false, |
| 2049 | "text": "spgwu", |
| 2050 | "value": "spgwu" |
| 2051 | }, |
| 2052 | { |
| 2053 | "selected": false, |
| 2054 | "text": "accelleran", |
| 2055 | "value": "accelleran" |
| 2056 | } |
| 2057 | ], |
| 2058 | "query": "spgwu,accelleran", |
| 2059 | "skipUrlSync": false, |
| 2060 | "type": "custom" |
| 2061 | } |
| 2062 | ] |
| 2063 | }, |
| 2064 | "time": { |
| 2065 | "from": "now-3h", |
| 2066 | "to": "now" |
| 2067 | }, |
| 2068 | "timepicker": { |
| 2069 | "hidden": false, |
| 2070 | "refresh_intervals": [ |
| 2071 | "5s", |
| 2072 | "10s", |
| 2073 | "30s", |
| 2074 | "1m", |
| 2075 | "5m", |
| 2076 | "15m", |
| 2077 | "30m", |
| 2078 | "1h", |
| 2079 | "2h", |
| 2080 | "1d" |
| 2081 | ], |
| 2082 | "time_options": [ |
| 2083 | "5m", |
| 2084 | "15m", |
| 2085 | "1h", |
| 2086 | "6h", |
| 2087 | "12h", |
| 2088 | "24h", |
| 2089 | "2d", |
| 2090 | "7d", |
| 2091 | "30d" |
| 2092 | ] |
| 2093 | }, |
| 2094 | "timezone": "", |
| 2095 | "title": "OMEC User Plane", |
| 2096 | "uid": "noPib7UZz", |
| 2097 | "version": 9 |
| 2098 | } |