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 | "editable": true, |
| 16 | "gnetId": null, |
| 17 | "graphTooltip": 0, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 18 | "id": 4, |
| 19 | "iteration": 1575804277781, |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 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 | }, |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 31 | "id": 25, |
| 32 | "panels": [], |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 33 | "repeat": "pod", |
| 34 | "title": "$pod usage", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 35 | "type": "row" |
| 36 | }, |
| 37 | { |
| 38 | "cacheTimeout": null, |
| 39 | "colorBackground": false, |
| 40 | "colorValue": true, |
| 41 | "colors": [ |
| 42 | "rgba(50, 172, 45, 0.97)", |
| 43 | "rgba(237, 129, 40, 0.89)", |
| 44 | "rgba(245, 54, 54, 0.9)" |
| 45 | ], |
| 46 | "datasource": "Prometheus", |
| 47 | "decimals": null, |
| 48 | "description": "", |
| 49 | "format": "percent", |
| 50 | "gauge": { |
| 51 | "maxValue": 100, |
| 52 | "minValue": 0, |
| 53 | "show": true, |
| 54 | "thresholdLabels": false, |
| 55 | "thresholdMarkers": true |
| 56 | }, |
| 57 | "gridPos": { |
| 58 | "h": 5, |
| 59 | "w": 6, |
| 60 | "x": 0, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 61 | "y": 1 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 62 | }, |
| 63 | "id": 10, |
| 64 | "interval": null, |
| 65 | "links": [], |
| 66 | "mappingType": 1, |
| 67 | "mappingTypes": [ |
| 68 | { |
| 69 | "name": "value to text", |
| 70 | "value": 1 |
| 71 | }, |
| 72 | { |
| 73 | "name": "range to text", |
| 74 | "value": 2 |
| 75 | } |
| 76 | ], |
| 77 | "maxDataPoints": 100, |
| 78 | "maxPerRow": 12, |
| 79 | "nullPointMode": "null", |
| 80 | "nullText": null, |
| 81 | "options": {}, |
| 82 | "postfix": "", |
| 83 | "postfixFontSize": "50%", |
| 84 | "prefix": "", |
| 85 | "prefixFontSize": "50%", |
| 86 | "rangeMaps": [ |
| 87 | { |
| 88 | "from": "null", |
| 89 | "text": "N/A", |
| 90 | "to": "null" |
| 91 | } |
| 92 | ], |
| 93 | "repeat": null, |
| 94 | "repeatDirection": "v", |
| 95 | "sparkline": { |
| 96 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 97 | "full": false, |
| 98 | "lineColor": "rgb(31, 120, 193)", |
| 99 | "show": true |
| 100 | }, |
| 101 | "tableColumn": "", |
| 102 | "targets": [ |
| 103 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 104 | "expr": "100 * sum(irate(container_cpu_usage_seconds_total{pod_name=\"$pod-0\", image!=\"\", container_name!=\"POD\"}[3m])) by (pod_name) / sum(container_spec_cpu_quota{image!=\"\", container_name!=\"POD\"} / container_spec_cpu_period{image!=\"\", container_name!=\"POD\"}) by (pod_name)", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 105 | "format": "time_series", |
| 106 | "interval": "10s", |
| 107 | "intervalFactor": 1, |
| 108 | "legendFormat": "", |
| 109 | "refId": "A" |
| 110 | } |
| 111 | ], |
| 112 | "thresholds": "85,95", |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 113 | "title": "CPU usage", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 114 | "type": "singlestat", |
| 115 | "valueFontSize": "80%", |
| 116 | "valueMaps": [ |
| 117 | { |
| 118 | "op": "=", |
| 119 | "text": "N/A", |
| 120 | "value": "null" |
| 121 | } |
| 122 | ], |
| 123 | "valueName": "current" |
| 124 | }, |
| 125 | { |
| 126 | "cacheTimeout": null, |
| 127 | "colorBackground": false, |
| 128 | "colorValue": true, |
| 129 | "colors": [ |
| 130 | "rgba(50, 172, 45, 0.97)", |
| 131 | "rgba(237, 129, 40, 0.89)", |
| 132 | "rgba(245, 54, 54, 0.9)" |
| 133 | ], |
| 134 | "datasource": "Prometheus", |
| 135 | "decimals": null, |
| 136 | "description": "", |
| 137 | "format": "percent", |
| 138 | "gauge": { |
| 139 | "maxValue": 100, |
| 140 | "minValue": 0, |
| 141 | "show": true, |
| 142 | "thresholdLabels": false, |
| 143 | "thresholdMarkers": true |
| 144 | }, |
| 145 | "gridPos": { |
| 146 | "h": 5, |
| 147 | "w": 6, |
| 148 | "x": 6, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 149 | "y": 1 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 150 | }, |
| 151 | "id": 12, |
| 152 | "interval": null, |
| 153 | "links": [], |
| 154 | "mappingType": 1, |
| 155 | "mappingTypes": [ |
| 156 | { |
| 157 | "name": "value to text", |
| 158 | "value": 1 |
| 159 | }, |
| 160 | { |
| 161 | "name": "range to text", |
| 162 | "value": 2 |
| 163 | } |
| 164 | ], |
| 165 | "maxDataPoints": 100, |
| 166 | "maxPerRow": 12, |
| 167 | "nullPointMode": "null", |
| 168 | "nullText": null, |
| 169 | "options": {}, |
| 170 | "postfix": "", |
| 171 | "postfixFontSize": "50%", |
| 172 | "prefix": "", |
| 173 | "prefixFontSize": "50%", |
| 174 | "rangeMaps": [ |
| 175 | { |
| 176 | "from": "null", |
| 177 | "text": "N/A", |
| 178 | "to": "null" |
| 179 | } |
| 180 | ], |
| 181 | "repeat": null, |
| 182 | "repeatDirection": "v", |
| 183 | "sparkline": { |
| 184 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 185 | "full": false, |
| 186 | "lineColor": "rgb(31, 120, 193)", |
| 187 | "show": true |
| 188 | }, |
| 189 | "tableColumn": "", |
| 190 | "targets": [ |
| 191 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 192 | "expr": "100 * (sum(container_memory_usage_bytes{pod_name=\"$pod-0\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{pod_name=\"$pod-0\", container_name!=\"POD\"}))", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 193 | "format": "time_series", |
| 194 | "hide": false, |
| 195 | "instant": false, |
| 196 | "interval": "10s", |
| 197 | "intervalFactor": 1, |
| 198 | "refId": "A" |
| 199 | } |
| 200 | ], |
| 201 | "thresholds": "85,95", |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 202 | "title": "Memory usage", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 203 | "type": "singlestat", |
| 204 | "valueFontSize": "80%", |
| 205 | "valueMaps": [ |
| 206 | { |
| 207 | "op": "=", |
| 208 | "text": "N/A", |
| 209 | "value": "null" |
| 210 | } |
| 211 | ], |
| 212 | "valueName": "current" |
| 213 | }, |
| 214 | { |
| 215 | "aliasColors": {}, |
| 216 | "bars": false, |
| 217 | "dashLength": 10, |
| 218 | "dashes": false, |
| 219 | "datasource": null, |
| 220 | "fill": 2, |
| 221 | "fillGradient": 0, |
| 222 | "gridPos": { |
| 223 | "h": 9, |
| 224 | "w": 12, |
| 225 | "x": 12, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 226 | "y": 1 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 227 | }, |
| 228 | "id": 2, |
| 229 | "legend": { |
| 230 | "alignAsTable": true, |
| 231 | "avg": true, |
| 232 | "current": true, |
| 233 | "max": false, |
| 234 | "min": false, |
| 235 | "rightSide": true, |
| 236 | "show": true, |
| 237 | "total": false, |
| 238 | "values": true |
| 239 | }, |
| 240 | "lines": true, |
| 241 | "linewidth": 2, |
| 242 | "links": [], |
| 243 | "nullPointMode": "null", |
| 244 | "options": { |
| 245 | "dataLinks": [] |
| 246 | }, |
| 247 | "percentage": false, |
| 248 | "pointradius": 5, |
| 249 | "points": false, |
| 250 | "renderer": "flot", |
| 251 | "repeat": null, |
| 252 | "repeatDirection": "v", |
| 253 | "seriesOverrides": [], |
| 254 | "spaceLength": 10, |
| 255 | "stack": false, |
| 256 | "steppedLine": false, |
| 257 | "targets": [ |
| 258 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 259 | "expr": "sum(rate(container_network_receive_bytes_total{pod_name=\"$pod-0\", interface!=\"tunl0\"}[3m]))by (interface)", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 260 | "format": "time_series", |
| 261 | "interval": "10s", |
| 262 | "intervalFactor": 1, |
| 263 | "legendFormat": "rx: {{ interface }}", |
| 264 | "refId": "B" |
| 265 | }, |
| 266 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 267 | "expr": "-sum(rate(container_network_transmit_bytes_total{pod_name=\"$pod-0\", interface!=\"tunl0\"}[3m]))by (interface)", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 268 | "format": "time_series", |
| 269 | "interval": "10s", |
| 270 | "intervalFactor": 1, |
| 271 | "legendFormat": "tx: {{ interface }}", |
| 272 | "refId": "A" |
| 273 | } |
| 274 | ], |
| 275 | "thresholds": [], |
| 276 | "timeFrom": null, |
| 277 | "timeRegions": [], |
| 278 | "timeShift": null, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 279 | "title": "Network I/O", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 280 | "tooltip": { |
| 281 | "shared": true, |
| 282 | "sort": 1, |
| 283 | "value_type": "individual" |
| 284 | }, |
| 285 | "type": "graph", |
| 286 | "xaxis": { |
| 287 | "buckets": null, |
| 288 | "mode": "time", |
| 289 | "name": null, |
| 290 | "show": true, |
| 291 | "values": [] |
| 292 | }, |
| 293 | "yaxes": [ |
| 294 | { |
| 295 | "format": "Bps", |
| 296 | "label": null, |
| 297 | "logBase": 1, |
| 298 | "max": null, |
| 299 | "min": null, |
| 300 | "show": true |
| 301 | }, |
| 302 | { |
| 303 | "format": "Bps", |
| 304 | "label": null, |
| 305 | "logBase": 1, |
| 306 | "max": null, |
| 307 | "min": null, |
| 308 | "show": false |
| 309 | } |
| 310 | ], |
| 311 | "yaxis": { |
| 312 | "align": false, |
| 313 | "alignLevel": null |
| 314 | } |
| 315 | }, |
| 316 | { |
| 317 | "cacheTimeout": null, |
| 318 | "colorBackground": false, |
| 319 | "colorValue": false, |
| 320 | "colors": [ |
| 321 | "#299c46", |
| 322 | "rgba(237, 129, 40, 0.89)", |
| 323 | "#d44a3a" |
| 324 | ], |
| 325 | "datasource": null, |
| 326 | "format": "none", |
| 327 | "gauge": { |
| 328 | "maxValue": 100, |
| 329 | "minValue": 0, |
| 330 | "show": false, |
| 331 | "thresholdLabels": false, |
| 332 | "thresholdMarkers": true |
| 333 | }, |
| 334 | "gridPos": { |
| 335 | "h": 4, |
| 336 | "w": 3, |
| 337 | "x": 0, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 338 | "y": 6 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 339 | }, |
| 340 | "id": 20, |
| 341 | "interval": null, |
| 342 | "links": [], |
| 343 | "mappingType": 1, |
| 344 | "mappingTypes": [ |
| 345 | { |
| 346 | "name": "value to text", |
| 347 | "value": 1 |
| 348 | }, |
| 349 | { |
| 350 | "name": "range to text", |
| 351 | "value": 2 |
| 352 | } |
| 353 | ], |
| 354 | "maxDataPoints": 100, |
| 355 | "nullPointMode": "connected", |
| 356 | "nullText": null, |
| 357 | "options": {}, |
| 358 | "postfix": "", |
| 359 | "postfixFontSize": "50%", |
| 360 | "prefix": "", |
| 361 | "prefixFontSize": "50%", |
| 362 | "rangeMaps": [ |
| 363 | { |
| 364 | "from": "null", |
| 365 | "text": "N/A", |
| 366 | "to": "null" |
| 367 | } |
| 368 | ], |
| 369 | "repeat": null, |
| 370 | "repeatDirection": "v", |
| 371 | "sparkline": { |
| 372 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 373 | "full": false, |
| 374 | "lineColor": "rgb(31, 120, 193)", |
| 375 | "show": false, |
| 376 | "ymax": null, |
| 377 | "ymin": null |
| 378 | }, |
| 379 | "tableColumn": "", |
| 380 | "targets": [ |
| 381 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 382 | "expr": "sum(kube_pod_container_resource_limits_cpu_cores{pod=\"$pod-0\"})", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 383 | "interval": "10s", |
| 384 | "refId": "A" |
| 385 | } |
| 386 | ], |
| 387 | "thresholds": "", |
| 388 | "timeFrom": null, |
| 389 | "timeShift": null, |
| 390 | "title": "CPU limits", |
| 391 | "type": "singlestat", |
| 392 | "valueFontSize": "80%", |
| 393 | "valueMaps": [ |
| 394 | { |
| 395 | "op": "=", |
| 396 | "text": "N/A", |
| 397 | "value": "null" |
| 398 | } |
| 399 | ], |
| 400 | "valueName": "avg" |
| 401 | }, |
| 402 | { |
| 403 | "cacheTimeout": null, |
| 404 | "colorBackground": false, |
| 405 | "colorValue": false, |
| 406 | "colors": [ |
| 407 | "#299c46", |
| 408 | "rgba(237, 129, 40, 0.89)", |
| 409 | "#d44a3a" |
| 410 | ], |
| 411 | "datasource": null, |
| 412 | "format": "none", |
| 413 | "gauge": { |
| 414 | "maxValue": 100, |
| 415 | "minValue": 0, |
| 416 | "show": false, |
| 417 | "thresholdLabels": false, |
| 418 | "thresholdMarkers": true |
| 419 | }, |
| 420 | "gridPos": { |
| 421 | "h": 4, |
| 422 | "w": 3, |
| 423 | "x": 3, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 424 | "y": 6 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 425 | }, |
| 426 | "id": 21, |
| 427 | "interval": null, |
| 428 | "links": [], |
| 429 | "mappingType": 1, |
| 430 | "mappingTypes": [ |
| 431 | { |
| 432 | "name": "value to text", |
| 433 | "value": 1 |
| 434 | }, |
| 435 | { |
| 436 | "name": "range to text", |
| 437 | "value": 2 |
| 438 | } |
| 439 | ], |
| 440 | "maxDataPoints": 100, |
| 441 | "nullPointMode": "connected", |
| 442 | "nullText": null, |
| 443 | "options": {}, |
| 444 | "postfix": "", |
| 445 | "postfixFontSize": "50%", |
| 446 | "prefix": "", |
| 447 | "prefixFontSize": "50%", |
| 448 | "rangeMaps": [ |
| 449 | { |
| 450 | "from": "null", |
| 451 | "text": "N/A", |
| 452 | "to": "null" |
| 453 | } |
| 454 | ], |
| 455 | "repeat": null, |
| 456 | "repeatDirection": "v", |
| 457 | "sparkline": { |
| 458 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 459 | "full": false, |
| 460 | "lineColor": "rgb(31, 120, 193)", |
| 461 | "show": false, |
| 462 | "ymax": null, |
| 463 | "ymin": null |
| 464 | }, |
| 465 | "tableColumn": "", |
| 466 | "targets": [ |
| 467 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 468 | "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", pod_name=\"$pod-0\"}[5m]))", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 469 | "interval": "10s", |
| 470 | "refId": "A" |
| 471 | } |
| 472 | ], |
| 473 | "thresholds": "", |
| 474 | "timeFrom": null, |
| 475 | "timeShift": null, |
| 476 | "title": "CPU used (5m avg)", |
| 477 | "type": "singlestat", |
| 478 | "valueFontSize": "80%", |
| 479 | "valueMaps": [ |
| 480 | { |
| 481 | "op": "=", |
| 482 | "text": "N/A", |
| 483 | "value": "null" |
| 484 | } |
| 485 | ], |
| 486 | "valueName": "avg" |
| 487 | }, |
| 488 | { |
| 489 | "cacheTimeout": null, |
| 490 | "colorBackground": false, |
| 491 | "colorValue": false, |
| 492 | "colors": [ |
| 493 | "#299c46", |
| 494 | "rgba(237, 129, 40, 0.89)", |
| 495 | "#d44a3a" |
| 496 | ], |
| 497 | "datasource": null, |
| 498 | "decimals": 2, |
| 499 | "format": "decbytes", |
| 500 | "gauge": { |
| 501 | "maxValue": 100, |
| 502 | "minValue": 0, |
| 503 | "show": false, |
| 504 | "thresholdLabels": false, |
| 505 | "thresholdMarkers": true |
| 506 | }, |
| 507 | "gridPos": { |
| 508 | "h": 4, |
| 509 | "w": 3, |
| 510 | "x": 6, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 511 | "y": 6 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 512 | }, |
| 513 | "id": 22, |
| 514 | "interval": null, |
| 515 | "links": [], |
| 516 | "mappingType": 1, |
| 517 | "mappingTypes": [ |
| 518 | { |
| 519 | "name": "value to text", |
| 520 | "value": 1 |
| 521 | }, |
| 522 | { |
| 523 | "name": "range to text", |
| 524 | "value": 2 |
| 525 | } |
| 526 | ], |
| 527 | "maxDataPoints": 100, |
| 528 | "nullPointMode": "connected", |
| 529 | "nullText": null, |
| 530 | "options": {}, |
| 531 | "postfix": "", |
| 532 | "postfixFontSize": "50%", |
| 533 | "prefix": "", |
| 534 | "prefixFontSize": "50%", |
| 535 | "rangeMaps": [ |
| 536 | { |
| 537 | "from": "null", |
| 538 | "text": "N/A", |
| 539 | "to": "null" |
| 540 | } |
| 541 | ], |
| 542 | "repeat": null, |
| 543 | "repeatDirection": "v", |
| 544 | "sparkline": { |
| 545 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 546 | "full": false, |
| 547 | "lineColor": "rgb(31, 120, 193)", |
| 548 | "show": false, |
| 549 | "ymax": null, |
| 550 | "ymin": null |
| 551 | }, |
| 552 | "tableColumn": "", |
| 553 | "targets": [ |
| 554 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 555 | "expr": "sum(kube_pod_container_resource_limits_memory_bytes{pod=\"$pod-0\"})", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 556 | "refId": "A" |
| 557 | } |
| 558 | ], |
| 559 | "thresholds": "", |
| 560 | "timeFrom": null, |
| 561 | "timeShift": null, |
| 562 | "title": "Memory limits", |
| 563 | "type": "singlestat", |
| 564 | "valueFontSize": "80%", |
| 565 | "valueMaps": [ |
| 566 | { |
| 567 | "op": "=", |
| 568 | "text": "N/A", |
| 569 | "value": "null" |
| 570 | } |
| 571 | ], |
| 572 | "valueName": "avg" |
| 573 | }, |
| 574 | { |
| 575 | "cacheTimeout": null, |
| 576 | "colorBackground": false, |
| 577 | "colorValue": false, |
| 578 | "colors": [ |
| 579 | "#299c46", |
| 580 | "rgba(237, 129, 40, 0.89)", |
| 581 | "#d44a3a" |
| 582 | ], |
| 583 | "datasource": null, |
| 584 | "format": "decbytes", |
| 585 | "gauge": { |
| 586 | "maxValue": 100, |
| 587 | "minValue": 0, |
| 588 | "show": false, |
| 589 | "thresholdLabels": false, |
| 590 | "thresholdMarkers": true |
| 591 | }, |
| 592 | "gridPos": { |
| 593 | "h": 4, |
| 594 | "w": 3, |
| 595 | "x": 9, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 596 | "y": 6 |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 597 | }, |
| 598 | "id": 23, |
| 599 | "interval": null, |
| 600 | "links": [], |
| 601 | "mappingType": 1, |
| 602 | "mappingTypes": [ |
| 603 | { |
| 604 | "name": "value to text", |
| 605 | "value": 1 |
| 606 | }, |
| 607 | { |
| 608 | "name": "range to text", |
| 609 | "value": 2 |
| 610 | } |
| 611 | ], |
| 612 | "maxDataPoints": 100, |
| 613 | "nullPointMode": "connected", |
| 614 | "nullText": null, |
| 615 | "options": {}, |
| 616 | "postfix": "", |
| 617 | "postfixFontSize": "50%", |
| 618 | "prefix": "", |
| 619 | "prefixFontSize": "50%", |
| 620 | "rangeMaps": [ |
| 621 | { |
| 622 | "from": "null", |
| 623 | "text": "N/A", |
| 624 | "to": "null" |
| 625 | } |
| 626 | ], |
| 627 | "repeat": null, |
| 628 | "repeatDirection": "v", |
| 629 | "sparkline": { |
| 630 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 631 | "full": false, |
| 632 | "lineColor": "rgb(31, 120, 193)", |
| 633 | "show": false, |
| 634 | "ymax": null, |
| 635 | "ymin": null |
| 636 | }, |
| 637 | "tableColumn": "", |
| 638 | "targets": [ |
| 639 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 640 | "expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\", container_name!=\"\", pod_name=\"$pod-0\"})", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 641 | "interval": "10s", |
| 642 | "refId": "A" |
| 643 | } |
| 644 | ], |
| 645 | "thresholds": "", |
| 646 | "timeFrom": null, |
| 647 | "timeShift": null, |
| 648 | "title": "Memory used", |
| 649 | "type": "singlestat", |
| 650 | "valueFontSize": "80%", |
| 651 | "valueMaps": [ |
| 652 | { |
| 653 | "op": "=", |
| 654 | "text": "N/A", |
| 655 | "value": "null" |
| 656 | } |
| 657 | ], |
| 658 | "valueName": "avg" |
| 659 | } |
| 660 | ], |
| 661 | "refresh": "5s", |
| 662 | "schemaVersion": 20, |
| 663 | "style": "dark", |
| 664 | "tags": [ |
| 665 | "aether" |
| 666 | ], |
| 667 | "templating": { |
| 668 | "list": [ |
| 669 | { |
| 670 | "allValue": ".*", |
| 671 | "current": { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 672 | "tags": [], |
| 673 | "text": "All", |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 674 | "value": [ |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 675 | "$__all" |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 676 | ] |
| 677 | }, |
| 678 | "hide": 0, |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 679 | "includeAll": true, |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 680 | "label": "Pod", |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 681 | "multi": true, |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 682 | "name": "pod", |
| 683 | "options": [ |
| 684 | { |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 685 | "selected": false, |
| 686 | "text": "All", |
| 687 | "value": "$__all" |
| 688 | }, |
| 689 | { |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 690 | "selected": true, |
| 691 | "text": "spgwu", |
| 692 | "value": "spgwu" |
| 693 | }, |
| 694 | { |
| 695 | "selected": false, |
| 696 | "text": "accelleran-cbrs-ric", |
| 697 | "value": "accelleran-cbrs-ric" |
| 698 | }, |
| 699 | { |
| 700 | "selected": false, |
| 701 | "text": "accelleran-cbrs-nats", |
| 702 | "value": "accelleran-cbrs-nats" |
| 703 | }, |
| 704 | { |
| 705 | "selected": false, |
| 706 | "text": "accelleran-cbrs-redis", |
| 707 | "value": "accelleran-cbrs-redis" |
| 708 | }, |
| 709 | { |
| 710 | "selected": false, |
| 711 | "text": "accelleran-cbrs-ricweb", |
| 712 | "value": "accelleran-cbrs-ricweb" |
| 713 | } |
| 714 | ], |
| 715 | "query": "spgwu,accelleran-cbrs-ric,accelleran-cbrs-nats,accelleran-cbrs-redis,accelleran-cbrs-ricweb", |
| 716 | "skipUrlSync": false, |
| 717 | "type": "custom" |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 718 | } |
| 719 | ] |
| 720 | }, |
| 721 | "time": { |
| 722 | "from": "now-5m", |
| 723 | "to": "now" |
| 724 | }, |
| 725 | "timepicker": { |
| 726 | "hidden": false, |
| 727 | "refresh_intervals": [ |
| 728 | "5s", |
| 729 | "10s", |
| 730 | "30s", |
| 731 | "1m", |
| 732 | "5m", |
| 733 | "15m", |
| 734 | "30m", |
| 735 | "1h", |
| 736 | "2h", |
| 737 | "1d" |
| 738 | ], |
| 739 | "time_options": [ |
| 740 | "5m", |
| 741 | "15m", |
| 742 | "1h", |
| 743 | "6h", |
| 744 | "12h", |
| 745 | "24h", |
| 746 | "2d", |
| 747 | "7d", |
| 748 | "30d" |
| 749 | ] |
| 750 | }, |
| 751 | "timezone": "", |
| 752 | "title": "Aether Edge Pods", |
Hyunsun Moon | cd58a7b | 2019-12-08 03:37:13 -0800 | [diff] [blame] | 753 | "uid": "gKU2e27Zc", |
| 754 | "version": 1 |
| 755 | } |