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