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 | "description": "Support Node Exporter v0.16 and above.", |
| 16 | "editable": true, |
| 17 | "gnetId": 11074, |
| 18 | "graphTooltip": 0, |
| 19 | "id": 7, |
| 20 | "iteration": 1580631029618, |
| 21 | "links": [], |
| 22 | "panels": [ |
| 23 | { |
| 24 | "cacheTimeout": null, |
| 25 | "colorBackground": false, |
| 26 | "colorPostfix": false, |
| 27 | "colorPrefix": false, |
| 28 | "colorValue": true, |
| 29 | "colors": [ |
| 30 | "rgba(245, 54, 54, 0.9)", |
| 31 | "rgba(237, 129, 40, 0.89)", |
| 32 | "rgba(50, 172, 45, 0.97)" |
| 33 | ], |
| 34 | "datasource": "Prometheus", |
| 35 | "decimals": 1, |
| 36 | "description": "", |
| 37 | "format": "s", |
| 38 | "gauge": { |
| 39 | "maxValue": 100, |
| 40 | "minValue": 0, |
| 41 | "show": false, |
| 42 | "thresholdLabels": false, |
| 43 | "thresholdMarkers": true |
| 44 | }, |
| 45 | "gridPos": { |
| 46 | "h": 3, |
| 47 | "w": 2, |
| 48 | "x": 0, |
| 49 | "y": 0 |
| 50 | }, |
| 51 | "hideTimeOverride": true, |
| 52 | "id": 15, |
| 53 | "interval": null, |
| 54 | "links": [], |
| 55 | "mappingType": 1, |
| 56 | "mappingTypes": [ |
| 57 | { |
| 58 | "name": "value to text", |
| 59 | "value": 1 |
| 60 | }, |
| 61 | { |
| 62 | "name": "range to text", |
| 63 | "value": 2 |
| 64 | } |
| 65 | ], |
| 66 | "maxDataPoints": 100, |
| 67 | "nullPointMode": "null", |
| 68 | "nullText": null, |
| 69 | "options": {}, |
| 70 | "pluginVersion": "6.4.2", |
| 71 | "postfix": "", |
| 72 | "postfixFontSize": "50%", |
| 73 | "prefix": "", |
| 74 | "prefixFontSize": "50%", |
| 75 | "rangeMaps": [ |
| 76 | { |
| 77 | "from": "null", |
| 78 | "text": "N/A", |
| 79 | "to": "null" |
| 80 | } |
| 81 | ], |
| 82 | "sparkline": { |
| 83 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 84 | "full": false, |
| 85 | "lineColor": "rgb(31, 120, 193)", |
| 86 | "show": false |
| 87 | }, |
| 88 | "tableColumn": "", |
| 89 | "targets": [ |
| 90 | { |
| 91 | "expr": "sum(time() - node_boot_time_seconds{datacenter=\"$site\",kubernetes_node=~\"$hostname\"})", |
| 92 | "format": "time_series", |
| 93 | "hide": false, |
| 94 | "instant": true, |
| 95 | "intervalFactor": 1, |
| 96 | "refId": "A", |
| 97 | "step": 40 |
| 98 | } |
| 99 | ], |
| 100 | "thresholds": "1,2", |
| 101 | "title": "System Uptime", |
| 102 | "type": "singlestat", |
| 103 | "valueFontSize": "70%", |
| 104 | "valueMaps": [ |
| 105 | { |
| 106 | "op": "=", |
| 107 | "text": "N/A", |
| 108 | "value": "null" |
| 109 | } |
| 110 | ], |
| 111 | "valueName": "current" |
| 112 | }, |
| 113 | { |
| 114 | "cacheTimeout": null, |
| 115 | "colorBackground": false, |
| 116 | "colorValue": true, |
| 117 | "colors": [ |
| 118 | "rgba(245, 54, 54, 0.9)", |
| 119 | "rgba(237, 129, 40, 0.89)", |
| 120 | "rgba(50, 172, 45, 0.97)" |
| 121 | ], |
| 122 | "datasource": "Prometheus", |
| 123 | "decimals": 2, |
| 124 | "description": "", |
| 125 | "format": "bytes", |
| 126 | "gauge": { |
| 127 | "maxValue": 100, |
| 128 | "minValue": 0, |
| 129 | "show": false, |
| 130 | "thresholdLabels": false, |
| 131 | "thresholdMarkers": true |
| 132 | }, |
| 133 | "gridPos": { |
| 134 | "h": 3, |
| 135 | "w": 2, |
| 136 | "x": 2, |
| 137 | "y": 0 |
| 138 | }, |
| 139 | "id": 75, |
| 140 | "interval": null, |
| 141 | "links": [], |
| 142 | "mappingType": 1, |
| 143 | "mappingTypes": [ |
| 144 | { |
| 145 | "name": "value to text", |
| 146 | "value": 1 |
| 147 | }, |
| 148 | { |
| 149 | "name": "range to text", |
| 150 | "value": 2 |
| 151 | } |
| 152 | ], |
| 153 | "maxDataPoints": 100, |
| 154 | "maxPerRow": 6, |
| 155 | "nullPointMode": "null", |
| 156 | "nullText": null, |
| 157 | "options": {}, |
| 158 | "postfix": "", |
| 159 | "postfixFontSize": "70%", |
| 160 | "prefix": "", |
| 161 | "prefixFontSize": "50%", |
| 162 | "rangeMaps": [ |
| 163 | { |
| 164 | "from": "null", |
| 165 | "text": "N/A", |
| 166 | "to": "null" |
| 167 | } |
| 168 | ], |
| 169 | "sparkline": { |
| 170 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 171 | "full": false, |
| 172 | "lineColor": "rgb(31, 120, 193)", |
| 173 | "show": false |
| 174 | }, |
| 175 | "tableColumn": "", |
| 176 | "targets": [ |
| 177 | { |
| 178 | "expr": "sum(node_memory_MemTotal_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"})", |
| 179 | "format": "time_series", |
| 180 | "instant": true, |
| 181 | "intervalFactor": 1, |
| 182 | "legendFormat": "", |
| 183 | "refId": "A", |
| 184 | "step": 20 |
| 185 | } |
| 186 | ], |
| 187 | "thresholds": "2,3", |
| 188 | "title": "Total RAM", |
| 189 | "type": "singlestat", |
| 190 | "valueFontSize": "70%", |
| 191 | "valueMaps": [ |
| 192 | { |
| 193 | "op": "=", |
| 194 | "text": "N/A", |
| 195 | "value": "null" |
| 196 | } |
| 197 | ], |
| 198 | "valueName": "current" |
| 199 | }, |
| 200 | { |
| 201 | "datasource": "Prometheus", |
| 202 | "gridPos": { |
| 203 | "h": 6, |
| 204 | "w": 4, |
| 205 | "x": 4, |
| 206 | "y": 0 |
| 207 | }, |
| 208 | "id": 177, |
| 209 | "options": { |
| 210 | "displayMode": "lcd", |
| 211 | "fieldOptions": { |
| 212 | "calcs": [ |
| 213 | "last" |
| 214 | ], |
| 215 | "defaults": { |
| 216 | "mappings": [], |
| 217 | "max": 100, |
| 218 | "min": 0, |
| 219 | "thresholds": [ |
| 220 | { |
| 221 | "color": "green", |
| 222 | "value": null |
| 223 | }, |
| 224 | { |
| 225 | "color": "#EAB839", |
| 226 | "value": 60 |
| 227 | }, |
| 228 | { |
| 229 | "color": "red", |
| 230 | "value": 80 |
| 231 | } |
| 232 | ], |
| 233 | "title": "", |
| 234 | "unit": "percent" |
| 235 | }, |
| 236 | "override": {}, |
| 237 | "values": false |
| 238 | }, |
| 239 | "orientation": "horizontal" |
| 240 | }, |
| 241 | "pluginVersion": "6.4.2", |
| 242 | "targets": [ |
| 243 | { |
| 244 | "expr": "100 - (avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"idle\"}[30m])) * 100)", |
| 245 | "instant": true, |
| 246 | "legendFormat": "CPU Busy", |
| 247 | "refId": "A" |
| 248 | }, |
| 249 | { |
| 250 | "expr": "avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"iowait\"}[30m])) * 100", |
| 251 | "hide": true, |
| 252 | "instant": true, |
| 253 | "legendFormat": "Busy Iowait", |
| 254 | "refId": "C" |
| 255 | }, |
| 256 | { |
| 257 | "expr": "(1 - (node_memory_MemAvailable_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"} / (node_memory_MemTotal_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"})))* 100", |
| 258 | "instant": true, |
| 259 | "legendFormat": "Memory Usage_{{kubernetes_node}}", |
| 260 | "refId": "B" |
| 261 | }, |
| 262 | { |
| 263 | "expr": "100 - ((node_filesystem_avail_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mountpoint=\"$maxmount\",fstype=~\"ext4|xfs\"} * 100) / node_filesystem_size_bytes {datacenter=\"$site\",kubernetes_node=~\"$hostname\",mountpoint=\"$maxmount\",fstype=~\"ext4|xfs\"})", |
| 264 | "hide": false, |
| 265 | "instant": true, |
| 266 | "legendFormat": "Disk Usage($maxmount)_{{kubernetes_node}}", |
| 267 | "refId": "D" |
| 268 | }, |
| 269 | { |
| 270 | "expr": "(1 - (node_memory_SwapFree_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"} / node_memory_SwapTotal_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"})) * 100", |
| 271 | "hide": true, |
| 272 | "instant": true, |
| 273 | "legendFormat": "SWAP Usage_{{kubernetes_node}}", |
| 274 | "refId": "E" |
| 275 | } |
| 276 | ], |
| 277 | "timeFrom": null, |
| 278 | "timeShift": null, |
| 279 | "title": "", |
| 280 | "type": "bargauge" |
| 281 | }, |
| 282 | { |
| 283 | "columns": [], |
| 284 | "datasource": "Prometheus", |
| 285 | "fontSize": "100%", |
| 286 | "gridPos": { |
| 287 | "h": 6, |
| 288 | "w": 8, |
| 289 | "x": 8, |
| 290 | "y": 0 |
| 291 | }, |
| 292 | "id": 164, |
| 293 | "links": [], |
| 294 | "options": {}, |
| 295 | "pageSize": null, |
| 296 | "scroll": true, |
| 297 | "showHeader": true, |
| 298 | "sort": { |
| 299 | "col": 6, |
| 300 | "desc": false |
| 301 | }, |
| 302 | "styles": [ |
| 303 | { |
| 304 | "alias": "Mounted on", |
| 305 | "colorMode": null, |
| 306 | "colors": [ |
| 307 | "rgba(50, 172, 45, 0.97)", |
| 308 | "rgba(237, 129, 40, 0.89)", |
| 309 | "rgba(245, 54, 54, 0.9)" |
| 310 | ], |
| 311 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 312 | "decimals": 2, |
| 313 | "mappingType": 1, |
| 314 | "pattern": "mountpoint", |
| 315 | "thresholds": [ |
| 316 | "" |
| 317 | ], |
| 318 | "type": "string", |
| 319 | "unit": "bytes" |
| 320 | }, |
| 321 | { |
| 322 | "alias": "Avail", |
| 323 | "colorMode": "value", |
| 324 | "colors": [ |
| 325 | "rgba(245, 54, 54, 0.9)", |
| 326 | "rgba(237, 129, 40, 0.89)", |
| 327 | "rgba(50, 172, 45, 0.97)" |
| 328 | ], |
| 329 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 330 | "decimals": 2, |
| 331 | "mappingType": 1, |
| 332 | "pattern": "Value #A", |
| 333 | "thresholds": [ |
| 334 | "10000000000", |
| 335 | "20000000000" |
| 336 | ], |
| 337 | "type": "number", |
| 338 | "unit": "bytes" |
| 339 | }, |
| 340 | { |
| 341 | "alias": "Used", |
| 342 | "colorMode": "cell", |
| 343 | "colors": [ |
| 344 | "rgba(50, 172, 45, 0.97)", |
| 345 | "rgba(237, 129, 40, 0.89)", |
| 346 | "rgba(245, 54, 54, 0.9)" |
| 347 | ], |
| 348 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 349 | "decimals": 2, |
| 350 | "mappingType": 1, |
| 351 | "pattern": "Value #B", |
| 352 | "thresholds": [ |
| 353 | "0.6", |
| 354 | "0.8" |
| 355 | ], |
| 356 | "type": "number", |
| 357 | "unit": "percentunit" |
| 358 | }, |
| 359 | { |
| 360 | "alias": "Size", |
| 361 | "colorMode": null, |
| 362 | "colors": [ |
| 363 | "rgba(245, 54, 54, 0.9)", |
| 364 | "rgba(237, 129, 40, 0.89)", |
| 365 | "rgba(50, 172, 45, 0.97)" |
| 366 | ], |
| 367 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 368 | "decimals": 1, |
| 369 | "link": false, |
| 370 | "mappingType": 1, |
| 371 | "pattern": "Value #C", |
| 372 | "thresholds": [], |
| 373 | "type": "number", |
| 374 | "unit": "bytes" |
| 375 | }, |
| 376 | { |
| 377 | "alias": "Filesystem", |
| 378 | "colorMode": null, |
| 379 | "colors": [ |
| 380 | "rgba(245, 54, 54, 0.9)", |
| 381 | "rgba(237, 129, 40, 0.89)", |
| 382 | "rgba(50, 172, 45, 0.97)" |
| 383 | ], |
| 384 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 385 | "decimals": 2, |
| 386 | "link": false, |
| 387 | "mappingType": 1, |
| 388 | "pattern": "fstype", |
| 389 | "thresholds": [], |
| 390 | "type": "string", |
| 391 | "unit": "short" |
| 392 | }, |
| 393 | { |
| 394 | "alias": "IP", |
| 395 | "colorMode": null, |
| 396 | "colors": [ |
| 397 | "rgba(245, 54, 54, 0.9)", |
| 398 | "rgba(237, 129, 40, 0.89)", |
| 399 | "rgba(50, 172, 45, 0.97)" |
| 400 | ], |
| 401 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 402 | "decimals": 2, |
| 403 | "link": false, |
| 404 | "mappingType": 1, |
| 405 | "pattern": "kubernetes_node", |
| 406 | "preserveFormat": false, |
| 407 | "sanitize": false, |
| 408 | "thresholds": [], |
| 409 | "type": "string", |
| 410 | "unit": "short" |
| 411 | }, |
| 412 | { |
| 413 | "alias": "", |
| 414 | "colorMode": null, |
| 415 | "colors": [ |
| 416 | "rgba(245, 54, 54, 0.9)", |
| 417 | "rgba(237, 129, 40, 0.89)", |
| 418 | "rgba(50, 172, 45, 0.97)" |
| 419 | ], |
| 420 | "decimals": 2, |
| 421 | "pattern": "/.*/", |
| 422 | "preserveFormat": true, |
| 423 | "sanitize": false, |
| 424 | "thresholds": [], |
| 425 | "type": "hidden", |
| 426 | "unit": "short" |
| 427 | } |
| 428 | ], |
| 429 | "targets": [ |
| 430 | { |
| 431 | "expr": "node_filesystem_size_bytes{datacenter=\"$site\",kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"}-0", |
| 432 | "format": "table", |
| 433 | "hide": false, |
| 434 | "instant": true, |
| 435 | "intervalFactor": 1, |
| 436 | "legendFormat": "", |
| 437 | "refId": "C" |
| 438 | }, |
| 439 | { |
| 440 | "expr": "node_filesystem_avail_bytes {datacenter=\"$site\",kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"}-0", |
| 441 | "format": "table", |
| 442 | "hide": false, |
| 443 | "instant": true, |
| 444 | "interval": "10s", |
| 445 | "intervalFactor": 1, |
| 446 | "legendFormat": "", |
| 447 | "refId": "A" |
| 448 | }, |
| 449 | { |
| 450 | "expr": "1-(node_filesystem_free_bytes{datacenter=\"$site\",kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"} / node_filesystem_size_bytes{datacenter=\"$site\",kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"})", |
| 451 | "format": "table", |
| 452 | "hide": false, |
| 453 | "instant": true, |
| 454 | "intervalFactor": 1, |
| 455 | "legendFormat": "", |
| 456 | "refId": "B" |
| 457 | } |
| 458 | ], |
| 459 | "title": "Disk Space Used Basic(EXT4/XFS)", |
| 460 | "transform": "table", |
| 461 | "type": "table" |
| 462 | }, |
| 463 | { |
| 464 | "aliasColors": { |
| 465 | "filefd_192.168.200.241:9100": "super-light-green", |
| 466 | "switches_192.168.200.241:9100": "semi-dark-red" |
| 467 | }, |
| 468 | "bars": false, |
| 469 | "cacheTimeout": null, |
| 470 | "dashLength": 10, |
| 471 | "dashes": false, |
| 472 | "datasource": "Prometheus", |
| 473 | "description": "", |
| 474 | "fill": 0, |
| 475 | "fillGradient": 1, |
| 476 | "gridPos": { |
| 477 | "h": 6, |
| 478 | "w": 8, |
| 479 | "x": 16, |
| 480 | "y": 0 |
| 481 | }, |
| 482 | "hideTimeOverride": false, |
| 483 | "id": 16, |
| 484 | "legend": { |
| 485 | "alignAsTable": false, |
| 486 | "avg": false, |
| 487 | "current": true, |
| 488 | "max": true, |
| 489 | "min": false, |
| 490 | "rightSide": false, |
| 491 | "show": false, |
| 492 | "total": false, |
| 493 | "values": true |
| 494 | }, |
| 495 | "lines": true, |
| 496 | "linewidth": 2, |
| 497 | "links": [], |
| 498 | "nullPointMode": "null", |
| 499 | "options": { |
| 500 | "dataLinks": [] |
| 501 | }, |
| 502 | "percentage": false, |
| 503 | "pluginVersion": "6.4.2", |
| 504 | "pointradius": 1, |
| 505 | "points": false, |
| 506 | "renderer": "flot", |
| 507 | "seriesOverrides": [ |
| 508 | { |
| 509 | "alias": "/filefd_.*/", |
| 510 | "lines": false, |
| 511 | "pointradius": 1, |
| 512 | "points": true |
| 513 | }, |
| 514 | { |
| 515 | "alias": "/switches_.*/", |
| 516 | "color": "#F2495C", |
| 517 | "yaxis": 2 |
| 518 | } |
| 519 | ], |
| 520 | "spaceLength": 10, |
| 521 | "stack": false, |
| 522 | "steppedLine": false, |
| 523 | "targets": [ |
| 524 | { |
| 525 | "expr": "node_filefd_allocated{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 526 | "format": "time_series", |
| 527 | "instant": false, |
| 528 | "interval": "", |
| 529 | "intervalFactor": 5, |
| 530 | "legendFormat": "filefd_{{kubernetes_node}}", |
| 531 | "refId": "B" |
| 532 | }, |
| 533 | { |
| 534 | "expr": "irate(node_context_switches_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 535 | "intervalFactor": 5, |
| 536 | "legendFormat": "switches_{{kubernetes_node}}", |
| 537 | "refId": "A" |
| 538 | }, |
| 539 | { |
| 540 | "expr": "node_filefd_maximum{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 541 | "hide": true, |
| 542 | "refId": "C" |
| 543 | } |
| 544 | ], |
| 545 | "thresholds": [], |
| 546 | "timeFrom": null, |
| 547 | "timeRegions": [], |
| 548 | "timeShift": null, |
| 549 | "title": "Open File Descriptor(left)/Context switches(right)", |
| 550 | "tooltip": { |
| 551 | "shared": true, |
| 552 | "sort": 2, |
| 553 | "value_type": "individual" |
| 554 | }, |
| 555 | "type": "graph", |
| 556 | "xaxis": { |
| 557 | "buckets": null, |
| 558 | "mode": "time", |
| 559 | "name": null, |
| 560 | "show": true, |
| 561 | "values": [] |
| 562 | }, |
| 563 | "yaxes": [ |
| 564 | { |
| 565 | "format": "short", |
| 566 | "label": "", |
| 567 | "logBase": 1, |
| 568 | "max": null, |
| 569 | "min": null, |
| 570 | "show": true |
| 571 | }, |
| 572 | { |
| 573 | "format": "short", |
| 574 | "label": "context_switches", |
| 575 | "logBase": 1, |
| 576 | "max": null, |
| 577 | "min": null, |
| 578 | "show": true |
| 579 | } |
| 580 | ], |
| 581 | "yaxis": { |
| 582 | "align": false, |
| 583 | "alignLevel": null |
| 584 | } |
| 585 | }, |
| 586 | { |
| 587 | "cacheTimeout": null, |
| 588 | "colorBackground": false, |
| 589 | "colorPostfix": false, |
| 590 | "colorValue": true, |
| 591 | "colors": [ |
| 592 | "rgba(245, 54, 54, 0.9)", |
| 593 | "rgba(237, 129, 40, 0.89)", |
| 594 | "rgba(50, 172, 45, 0.97)" |
| 595 | ], |
| 596 | "datasource": "Prometheus", |
| 597 | "description": "", |
| 598 | "format": "short", |
| 599 | "gauge": { |
| 600 | "maxValue": 100, |
| 601 | "minValue": 0, |
| 602 | "show": false, |
| 603 | "thresholdLabels": false, |
| 604 | "thresholdMarkers": true |
| 605 | }, |
| 606 | "gridPos": { |
| 607 | "h": 3, |
| 608 | "w": 2, |
| 609 | "x": 0, |
| 610 | "y": 3 |
| 611 | }, |
| 612 | "id": 14, |
| 613 | "interval": null, |
| 614 | "links": [], |
| 615 | "mappingType": 1, |
| 616 | "mappingTypes": [ |
| 617 | { |
| 618 | "name": "value to text", |
| 619 | "value": 1 |
| 620 | }, |
| 621 | { |
| 622 | "name": "range to text", |
| 623 | "value": 2 |
| 624 | } |
| 625 | ], |
| 626 | "maxDataPoints": 100, |
| 627 | "maxPerRow": 6, |
| 628 | "nullPointMode": "null", |
| 629 | "nullText": null, |
| 630 | "options": {}, |
| 631 | "postfix": "", |
| 632 | "postfixFontSize": "50%", |
| 633 | "prefix": "", |
| 634 | "prefixFontSize": "50%", |
| 635 | "rangeMaps": [ |
| 636 | { |
| 637 | "from": "null", |
| 638 | "text": "N/A", |
| 639 | "to": "null" |
| 640 | } |
| 641 | ], |
| 642 | "sparkline": { |
| 643 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 644 | "full": false, |
| 645 | "lineColor": "rgb(31, 120, 193)", |
| 646 | "show": false |
| 647 | }, |
| 648 | "tableColumn": "", |
| 649 | "targets": [ |
| 650 | { |
| 651 | "expr": "sum(count(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode='system'}) by (cpu))", |
| 652 | "format": "time_series", |
| 653 | "instant": true, |
| 654 | "intervalFactor": 1, |
| 655 | "legendFormat": "", |
| 656 | "refId": "A", |
| 657 | "step": 20 |
| 658 | } |
| 659 | ], |
| 660 | "thresholds": "1,2", |
| 661 | "title": "CPU Cores", |
| 662 | "type": "singlestat", |
| 663 | "valueFontSize": "70%", |
| 664 | "valueMaps": [ |
| 665 | { |
| 666 | "op": "=", |
| 667 | "text": "N/A", |
| 668 | "value": "null" |
| 669 | } |
| 670 | ], |
| 671 | "valueName": "current" |
| 672 | }, |
| 673 | { |
| 674 | "cacheTimeout": null, |
| 675 | "colorBackground": false, |
| 676 | "colorValue": true, |
| 677 | "colors": [ |
| 678 | "#299c46", |
| 679 | "rgba(237, 129, 40, 0.89)", |
| 680 | "#d44a3a" |
| 681 | ], |
| 682 | "datasource": "Prometheus", |
| 683 | "decimals": 2, |
| 684 | "description": "", |
| 685 | "format": "percent", |
| 686 | "gauge": { |
| 687 | "maxValue": 100, |
| 688 | "minValue": 0, |
| 689 | "show": false, |
| 690 | "thresholdLabels": false, |
| 691 | "thresholdMarkers": true |
| 692 | }, |
| 693 | "gridPos": { |
| 694 | "h": 3, |
| 695 | "w": 2, |
| 696 | "x": 2, |
| 697 | "y": 3 |
| 698 | }, |
| 699 | "id": 20, |
| 700 | "interval": null, |
| 701 | "links": [], |
| 702 | "mappingType": 1, |
| 703 | "mappingTypes": [ |
| 704 | { |
| 705 | "name": "value to text", |
| 706 | "value": 1 |
| 707 | }, |
| 708 | { |
| 709 | "name": "range to text", |
| 710 | "value": 2 |
| 711 | } |
| 712 | ], |
| 713 | "maxDataPoints": 100, |
| 714 | "nullPointMode": "connected", |
| 715 | "nullText": null, |
| 716 | "options": {}, |
| 717 | "pluginVersion": "6.4.2", |
| 718 | "postfix": "", |
| 719 | "postfixFontSize": "50%", |
| 720 | "prefix": "", |
| 721 | "prefixFontSize": "50%", |
| 722 | "rangeMaps": [ |
| 723 | { |
| 724 | "from": "null", |
| 725 | "text": "N/A", |
| 726 | "to": "null" |
| 727 | } |
| 728 | ], |
| 729 | "sparkline": { |
| 730 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 731 | "full": false, |
| 732 | "lineColor": "#3274D9", |
| 733 | "show": true, |
| 734 | "ymax": null, |
| 735 | "ymin": null |
| 736 | }, |
| 737 | "tableColumn": "", |
| 738 | "targets": [ |
| 739 | { |
| 740 | "expr": "avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"iowait\"}[30m])) * 100", |
| 741 | "format": "time_series", |
| 742 | "hide": false, |
| 743 | "instant": false, |
| 744 | "interval": "", |
| 745 | "intervalFactor": 1, |
| 746 | "legendFormat": "", |
| 747 | "refId": "A", |
| 748 | "step": 20 |
| 749 | } |
| 750 | ], |
| 751 | "thresholds": "20,50", |
| 752 | "timeFrom": null, |
| 753 | "timeShift": null, |
| 754 | "title": "CPU IOwait", |
| 755 | "type": "singlestat", |
| 756 | "valueFontSize": "70%", |
| 757 | "valueMaps": [ |
| 758 | { |
| 759 | "op": "=", |
| 760 | "text": "N/A", |
| 761 | "value": "null" |
| 762 | } |
| 763 | ], |
| 764 | "valueName": "avg" |
| 765 | }, |
| 766 | { |
| 767 | "aliasColors": { |
| 768 | "15分钟": "#6ED0E0", |
| 769 | "1分钟": "#BF1B00", |
| 770 | "5分钟": "#CCA300" |
| 771 | }, |
| 772 | "bars": false, |
| 773 | "dashLength": 10, |
| 774 | "dashes": false, |
| 775 | "datasource": "Prometheus", |
| 776 | "editable": true, |
| 777 | "error": false, |
| 778 | "fill": 1, |
| 779 | "fillGradient": 1, |
| 780 | "grid": {}, |
| 781 | "gridPos": { |
| 782 | "h": 8, |
| 783 | "w": 8, |
| 784 | "x": 0, |
| 785 | "y": 6 |
| 786 | }, |
| 787 | "height": "300", |
| 788 | "id": 13, |
| 789 | "legend": { |
| 790 | "alignAsTable": true, |
| 791 | "avg": true, |
| 792 | "current": true, |
| 793 | "max": true, |
| 794 | "min": false, |
| 795 | "rightSide": false, |
| 796 | "show": true, |
| 797 | "total": false, |
| 798 | "values": true |
| 799 | }, |
| 800 | "lines": true, |
| 801 | "linewidth": 2, |
| 802 | "links": [], |
| 803 | "maxPerRow": 6, |
| 804 | "nullPointMode": "null as zero", |
| 805 | "options": { |
| 806 | "dataLinks": [] |
| 807 | }, |
| 808 | "percentage": false, |
| 809 | "pointradius": 5, |
| 810 | "points": false, |
| 811 | "renderer": "flot", |
| 812 | "repeat": null, |
| 813 | "seriesOverrides": [], |
| 814 | "spaceLength": 10, |
| 815 | "stack": false, |
| 816 | "steppedLine": false, |
| 817 | "targets": [ |
| 818 | { |
| 819 | "expr": "node_load1{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 820 | "format": "time_series", |
| 821 | "instant": false, |
| 822 | "interval": "", |
| 823 | "intervalFactor": 1, |
| 824 | "legendFormat": "{{kubernetes_node}}_1m", |
| 825 | "metric": "", |
| 826 | "refId": "A", |
| 827 | "step": 20, |
| 828 | "target": "" |
| 829 | }, |
| 830 | { |
| 831 | "expr": "node_load5{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 832 | "format": "time_series", |
| 833 | "instant": false, |
| 834 | "interval": "", |
| 835 | "intervalFactor": 1, |
| 836 | "legendFormat": "{{kubernetes_node}}_5m", |
| 837 | "refId": "B", |
| 838 | "step": 20 |
| 839 | }, |
| 840 | { |
| 841 | "expr": "node_load15{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 842 | "format": "time_series", |
| 843 | "instant": false, |
| 844 | "interval": "", |
| 845 | "intervalFactor": 1, |
| 846 | "legendFormat": "{{kubernetes_node}}_15m", |
| 847 | "refId": "C", |
| 848 | "step": 20 |
| 849 | } |
| 850 | ], |
| 851 | "thresholds": [], |
| 852 | "timeFrom": null, |
| 853 | "timeRegions": [], |
| 854 | "timeShift": null, |
| 855 | "title": "System Load", |
| 856 | "tooltip": { |
| 857 | "msResolution": false, |
| 858 | "shared": true, |
| 859 | "sort": 2, |
| 860 | "value_type": "cumulative" |
| 861 | }, |
| 862 | "type": "graph", |
| 863 | "xaxis": { |
| 864 | "buckets": null, |
| 865 | "mode": "time", |
| 866 | "name": null, |
| 867 | "show": true, |
| 868 | "values": [] |
| 869 | }, |
| 870 | "yaxes": [ |
| 871 | { |
| 872 | "format": "short", |
| 873 | "logBase": 1, |
| 874 | "max": null, |
| 875 | "min": null, |
| 876 | "show": true |
| 877 | }, |
| 878 | { |
| 879 | "format": "short", |
| 880 | "logBase": 1, |
| 881 | "max": null, |
| 882 | "min": null, |
| 883 | "show": true |
| 884 | } |
| 885 | ], |
| 886 | "yaxis": { |
| 887 | "align": false, |
| 888 | "alignLevel": null |
| 889 | } |
| 890 | }, |
| 891 | { |
| 892 | "aliasColors": { |
| 893 | "192.168.200.241:9100_Total": "dark-red", |
| 894 | "Idle - Waiting for something to happen": "#052B51", |
| 895 | "guest": "#9AC48A", |
| 896 | "idle": "#052B51", |
| 897 | "iowait": "#EAB839", |
| 898 | "irq": "#BF1B00", |
| 899 | "nice": "#C15C17", |
| 900 | "sdb_每秒I/O操作%": "#d683ce", |
| 901 | "softirq": "#E24D42", |
| 902 | "steal": "#FCE2DE", |
| 903 | "system": "#508642", |
| 904 | "user": "#5195CE", |
| 905 | "磁盘花费在I/O操作占比": "#ba43a9" |
| 906 | }, |
| 907 | "bars": false, |
| 908 | "dashLength": 10, |
| 909 | "dashes": false, |
| 910 | "datasource": "Prometheus", |
| 911 | "decimals": 2, |
| 912 | "description": "", |
| 913 | "fill": 1, |
| 914 | "fillGradient": 0, |
| 915 | "gridPos": { |
| 916 | "h": 8, |
| 917 | "w": 8, |
| 918 | "x": 8, |
| 919 | "y": 6 |
| 920 | }, |
| 921 | "id": 7, |
| 922 | "legend": { |
| 923 | "alignAsTable": true, |
| 924 | "avg": true, |
| 925 | "current": true, |
| 926 | "hideEmpty": true, |
| 927 | "hideZero": true, |
| 928 | "max": true, |
| 929 | "min": false, |
| 930 | "rightSide": false, |
| 931 | "show": true, |
| 932 | "sideWidth": null, |
| 933 | "sort": "current", |
| 934 | "sortDesc": true, |
| 935 | "total": false, |
| 936 | "values": true |
| 937 | }, |
| 938 | "lines": true, |
| 939 | "linewidth": 2, |
| 940 | "links": [], |
| 941 | "maxPerRow": 6, |
| 942 | "nullPointMode": "null", |
| 943 | "options": { |
| 944 | "dataLinks": [] |
| 945 | }, |
| 946 | "percentage": false, |
| 947 | "pointradius": 5, |
| 948 | "points": false, |
| 949 | "renderer": "flot", |
| 950 | "repeat": null, |
| 951 | "seriesOverrides": [ |
| 952 | { |
| 953 | "alias": "/.*_Total/", |
| 954 | "color": "#C4162A", |
| 955 | "fill": 0 |
| 956 | } |
| 957 | ], |
| 958 | "spaceLength": 10, |
| 959 | "stack": false, |
| 960 | "steppedLine": false, |
| 961 | "targets": [ |
| 962 | { |
| 963 | "expr": "avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"system\"}[30m])) by (kubernetes_node)", |
| 964 | "format": "time_series", |
| 965 | "hide": false, |
| 966 | "instant": false, |
| 967 | "interval": "", |
| 968 | "intervalFactor": 1, |
| 969 | "legendFormat": "{{kubernetes_node}}_System", |
| 970 | "refId": "A", |
| 971 | "step": 20 |
| 972 | }, |
| 973 | { |
| 974 | "expr": "avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"user\"}[30m])) by (kubernetes_node)", |
| 975 | "format": "time_series", |
| 976 | "hide": false, |
| 977 | "intervalFactor": 1, |
| 978 | "legendFormat": "{{kubernetes_node}}_User", |
| 979 | "refId": "B", |
| 980 | "step": 240 |
| 981 | }, |
| 982 | { |
| 983 | "expr": "avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"iowait\"}[30m])) by (kubernetes_node)", |
| 984 | "format": "time_series", |
| 985 | "hide": false, |
| 986 | "instant": false, |
| 987 | "intervalFactor": 1, |
| 988 | "legendFormat": "{{kubernetes_node}}_Iowait", |
| 989 | "refId": "D", |
| 990 | "step": 240 |
| 991 | }, |
| 992 | { |
| 993 | "expr": "1 - avg(irate(node_cpu_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",mode=\"idle\"}[30m])) by (kubernetes_node)", |
| 994 | "format": "time_series", |
| 995 | "hide": false, |
| 996 | "intervalFactor": 1, |
| 997 | "legendFormat": "{{kubernetes_node}}_Total", |
| 998 | "refId": "F", |
| 999 | "step": 240 |
| 1000 | } |
| 1001 | ], |
| 1002 | "thresholds": [], |
| 1003 | "timeFrom": null, |
| 1004 | "timeRegions": [], |
| 1005 | "timeShift": null, |
| 1006 | "title": "CPU Basic", |
| 1007 | "tooltip": { |
| 1008 | "shared": true, |
| 1009 | "sort": 2, |
| 1010 | "value_type": "individual" |
| 1011 | }, |
| 1012 | "type": "graph", |
| 1013 | "xaxis": { |
| 1014 | "buckets": null, |
| 1015 | "mode": "time", |
| 1016 | "name": null, |
| 1017 | "show": true, |
| 1018 | "values": [] |
| 1019 | }, |
| 1020 | "yaxes": [ |
| 1021 | { |
| 1022 | "decimals": 2, |
| 1023 | "format": "percentunit", |
| 1024 | "label": "", |
| 1025 | "logBase": 1, |
| 1026 | "max": null, |
| 1027 | "min": null, |
| 1028 | "show": true |
| 1029 | }, |
| 1030 | { |
| 1031 | "format": "short", |
| 1032 | "label": null, |
| 1033 | "logBase": 1, |
| 1034 | "max": null, |
| 1035 | "min": null, |
| 1036 | "show": false |
| 1037 | } |
| 1038 | ], |
| 1039 | "yaxis": { |
| 1040 | "align": false, |
| 1041 | "alignLevel": null |
| 1042 | } |
| 1043 | }, |
| 1044 | { |
| 1045 | "aliasColors": { |
| 1046 | "192.168.10.227:9100_em1_in下载": "super-light-green", |
| 1047 | "192.168.10.227:9100_em1_out上传": "dark-blue" |
| 1048 | }, |
| 1049 | "bars": false, |
| 1050 | "dashLength": 10, |
| 1051 | "dashes": false, |
| 1052 | "datasource": "Prometheus", |
| 1053 | "fill": 1, |
| 1054 | "fillGradient": 3, |
| 1055 | "gridPos": { |
| 1056 | "h": 8, |
| 1057 | "w": 8, |
| 1058 | "x": 16, |
| 1059 | "y": 6 |
| 1060 | }, |
| 1061 | "height": "300", |
| 1062 | "id": 157, |
| 1063 | "legend": { |
| 1064 | "alignAsTable": true, |
| 1065 | "avg": false, |
| 1066 | "current": true, |
| 1067 | "hideEmpty": true, |
| 1068 | "hideZero": true, |
| 1069 | "max": true, |
| 1070 | "min": false, |
| 1071 | "rightSide": false, |
| 1072 | "show": true, |
| 1073 | "sort": "current", |
| 1074 | "sortDesc": true, |
| 1075 | "total": false, |
| 1076 | "values": true |
| 1077 | }, |
| 1078 | "lines": true, |
| 1079 | "linewidth": 2, |
| 1080 | "links": [], |
| 1081 | "nullPointMode": "null", |
| 1082 | "options": { |
| 1083 | "dataLinks": [] |
| 1084 | }, |
| 1085 | "percentage": false, |
| 1086 | "pointradius": 2, |
| 1087 | "points": false, |
| 1088 | "renderer": "flot", |
| 1089 | "seriesOverrides": [ |
| 1090 | { |
| 1091 | "alias": "/.*_transmit$/", |
| 1092 | "transform": "negative-Y" |
| 1093 | } |
| 1094 | ], |
| 1095 | "spaceLength": 10, |
| 1096 | "stack": false, |
| 1097 | "steppedLine": false, |
| 1098 | "targets": [ |
| 1099 | { |
| 1100 | "expr": "irate(node_network_receive_bytes_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[30m])*8", |
| 1101 | "format": "time_series", |
| 1102 | "intervalFactor": 1, |
| 1103 | "legendFormat": "{{kubernetes_node}}_{{device}}_receive", |
| 1104 | "refId": "A", |
| 1105 | "step": 4 |
| 1106 | }, |
| 1107 | { |
| 1108 | "expr": "irate(node_network_transmit_bytes_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\",device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*'}[30m])*8", |
| 1109 | "format": "time_series", |
| 1110 | "intervalFactor": 1, |
| 1111 | "legendFormat": "{{kubernetes_node}}_{{device}}_transmit", |
| 1112 | "refId": "B", |
| 1113 | "step": 4 |
| 1114 | } |
| 1115 | ], |
| 1116 | "thresholds": [], |
| 1117 | "timeFrom": null, |
| 1118 | "timeRegions": [], |
| 1119 | "timeShift": null, |
| 1120 | "title": "Network Traffic Basic", |
| 1121 | "tooltip": { |
| 1122 | "shared": true, |
| 1123 | "sort": 2, |
| 1124 | "value_type": "individual" |
| 1125 | }, |
| 1126 | "type": "graph", |
| 1127 | "xaxis": { |
| 1128 | "buckets": null, |
| 1129 | "mode": "time", |
| 1130 | "name": null, |
| 1131 | "show": true, |
| 1132 | "values": [] |
| 1133 | }, |
| 1134 | "yaxes": [ |
| 1135 | { |
| 1136 | "format": "bps", |
| 1137 | "label": "transmit(-)/receive(+)", |
| 1138 | "logBase": 1, |
| 1139 | "max": null, |
| 1140 | "min": null, |
| 1141 | "show": true |
| 1142 | }, |
| 1143 | { |
| 1144 | "format": "short", |
| 1145 | "label": null, |
| 1146 | "logBase": 1, |
| 1147 | "max": null, |
| 1148 | "min": null, |
| 1149 | "show": false |
| 1150 | } |
| 1151 | ], |
| 1152 | "yaxis": { |
| 1153 | "align": false, |
| 1154 | "alignLevel": null |
| 1155 | } |
| 1156 | }, |
| 1157 | { |
| 1158 | "aliasColors": {}, |
| 1159 | "bars": false, |
| 1160 | "dashLength": 10, |
| 1161 | "dashes": false, |
| 1162 | "datasource": "Prometheus", |
| 1163 | "fill": 1, |
| 1164 | "fillGradient": 3, |
| 1165 | "gridPos": { |
| 1166 | "h": 8, |
| 1167 | "w": 8, |
| 1168 | "x": 0, |
| 1169 | "y": 14 |
| 1170 | }, |
| 1171 | "id": 174, |
| 1172 | "legend": { |
| 1173 | "alignAsTable": true, |
| 1174 | "avg": false, |
| 1175 | "current": true, |
| 1176 | "hideEmpty": false, |
| 1177 | "hideZero": false, |
| 1178 | "max": false, |
| 1179 | "min": false, |
| 1180 | "rightSide": false, |
| 1181 | "show": true, |
| 1182 | "sideWidth": null, |
| 1183 | "total": false, |
| 1184 | "values": true |
| 1185 | }, |
| 1186 | "lines": true, |
| 1187 | "linewidth": 2, |
| 1188 | "links": [], |
| 1189 | "nullPointMode": "null", |
| 1190 | "options": { |
| 1191 | "dataLinks": [] |
| 1192 | }, |
| 1193 | "percentage": false, |
| 1194 | "pointradius": 5, |
| 1195 | "points": false, |
| 1196 | "renderer": "flot", |
| 1197 | "seriesOverrides": [ |
| 1198 | { |
| 1199 | "alias": "/Inodes.*/", |
| 1200 | "yaxis": 2 |
| 1201 | } |
| 1202 | ], |
| 1203 | "spaceLength": 10, |
| 1204 | "stack": false, |
| 1205 | "steppedLine": false, |
| 1206 | "targets": [ |
| 1207 | { |
| 1208 | "expr": "1-(node_filesystem_free_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\",fstype=~\"ext4|xfs\"} / node_filesystem_size_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\",fstype=~\"ext4|xfs\"})", |
| 1209 | "format": "time_series", |
| 1210 | "instant": false, |
| 1211 | "intervalFactor": 1, |
| 1212 | "legendFormat": "{{kubernetes_node}}:{{mountpoint}}", |
| 1213 | "refId": "A" |
| 1214 | }, |
| 1215 | { |
| 1216 | "expr": "node_filesystem_files_free{datacenter=\"$site\",kubernetes_node=~\"$hostname\",fstype=~\"ext4|xfs\"} / node_filesystem_files{datacenter=\"$site\",kubernetes_node=~\"$hostname\",fstype=~\"ext4|xfs\"}", |
| 1217 | "hide": true, |
| 1218 | "legendFormat": "Inodes:{{instance}}:{{mountpoint}}", |
| 1219 | "refId": "B" |
| 1220 | } |
| 1221 | ], |
| 1222 | "thresholds": [], |
| 1223 | "timeFrom": null, |
| 1224 | "timeRegions": [], |
| 1225 | "timeShift": null, |
| 1226 | "title": "Disk Space Used Basic", |
| 1227 | "tooltip": { |
| 1228 | "shared": true, |
| 1229 | "sort": 2, |
| 1230 | "value_type": "individual" |
| 1231 | }, |
| 1232 | "type": "graph", |
| 1233 | "xaxis": { |
| 1234 | "buckets": null, |
| 1235 | "mode": "time", |
| 1236 | "name": null, |
| 1237 | "show": true, |
| 1238 | "values": [] |
| 1239 | }, |
| 1240 | "yaxes": [ |
| 1241 | { |
| 1242 | "decimals": 2, |
| 1243 | "format": "percentunit", |
| 1244 | "label": "", |
| 1245 | "logBase": 1, |
| 1246 | "max": null, |
| 1247 | "min": null, |
| 1248 | "show": true |
| 1249 | }, |
| 1250 | { |
| 1251 | "decimals": 2, |
| 1252 | "format": "percentunit", |
| 1253 | "label": null, |
| 1254 | "logBase": 1, |
| 1255 | "max": "1", |
| 1256 | "min": null, |
| 1257 | "show": true |
| 1258 | } |
| 1259 | ], |
| 1260 | "yaxis": { |
| 1261 | "align": false, |
| 1262 | "alignLevel": null |
| 1263 | } |
| 1264 | }, |
| 1265 | { |
| 1266 | "aliasColors": { |
| 1267 | "192.168.200.241:9100_总内存": "dark-red", |
| 1268 | "内存_Avaliable": "#6ED0E0", |
| 1269 | "内存_Cached": "#EF843C", |
| 1270 | "内存_Free": "#629E51", |
| 1271 | "内存_Total": "#6d1f62", |
| 1272 | "内存_Used": "#eab839", |
| 1273 | "可用": "#9ac48a", |
| 1274 | "总内存": "#bf1b00" |
| 1275 | }, |
| 1276 | "bars": false, |
| 1277 | "dashLength": 10, |
| 1278 | "dashes": false, |
| 1279 | "datasource": "Prometheus", |
| 1280 | "decimals": 2, |
| 1281 | "fill": 1, |
| 1282 | "fillGradient": 0, |
| 1283 | "gridPos": { |
| 1284 | "h": 8, |
| 1285 | "w": 8, |
| 1286 | "x": 8, |
| 1287 | "y": 14 |
| 1288 | }, |
| 1289 | "height": "300", |
| 1290 | "id": 156, |
| 1291 | "legend": { |
| 1292 | "alignAsTable": true, |
| 1293 | "avg": false, |
| 1294 | "current": true, |
| 1295 | "max": false, |
| 1296 | "min": false, |
| 1297 | "rightSide": false, |
| 1298 | "show": true, |
| 1299 | "sort": "current", |
| 1300 | "sortDesc": true, |
| 1301 | "total": false, |
| 1302 | "values": true |
| 1303 | }, |
| 1304 | "lines": true, |
| 1305 | "linewidth": 2, |
| 1306 | "links": [], |
| 1307 | "nullPointMode": "null", |
| 1308 | "options": { |
| 1309 | "dataLinks": [] |
| 1310 | }, |
| 1311 | "percentage": false, |
| 1312 | "pointradius": 5, |
| 1313 | "points": false, |
| 1314 | "renderer": "flot", |
| 1315 | "seriesOverrides": [ |
| 1316 | { |
| 1317 | "alias": "/.*_Total/", |
| 1318 | "fill": 0 |
| 1319 | } |
| 1320 | ], |
| 1321 | "spaceLength": 10, |
| 1322 | "stack": false, |
| 1323 | "steppedLine": false, |
| 1324 | "targets": [ |
| 1325 | { |
| 1326 | "expr": "node_memory_MemTotal_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1327 | "format": "time_series", |
| 1328 | "hide": false, |
| 1329 | "instant": false, |
| 1330 | "intervalFactor": 1, |
| 1331 | "legendFormat": "{{kubernetes_node}}_Total", |
| 1332 | "refId": "A", |
| 1333 | "step": 4 |
| 1334 | }, |
| 1335 | { |
| 1336 | "expr": "node_memory_MemTotal_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"} - node_memory_MemAvailable_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1337 | "format": "time_series", |
| 1338 | "hide": false, |
| 1339 | "intervalFactor": 1, |
| 1340 | "legendFormat": "{{kubernetes_node}}_Used", |
| 1341 | "refId": "B", |
| 1342 | "step": 4 |
| 1343 | }, |
| 1344 | { |
| 1345 | "expr": "node_memory_MemAvailable_bytes{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1346 | "format": "time_series", |
| 1347 | "hide": false, |
| 1348 | "interval": "", |
| 1349 | "intervalFactor": 1, |
| 1350 | "legendFormat": "{{kubernetes_node}}_Avaliable", |
| 1351 | "refId": "F", |
| 1352 | "step": 4 |
| 1353 | } |
| 1354 | ], |
| 1355 | "thresholds": [], |
| 1356 | "timeFrom": null, |
| 1357 | "timeRegions": [], |
| 1358 | "timeShift": null, |
| 1359 | "title": "Memory Basic", |
| 1360 | "tooltip": { |
| 1361 | "shared": true, |
| 1362 | "sort": 2, |
| 1363 | "value_type": "individual" |
| 1364 | }, |
| 1365 | "type": "graph", |
| 1366 | "xaxis": { |
| 1367 | "buckets": null, |
| 1368 | "mode": "time", |
| 1369 | "name": null, |
| 1370 | "show": true, |
| 1371 | "values": [] |
| 1372 | }, |
| 1373 | "yaxes": [ |
| 1374 | { |
| 1375 | "format": "bytes", |
| 1376 | "label": null, |
| 1377 | "logBase": 1, |
| 1378 | "max": null, |
| 1379 | "min": "0", |
| 1380 | "show": true |
| 1381 | }, |
| 1382 | { |
| 1383 | "format": "short", |
| 1384 | "label": null, |
| 1385 | "logBase": 1, |
| 1386 | "max": null, |
| 1387 | "min": null, |
| 1388 | "show": true |
| 1389 | } |
| 1390 | ], |
| 1391 | "yaxis": { |
| 1392 | "align": false, |
| 1393 | "alignLevel": null |
| 1394 | } |
| 1395 | }, |
| 1396 | { |
| 1397 | "aliasColors": { |
| 1398 | "Idle - Waiting for something to happen": "#052B51", |
| 1399 | "guest": "#9AC48A", |
| 1400 | "idle": "#052B51", |
| 1401 | "iowait": "#EAB839", |
| 1402 | "irq": "#BF1B00", |
| 1403 | "nice": "#C15C17", |
| 1404 | "sdb_每秒I/O操作%": "#d683ce", |
| 1405 | "softirq": "#E24D42", |
| 1406 | "steal": "#FCE2DE", |
| 1407 | "system": "#508642", |
| 1408 | "user": "#5195CE", |
| 1409 | "磁盘花费在I/O操作占比": "#ba43a9" |
| 1410 | }, |
| 1411 | "bars": false, |
| 1412 | "dashLength": 10, |
| 1413 | "dashes": false, |
| 1414 | "datasource": "Prometheus", |
| 1415 | "decimals": null, |
| 1416 | "description": "The time spent on I/O in the natural time of each second.(wall-clock time)", |
| 1417 | "fill": 1, |
| 1418 | "fillGradient": 5, |
| 1419 | "gridPos": { |
| 1420 | "h": 8, |
| 1421 | "w": 8, |
| 1422 | "x": 16, |
| 1423 | "y": 14 |
| 1424 | }, |
| 1425 | "id": 175, |
| 1426 | "legend": { |
| 1427 | "alignAsTable": true, |
| 1428 | "avg": true, |
| 1429 | "current": true, |
| 1430 | "hideEmpty": true, |
| 1431 | "hideZero": true, |
| 1432 | "max": true, |
| 1433 | "min": false, |
| 1434 | "rightSide": false, |
| 1435 | "show": true, |
| 1436 | "sideWidth": null, |
| 1437 | "sort": null, |
| 1438 | "sortDesc": null, |
| 1439 | "total": false, |
| 1440 | "values": true |
| 1441 | }, |
| 1442 | "lines": true, |
| 1443 | "linewidth": 2, |
| 1444 | "links": [], |
| 1445 | "maxPerRow": 6, |
| 1446 | "nullPointMode": "null", |
| 1447 | "options": { |
| 1448 | "dataLinks": [] |
| 1449 | }, |
| 1450 | "percentage": false, |
| 1451 | "pointradius": 5, |
| 1452 | "points": false, |
| 1453 | "renderer": "flot", |
| 1454 | "seriesOverrides": [], |
| 1455 | "spaceLength": 10, |
| 1456 | "stack": false, |
| 1457 | "steppedLine": false, |
| 1458 | "targets": [ |
| 1459 | { |
| 1460 | "expr": "irate(node_disk_io_time_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1461 | "format": "time_series", |
| 1462 | "intervalFactor": 1, |
| 1463 | "legendFormat": "{{kubernetes_node}}_{{device}}_ IO time", |
| 1464 | "refId": "C" |
| 1465 | } |
| 1466 | ], |
| 1467 | "thresholds": [], |
| 1468 | "timeFrom": null, |
| 1469 | "timeRegions": [], |
| 1470 | "timeShift": null, |
| 1471 | "title": "Time Spent Doing I/Os", |
| 1472 | "tooltip": { |
| 1473 | "shared": true, |
| 1474 | "sort": 2, |
| 1475 | "value_type": "individual" |
| 1476 | }, |
| 1477 | "type": "graph", |
| 1478 | "xaxis": { |
| 1479 | "buckets": null, |
| 1480 | "mode": "time", |
| 1481 | "name": null, |
| 1482 | "show": true, |
| 1483 | "values": [] |
| 1484 | }, |
| 1485 | "yaxes": [ |
| 1486 | { |
| 1487 | "decimals": null, |
| 1488 | "format": "s", |
| 1489 | "label": "", |
| 1490 | "logBase": 1, |
| 1491 | "max": null, |
| 1492 | "min": null, |
| 1493 | "show": true |
| 1494 | }, |
| 1495 | { |
| 1496 | "format": "short", |
| 1497 | "label": null, |
| 1498 | "logBase": 1, |
| 1499 | "max": null, |
| 1500 | "min": null, |
| 1501 | "show": false |
| 1502 | } |
| 1503 | ], |
| 1504 | "yaxis": { |
| 1505 | "align": false, |
| 1506 | "alignLevel": null |
| 1507 | } |
| 1508 | }, |
| 1509 | { |
| 1510 | "aliasColors": { |
| 1511 | "vda_write": "#6ED0E0" |
| 1512 | }, |
| 1513 | "bars": false, |
| 1514 | "dashLength": 10, |
| 1515 | "dashes": false, |
| 1516 | "datasource": "Prometheus", |
| 1517 | "description": "Read/write completions per second", |
| 1518 | "fill": 1, |
| 1519 | "fillGradient": 1, |
| 1520 | "gridPos": { |
| 1521 | "h": 9, |
| 1522 | "w": 8, |
| 1523 | "x": 0, |
| 1524 | "y": 22 |
| 1525 | }, |
| 1526 | "height": "300", |
| 1527 | "id": 161, |
| 1528 | "legend": { |
| 1529 | "alignAsTable": true, |
| 1530 | "avg": true, |
| 1531 | "current": true, |
| 1532 | "hideEmpty": true, |
| 1533 | "hideZero": true, |
| 1534 | "max": true, |
| 1535 | "min": false, |
| 1536 | "show": true, |
| 1537 | "sort": "current", |
| 1538 | "sortDesc": true, |
| 1539 | "total": false, |
| 1540 | "values": true |
| 1541 | }, |
| 1542 | "lines": true, |
| 1543 | "linewidth": 2, |
| 1544 | "links": [], |
| 1545 | "nullPointMode": "null", |
| 1546 | "options": { |
| 1547 | "dataLinks": [] |
| 1548 | }, |
| 1549 | "percentage": false, |
| 1550 | "pointradius": 5, |
| 1551 | "points": false, |
| 1552 | "renderer": "flot", |
| 1553 | "seriesOverrides": [ |
| 1554 | { |
| 1555 | "alias": "/.*_Reads completed$/", |
| 1556 | "transform": "negative-Y" |
| 1557 | } |
| 1558 | ], |
| 1559 | "spaceLength": 10, |
| 1560 | "stack": false, |
| 1561 | "steppedLine": false, |
| 1562 | "targets": [ |
| 1563 | { |
| 1564 | "expr": "irate(node_disk_reads_completed_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1565 | "format": "time_series", |
| 1566 | "hide": false, |
| 1567 | "interval": "", |
| 1568 | "intervalFactor": 1, |
| 1569 | "legendFormat": "{{kubernetes_node}}_{{device}}_Reads completed", |
| 1570 | "refId": "A", |
| 1571 | "step": 10 |
| 1572 | }, |
| 1573 | { |
| 1574 | "expr": "irate(node_disk_writes_completed_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1575 | "format": "time_series", |
| 1576 | "hide": false, |
| 1577 | "intervalFactor": 1, |
| 1578 | "legendFormat": "{{kubernetes_node}}_{{device}}_Writes completed", |
| 1579 | "refId": "B", |
| 1580 | "step": 10 |
| 1581 | } |
| 1582 | ], |
| 1583 | "thresholds": [], |
| 1584 | "timeFrom": null, |
| 1585 | "timeRegions": [], |
| 1586 | "timeShift": null, |
| 1587 | "title": "Disk IOps Completed", |
| 1588 | "tooltip": { |
| 1589 | "shared": true, |
| 1590 | "sort": 2, |
| 1591 | "value_type": "individual" |
| 1592 | }, |
| 1593 | "type": "graph", |
| 1594 | "xaxis": { |
| 1595 | "buckets": null, |
| 1596 | "mode": "time", |
| 1597 | "name": null, |
| 1598 | "show": true, |
| 1599 | "values": [] |
| 1600 | }, |
| 1601 | "yaxes": [ |
| 1602 | { |
| 1603 | "decimals": null, |
| 1604 | "format": "iops", |
| 1605 | "label": "IO read (-) / write (+)", |
| 1606 | "logBase": 1, |
| 1607 | "max": null, |
| 1608 | "min": null, |
| 1609 | "show": true |
| 1610 | }, |
| 1611 | { |
| 1612 | "format": "short", |
| 1613 | "label": null, |
| 1614 | "logBase": 1, |
| 1615 | "max": null, |
| 1616 | "min": null, |
| 1617 | "show": true |
| 1618 | } |
| 1619 | ], |
| 1620 | "yaxis": { |
| 1621 | "align": false, |
| 1622 | "alignLevel": null |
| 1623 | } |
| 1624 | }, |
| 1625 | { |
| 1626 | "aliasColors": { |
| 1627 | "vda_write": "#6ED0E0" |
| 1628 | }, |
| 1629 | "bars": false, |
| 1630 | "dashLength": 10, |
| 1631 | "dashes": false, |
| 1632 | "datasource": "Prometheus", |
| 1633 | "description": "Per second read / write bytes ", |
| 1634 | "fill": 1, |
| 1635 | "fillGradient": 1, |
| 1636 | "gridPos": { |
| 1637 | "h": 9, |
| 1638 | "w": 8, |
| 1639 | "x": 8, |
| 1640 | "y": 22 |
| 1641 | }, |
| 1642 | "height": "300", |
| 1643 | "id": 168, |
| 1644 | "legend": { |
| 1645 | "alignAsTable": true, |
| 1646 | "avg": true, |
| 1647 | "current": true, |
| 1648 | "hideEmpty": true, |
| 1649 | "hideZero": true, |
| 1650 | "max": true, |
| 1651 | "min": false, |
| 1652 | "show": true, |
| 1653 | "sort": "current", |
| 1654 | "sortDesc": true, |
| 1655 | "total": false, |
| 1656 | "values": true |
| 1657 | }, |
| 1658 | "lines": true, |
| 1659 | "linewidth": 2, |
| 1660 | "links": [], |
| 1661 | "nullPointMode": "null", |
| 1662 | "options": { |
| 1663 | "dataLinks": [] |
| 1664 | }, |
| 1665 | "percentage": false, |
| 1666 | "pointradius": 5, |
| 1667 | "points": false, |
| 1668 | "renderer": "flot", |
| 1669 | "seriesOverrides": [ |
| 1670 | { |
| 1671 | "alias": "/.*_Read bytes$/", |
| 1672 | "transform": "negative-Y" |
| 1673 | } |
| 1674 | ], |
| 1675 | "spaceLength": 10, |
| 1676 | "stack": false, |
| 1677 | "steppedLine": false, |
| 1678 | "targets": [ |
| 1679 | { |
| 1680 | "expr": "irate(node_disk_read_bytes_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1681 | "format": "time_series", |
| 1682 | "interval": "", |
| 1683 | "intervalFactor": 1, |
| 1684 | "legendFormat": "{{kubernetes_node}}_{{device}}_Read bytes", |
| 1685 | "refId": "A", |
| 1686 | "step": 10 |
| 1687 | }, |
| 1688 | { |
| 1689 | "expr": "irate(node_disk_written_bytes_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1690 | "format": "time_series", |
| 1691 | "hide": false, |
| 1692 | "intervalFactor": 1, |
| 1693 | "legendFormat": "{{kubernetes_node}}_{{device}}_Written bytes", |
| 1694 | "refId": "B", |
| 1695 | "step": 10 |
| 1696 | } |
| 1697 | ], |
| 1698 | "thresholds": [], |
| 1699 | "timeFrom": null, |
| 1700 | "timeRegions": [], |
| 1701 | "timeShift": null, |
| 1702 | "title": "Disk R/W Data", |
| 1703 | "tooltip": { |
| 1704 | "shared": true, |
| 1705 | "sort": 2, |
| 1706 | "value_type": "individual" |
| 1707 | }, |
| 1708 | "type": "graph", |
| 1709 | "xaxis": { |
| 1710 | "buckets": null, |
| 1711 | "mode": "time", |
| 1712 | "name": null, |
| 1713 | "show": true, |
| 1714 | "values": [] |
| 1715 | }, |
| 1716 | "yaxes": [ |
| 1717 | { |
| 1718 | "decimals": null, |
| 1719 | "format": "Bps", |
| 1720 | "label": "Bytes read (-) / write (+)", |
| 1721 | "logBase": 1, |
| 1722 | "max": null, |
| 1723 | "min": null, |
| 1724 | "show": true |
| 1725 | }, |
| 1726 | { |
| 1727 | "format": "short", |
| 1728 | "label": null, |
| 1729 | "logBase": 1, |
| 1730 | "max": null, |
| 1731 | "min": null, |
| 1732 | "show": false |
| 1733 | } |
| 1734 | ], |
| 1735 | "yaxis": { |
| 1736 | "align": false, |
| 1737 | "alignLevel": null |
| 1738 | } |
| 1739 | }, |
| 1740 | { |
| 1741 | "aliasColors": { |
| 1742 | "vda": "#6ED0E0" |
| 1743 | }, |
| 1744 | "bars": false, |
| 1745 | "dashLength": 10, |
| 1746 | "dashes": false, |
| 1747 | "datasource": "Prometheus", |
| 1748 | "description": "Time spent on each read/write operation", |
| 1749 | "fill": 1, |
| 1750 | "fillGradient": 1, |
| 1751 | "gridPos": { |
| 1752 | "h": 9, |
| 1753 | "w": 8, |
| 1754 | "x": 16, |
| 1755 | "y": 22 |
| 1756 | }, |
| 1757 | "height": "300", |
| 1758 | "id": 160, |
| 1759 | "legend": { |
| 1760 | "alignAsTable": true, |
| 1761 | "avg": true, |
| 1762 | "current": true, |
| 1763 | "hideEmpty": true, |
| 1764 | "hideZero": true, |
| 1765 | "max": true, |
| 1766 | "min": false, |
| 1767 | "show": true, |
| 1768 | "sort": "current", |
| 1769 | "sortDesc": true, |
| 1770 | "total": false, |
| 1771 | "values": true |
| 1772 | }, |
| 1773 | "lines": true, |
| 1774 | "linewidth": 2, |
| 1775 | "links": [], |
| 1776 | "nullPointMode": "null as zero", |
| 1777 | "options": { |
| 1778 | "dataLinks": [] |
| 1779 | }, |
| 1780 | "percentage": false, |
| 1781 | "pointradius": 5, |
| 1782 | "points": false, |
| 1783 | "renderer": "flot", |
| 1784 | "seriesOverrides": [ |
| 1785 | { |
| 1786 | "alias": "/,*_Read time$/", |
| 1787 | "transform": "negative-Y" |
| 1788 | } |
| 1789 | ], |
| 1790 | "spaceLength": 10, |
| 1791 | "stack": false, |
| 1792 | "steppedLine": false, |
| 1793 | "targets": [ |
| 1794 | { |
| 1795 | "expr": "irate(node_disk_read_time_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m]) / irate(node_disk_reads_completed_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1796 | "format": "time_series", |
| 1797 | "hide": false, |
| 1798 | "instant": false, |
| 1799 | "interval": "", |
| 1800 | "intervalFactor": 1, |
| 1801 | "legendFormat": "{{kubernetes_node}}_{{device}}_Read time", |
| 1802 | "refId": "B" |
| 1803 | }, |
| 1804 | { |
| 1805 | "expr": "irate(node_disk_write_time_seconds_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m]) / irate(node_disk_writes_completed_total{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}[30m])", |
| 1806 | "format": "time_series", |
| 1807 | "hide": false, |
| 1808 | "instant": false, |
| 1809 | "intervalFactor": 1, |
| 1810 | "legendFormat": "{{kubernetes_node}}_{{device}}_Write time", |
| 1811 | "refId": "C" |
| 1812 | } |
| 1813 | ], |
| 1814 | "thresholds": [], |
| 1815 | "timeFrom": null, |
| 1816 | "timeRegions": [], |
| 1817 | "timeShift": null, |
| 1818 | "title": "Disk R/W Time(Reference: less than 100ms)(beta)", |
| 1819 | "tooltip": { |
| 1820 | "shared": true, |
| 1821 | "sort": 2, |
| 1822 | "value_type": "individual" |
| 1823 | }, |
| 1824 | "type": "graph", |
| 1825 | "xaxis": { |
| 1826 | "buckets": null, |
| 1827 | "mode": "time", |
| 1828 | "name": null, |
| 1829 | "show": true, |
| 1830 | "values": [] |
| 1831 | }, |
| 1832 | "yaxes": [ |
| 1833 | { |
| 1834 | "format": "s", |
| 1835 | "label": "Time. read (-) / write (+)", |
| 1836 | "logBase": 1, |
| 1837 | "max": null, |
| 1838 | "min": null, |
| 1839 | "show": true |
| 1840 | }, |
| 1841 | { |
| 1842 | "format": "short", |
| 1843 | "label": null, |
| 1844 | "logBase": 1, |
| 1845 | "max": null, |
| 1846 | "min": null, |
| 1847 | "show": false |
| 1848 | } |
| 1849 | ], |
| 1850 | "yaxis": { |
| 1851 | "align": false, |
| 1852 | "alignLevel": null |
| 1853 | } |
| 1854 | }, |
| 1855 | { |
| 1856 | "aliasColors": { |
| 1857 | "TCP": "#6ED0E0" |
| 1858 | }, |
| 1859 | "bars": false, |
| 1860 | "dashLength": 10, |
| 1861 | "dashes": false, |
| 1862 | "datasource": "Prometheus", |
| 1863 | "description": "TCP_alloc - Allocated sockets\n\nCurrEstab - TCP connections for which the current state is either ESTABLISHED or CLOSE- WAIT\n\nTCP_tw - Sockets wating close\n\nUDP_inuse - Udp sockets currently in use\n\nSockets_used - Sockets currently in use", |
| 1864 | "fill": 1, |
| 1865 | "fillGradient": 0, |
| 1866 | "gridPos": { |
| 1867 | "h": 12, |
| 1868 | "w": 12, |
| 1869 | "x": 0, |
| 1870 | "y": 31 |
| 1871 | }, |
| 1872 | "height": "300", |
| 1873 | "id": 158, |
| 1874 | "interval": "", |
| 1875 | "legend": { |
| 1876 | "alignAsTable": true, |
| 1877 | "avg": true, |
| 1878 | "current": true, |
| 1879 | "hideEmpty": true, |
| 1880 | "hideZero": true, |
| 1881 | "max": true, |
| 1882 | "min": false, |
| 1883 | "rightSide": false, |
| 1884 | "show": true, |
| 1885 | "sort": "current", |
| 1886 | "sortDesc": true, |
| 1887 | "total": false, |
| 1888 | "values": true |
| 1889 | }, |
| 1890 | "lines": true, |
| 1891 | "linewidth": 2, |
| 1892 | "links": [], |
| 1893 | "nullPointMode": "null", |
| 1894 | "options": { |
| 1895 | "dataLinks": [] |
| 1896 | }, |
| 1897 | "percentage": false, |
| 1898 | "pointradius": 5, |
| 1899 | "points": false, |
| 1900 | "renderer": "flot", |
| 1901 | "seriesOverrides": [ |
| 1902 | { |
| 1903 | "alias": "/.*_Sockets_used/", |
| 1904 | "color": "#C4162A", |
| 1905 | "fill": 0 |
| 1906 | } |
| 1907 | ], |
| 1908 | "spaceLength": 10, |
| 1909 | "stack": false, |
| 1910 | "steppedLine": false, |
| 1911 | "targets": [ |
| 1912 | { |
| 1913 | "expr": "node_netstat_Tcp_CurrEstab{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1914 | "format": "time_series", |
| 1915 | "hide": false, |
| 1916 | "instant": false, |
| 1917 | "interval": "", |
| 1918 | "intervalFactor": 1, |
| 1919 | "legendFormat": "{{kubernetes_node}}_CurrEstab", |
| 1920 | "refId": "A", |
| 1921 | "step": 20 |
| 1922 | }, |
| 1923 | { |
| 1924 | "expr": "node_sockstat_TCP_tw{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1925 | "format": "time_series", |
| 1926 | "intervalFactor": 1, |
| 1927 | "legendFormat": "{{kubernetes_node}}_TCP_tw", |
| 1928 | "refId": "D" |
| 1929 | }, |
| 1930 | { |
| 1931 | "expr": "node_sockstat_sockets_used{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1932 | "legendFormat": "{{kubernetes_node}}_Sockets_used", |
| 1933 | "refId": "B" |
| 1934 | }, |
| 1935 | { |
| 1936 | "expr": "node_sockstat_UDP_inuse{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1937 | "legendFormat": "{{kubernetes_node}}_UDP_inuse", |
| 1938 | "refId": "C" |
| 1939 | }, |
| 1940 | { |
| 1941 | "expr": "node_sockstat_TCP_alloc{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 1942 | "legendFormat": "{{kubernetes_node}}_TCP_alloc", |
| 1943 | "refId": "E" |
| 1944 | } |
| 1945 | ], |
| 1946 | "thresholds": [], |
| 1947 | "timeFrom": null, |
| 1948 | "timeRegions": [], |
| 1949 | "timeShift": null, |
| 1950 | "title": "Network Sockstat", |
| 1951 | "tooltip": { |
| 1952 | "shared": true, |
| 1953 | "sort": 2, |
| 1954 | "value_type": "individual" |
| 1955 | }, |
| 1956 | "type": "graph", |
| 1957 | "xaxis": { |
| 1958 | "buckets": null, |
| 1959 | "mode": "time", |
| 1960 | "name": null, |
| 1961 | "show": true, |
| 1962 | "values": [] |
| 1963 | }, |
| 1964 | "yaxes": [ |
| 1965 | { |
| 1966 | "format": "short", |
| 1967 | "label": null, |
| 1968 | "logBase": 1, |
| 1969 | "max": null, |
| 1970 | "min": null, |
| 1971 | "show": true |
| 1972 | }, |
| 1973 | { |
| 1974 | "format": "short", |
| 1975 | "label": null, |
| 1976 | "logBase": 1, |
| 1977 | "max": null, |
| 1978 | "min": null, |
| 1979 | "show": true |
| 1980 | } |
| 1981 | ], |
| 1982 | "yaxis": { |
| 1983 | "align": false, |
| 1984 | "alignLevel": null |
| 1985 | } |
| 1986 | }, |
| 1987 | { |
| 1988 | "aliasColors": {}, |
| 1989 | "bars": false, |
| 1990 | "dashLength": 10, |
| 1991 | "dashes": false, |
| 1992 | "datasource": "Prometheus", |
| 1993 | "description": "", |
| 1994 | "fill": 0, |
| 1995 | "fillGradient": 1, |
| 1996 | "gridPos": { |
| 1997 | "h": 12, |
| 1998 | "w": 12, |
| 1999 | "x": 12, |
| 2000 | "y": 31 |
| 2001 | }, |
| 2002 | "id": 169, |
| 2003 | "legend": { |
| 2004 | "alignAsTable": true, |
| 2005 | "avg": true, |
| 2006 | "current": true, |
| 2007 | "hideEmpty": true, |
| 2008 | "hideZero": true, |
| 2009 | "max": true, |
| 2010 | "min": false, |
| 2011 | "rightSide": false, |
| 2012 | "show": true, |
| 2013 | "sideWidth": null, |
| 2014 | "sort": "current", |
| 2015 | "sortDesc": true, |
| 2016 | "total": false, |
| 2017 | "values": true |
| 2018 | }, |
| 2019 | "lines": true, |
| 2020 | "linewidth": 2, |
| 2021 | "links": [], |
| 2022 | "nullPointMode": "null", |
| 2023 | "options": { |
| 2024 | "dataLinks": [] |
| 2025 | }, |
| 2026 | "percentage": false, |
| 2027 | "pointradius": 0.5, |
| 2028 | "points": false, |
| 2029 | "renderer": "flot", |
| 2030 | "seriesOverrides": [], |
| 2031 | "spaceLength": 10, |
| 2032 | "stack": false, |
| 2033 | "steppedLine": false, |
| 2034 | "targets": [ |
| 2035 | { |
| 2036 | "expr": "node_hwmon_temp_celsius{datacenter=\"$site\",kubernetes_node=~\"$hostname\"}", |
| 2037 | "format": "time_series", |
| 2038 | "intervalFactor": 10, |
| 2039 | "legendFormat": "{{kubernetes_node}}_{{chip}}_{{sensor}}", |
| 2040 | "refId": "A" |
| 2041 | } |
| 2042 | ], |
| 2043 | "thresholds": [], |
| 2044 | "timeFrom": null, |
| 2045 | "timeRegions": [], |
| 2046 | "timeShift": null, |
| 2047 | "title": "Hardware Temperature(VM may not display the metrics)", |
| 2048 | "tooltip": { |
| 2049 | "shared": true, |
| 2050 | "sort": 2, |
| 2051 | "value_type": "individual" |
| 2052 | }, |
| 2053 | "type": "graph", |
| 2054 | "xaxis": { |
| 2055 | "buckets": null, |
| 2056 | "mode": "time", |
| 2057 | "name": null, |
| 2058 | "show": true, |
| 2059 | "values": [] |
| 2060 | }, |
| 2061 | "yaxes": [ |
| 2062 | { |
| 2063 | "format": "celsius", |
| 2064 | "label": null, |
| 2065 | "logBase": 1, |
| 2066 | "max": null, |
| 2067 | "min": null, |
| 2068 | "show": true |
| 2069 | }, |
| 2070 | { |
| 2071 | "format": "short", |
| 2072 | "label": null, |
| 2073 | "logBase": 1, |
| 2074 | "max": null, |
| 2075 | "min": null, |
| 2076 | "show": true |
| 2077 | } |
| 2078 | ], |
| 2079 | "yaxis": { |
| 2080 | "align": false, |
| 2081 | "alignLevel": null |
| 2082 | } |
| 2083 | } |
| 2084 | ], |
| 2085 | "refresh": false, |
| 2086 | "schemaVersion": 20, |
| 2087 | "style": "dark", |
| 2088 | "tags": [ |
| 2089 | "aether" |
| 2090 | ], |
| 2091 | "templating": { |
| 2092 | "list": [ |
| 2093 | { |
| 2094 | "allValue": null, |
| 2095 | "datasource": "Prometheus", |
| 2096 | "definition": "label_values(node_uname_info, datacenter)", |
| 2097 | "hide": 0, |
| 2098 | "includeAll": false, |
| 2099 | "label": "Site", |
| 2100 | "multi": false, |
| 2101 | "name": "site", |
| 2102 | "query": "label_values(node_uname_info, datacenter)", |
| 2103 | "refresh": 2, |
| 2104 | "regex": "", |
| 2105 | "skipUrlSync": false, |
| 2106 | "sort": 0, |
| 2107 | "tagValuesQuery": "", |
| 2108 | "tags": [], |
| 2109 | "tagsQuery": "", |
| 2110 | "type": "query", |
| 2111 | "useTags": false |
| 2112 | }, |
| 2113 | { |
| 2114 | "allValue": null, |
| 2115 | "current": { |
| 2116 | "text": "All", |
| 2117 | "value": "$__all" |
| 2118 | }, |
| 2119 | "datasource": "Prometheus", |
| 2120 | "definition": "label_values(node_uname_info{datacenter=\"$site\",job=~\"kubernetes-service-endpoints\"}, kubernetes_node)", |
| 2121 | "hide": 0, |
| 2122 | "includeAll": true, |
| 2123 | "label": "Host", |
| 2124 | "multi": true, |
| 2125 | "name": "hostname", |
| 2126 | "options": [], |
| 2127 | "query": "label_values(node_uname_info{datacenter=\"$site\",job=~\"kubernetes-service-endpoints\"}, kubernetes_node)", |
| 2128 | "refresh": 2, |
| 2129 | "regex": "", |
| 2130 | "skipUrlSync": false, |
| 2131 | "sort": 0, |
| 2132 | "tagValuesQuery": "", |
| 2133 | "tags": [], |
| 2134 | "tagsQuery": "", |
| 2135 | "type": "query", |
| 2136 | "useTags": false |
| 2137 | }, |
| 2138 | { |
| 2139 | "allValue": null, |
| 2140 | "current": { |
| 2141 | "text": "/", |
| 2142 | "value": "/" |
| 2143 | }, |
| 2144 | "datasource": "Prometheus", |
| 2145 | "definition": "query_result(topk(1,sort_desc (max(node_filesystem_size_bytes{kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"}) by (mountpoint))))", |
| 2146 | "hide": 2, |
| 2147 | "includeAll": false, |
| 2148 | "label": "", |
| 2149 | "multi": false, |
| 2150 | "name": "maxmount", |
| 2151 | "options": [], |
| 2152 | "query": "query_result(topk(1,sort_desc (max(node_filesystem_size_bytes{kubernetes_node=~'$hostname',fstype=~\"ext4|xfs\"}) by (mountpoint))))", |
| 2153 | "refresh": 2, |
| 2154 | "regex": "/.*\\\"(.*)\\\".*/", |
| 2155 | "skipUrlSync": false, |
| 2156 | "sort": 0, |
| 2157 | "tagValuesQuery": "", |
| 2158 | "tags": [], |
| 2159 | "tagsQuery": "", |
| 2160 | "type": "query", |
| 2161 | "useTags": false |
| 2162 | }, |
| 2163 | { |
| 2164 | "allFormat": "glob", |
| 2165 | "allValue": null, |
| 2166 | "current": { |
| 2167 | "isNone": true, |
| 2168 | "text": "None", |
| 2169 | "value": "" |
| 2170 | }, |
| 2171 | "datasource": "Prometheus", |
| 2172 | "definition": "", |
| 2173 | "hide": 2, |
| 2174 | "includeAll": false, |
| 2175 | "label": "环境", |
| 2176 | "multi": false, |
| 2177 | "multiFormat": "regex values", |
| 2178 | "name": "env", |
| 2179 | "options": [], |
| 2180 | "query": "label_values(node_exporter_build_info,env)", |
| 2181 | "refresh": 2, |
| 2182 | "regex": "", |
| 2183 | "skipUrlSync": false, |
| 2184 | "sort": 1, |
| 2185 | "tagValuesQuery": "", |
| 2186 | "tags": [], |
| 2187 | "tagsQuery": "", |
| 2188 | "type": "query", |
| 2189 | "useTags": false |
| 2190 | }, |
| 2191 | { |
| 2192 | "allFormat": "glob", |
| 2193 | "allValue": "", |
| 2194 | "current": { |
| 2195 | "isNone": true, |
| 2196 | "text": "None", |
| 2197 | "value": "" |
| 2198 | }, |
| 2199 | "datasource": "Prometheus", |
| 2200 | "definition": "label_values(node_exporter_build_info{env=~'$env'},name)", |
| 2201 | "hide": 2, |
| 2202 | "includeAll": false, |
| 2203 | "label": "名称", |
| 2204 | "multi": true, |
| 2205 | "multiFormat": "regex values", |
| 2206 | "name": "name", |
| 2207 | "options": [], |
| 2208 | "query": "label_values(node_exporter_build_info{env=~'$env'},name)", |
| 2209 | "refresh": 2, |
| 2210 | "regex": "", |
| 2211 | "skipUrlSync": false, |
| 2212 | "sort": 1, |
| 2213 | "tagValuesQuery": "/.*/", |
| 2214 | "tags": [], |
| 2215 | "tagsQuery": "", |
| 2216 | "type": "query", |
| 2217 | "useTags": false |
| 2218 | } |
| 2219 | ] |
| 2220 | }, |
| 2221 | "time": { |
| 2222 | "from": "now-24h", |
| 2223 | "to": "now" |
| 2224 | }, |
| 2225 | "timepicker": { |
| 2226 | "now": true, |
| 2227 | "refresh_intervals": [ |
| 2228 | "5s", |
| 2229 | "10s", |
| 2230 | "30s", |
| 2231 | "1m", |
| 2232 | "5m", |
| 2233 | "15m", |
| 2234 | "30m", |
| 2235 | "1h", |
| 2236 | "2h", |
| 2237 | "1d" |
| 2238 | ], |
| 2239 | "time_options": [ |
| 2240 | "5m", |
| 2241 | "15m", |
| 2242 | "1h", |
| 2243 | "6h", |
| 2244 | "12h", |
| 2245 | "24h", |
| 2246 | "2d", |
| 2247 | "7d", |
| 2248 | "30d" |
| 2249 | ] |
| 2250 | }, |
| 2251 | "timezone": "browser", |
| 2252 | "title": "Multi-Site System Monitoring", |
| 2253 | "uid": "hb7fSE0Zz", |
| 2254 | "version": 11 |
| 2255 | } |