| lavado | 456d0f3 | 2019-11-15 17:04:02 -0500 | [diff] [blame] | 1 | { |
| 2 | "dashboard": { |
| 3 | "annotations": { |
| 4 | "list": [ |
| 5 | { |
| 6 | "builtIn": 1, |
| 7 | "datasource": "-- Grafana --", |
| 8 | "enable": true, |
| 9 | "hide": true, |
| 10 | "iconColor": "rgba(0, 211, 255, 1)", |
| 11 | "name": "Annotations & Alerts", |
| 12 | "type": "dashboard" |
| 13 | } |
| 14 | ] |
| 15 | }, |
| 16 | "editable": true, |
| 17 | "gnetId": null, |
| 18 | "graphTooltip": 0, |
| 19 | "id": null, |
| 20 | "iteration": 1573641787428, |
| 21 | "links": [], |
| 22 | "panels": [ |
| 23 | { |
| 24 | "columns": [], |
| 25 | "datasource": "osm_prometheus", |
| 26 | "fontSize": "100%", |
| 27 | "gridPos": { |
| 28 | "h": 5, |
| 29 | "w": 12, |
| 30 | "x": 0, |
| 31 | "y": 0 |
| 32 | }, |
| 33 | "id": 8, |
| 34 | "links": [], |
| 35 | "options": {}, |
| 36 | "pageSize": null, |
| 37 | "showHeader": true, |
| 38 | "sort": { |
| 39 | "col": 0, |
| 40 | "desc": true |
| 41 | }, |
| 42 | "styles": [ |
| 43 | { |
| 44 | "alias": "Time", |
| 45 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 46 | "pattern": "Time", |
| 47 | "type": "hidden" |
| 48 | }, |
| 49 | { |
| 50 | "alias": "Status", |
| 51 | "colorMode": "cell", |
| 52 | "colors": [ |
| 53 | "rgba(245, 54, 54, 0.9)", |
| 54 | "rgba(237, 129, 40, 0.89)", |
| 55 | "rgba(50, 172, 45, 0.97)" |
| 56 | ], |
| 57 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 58 | "decimals": 2, |
| 59 | "link": false, |
| 60 | "mappingType": 1, |
| 61 | "pattern": "Value", |
| 62 | "sanitize": false, |
| 63 | "thresholds": [ |
| 64 | "0.1", |
| 65 | "1" |
| 66 | ], |
| 67 | "type": "string", |
| 68 | "unit": "short", |
| 69 | "valueMaps": [ |
| 70 | { |
| 71 | "text": "UP", |
| 72 | "value": "1" |
| 73 | }, |
| 74 | { |
| 75 | "text": "DOWN", |
| 76 | "value": "0" |
| 77 | } |
| 78 | ] |
| 79 | }, |
| 80 | { |
| 81 | "alias": "VIM ID", |
| 82 | "colorMode": null, |
| 83 | "colors": [ |
| 84 | "rgba(245, 54, 54, 0.9)", |
| 85 | "rgba(237, 129, 40, 0.89)", |
| 86 | "rgba(50, 172, 45, 0.97)" |
| 87 | ], |
| 88 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 89 | "decimals": 2, |
| 90 | "mappingType": 1, |
| 91 | "pattern": "Metric", |
| 92 | "thresholds": [], |
| 93 | "type": "number", |
| 94 | "unit": "short" |
| 95 | } |
| 96 | ], |
| 97 | "targets": [ |
| 98 | { |
| 99 | "expr": "osm_vim_status{project_id=\"$project_id\"}", |
| 100 | "format": "time_series", |
| 101 | "instant": true, |
| 102 | "interval": "", |
| 103 | "intervalFactor": 1, |
| 104 | "legendFormat": "{{vim_account_id}}", |
| 105 | "refId": "A" |
| 106 | } |
| 107 | ], |
| 108 | "timeFrom": null, |
| 109 | "timeShift": null, |
| 110 | "title": "VIM Status", |
| 111 | "transform": "timeseries_to_rows", |
| 112 | "type": "table" |
| 113 | }, |
| 114 | { |
| 115 | "columns": [], |
| 116 | "datasource": "osm_prometheus", |
| 117 | "fontSize": "100%", |
| 118 | "gridPos": { |
| 119 | "h": 5, |
| 120 | "w": 12, |
| 121 | "x": 12, |
| 122 | "y": 0 |
| 123 | }, |
| 124 | "id": 9, |
| 125 | "links": [], |
| 126 | "options": {}, |
| 127 | "pageSize": null, |
| 128 | "showHeader": true, |
| 129 | "sort": { |
| 130 | "col": 0, |
| 131 | "desc": true |
| 132 | }, |
| 133 | "styles": [ |
| 134 | { |
| 135 | "alias": "Time", |
| 136 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 137 | "pattern": "Time", |
| 138 | "type": "hidden" |
| 139 | }, |
| 140 | { |
| 141 | "alias": "Status", |
| 142 | "colorMode": "cell", |
| 143 | "colors": [ |
| 144 | "rgba(245, 54, 54, 0.9)", |
| 145 | "rgba(237, 129, 40, 0.89)", |
| 146 | "rgba(50, 172, 45, 0.97)" |
| 147 | ], |
| 148 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 149 | "decimals": 1, |
| 150 | "link": false, |
| 151 | "mappingType": 1, |
| 152 | "pattern": "Value", |
| 153 | "sanitize": false, |
| 154 | "thresholds": [ |
| 155 | "0.1", |
| 156 | "1" |
| 157 | ], |
| 158 | "type": "string", |
| 159 | "unit": "short", |
| 160 | "valueMaps": [ |
| 161 | { |
| 162 | "text": "UP", |
| 163 | "value": "1" |
| 164 | }, |
| 165 | { |
| 166 | "text": "DOWN", |
| 167 | "value": "0" |
| 168 | } |
| 169 | ] |
| 170 | }, |
| 171 | { |
| 172 | "alias": "SDN Controller ID", |
| 173 | "colorMode": null, |
| 174 | "colors": [ |
| 175 | "rgba(245, 54, 54, 0.9)", |
| 176 | "rgba(237, 129, 40, 0.89)", |
| 177 | "rgba(50, 172, 45, 0.97)" |
| 178 | ], |
| 179 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 180 | "decimals": 2, |
| 181 | "mappingType": 1, |
| 182 | "pattern": "Metric", |
| 183 | "thresholds": [], |
| 184 | "type": "number", |
| 185 | "unit": "short" |
| 186 | } |
| 187 | ], |
| 188 | "targets": [ |
| 189 | { |
| 190 | "expr": "osm_sdnc_status{project_id=\"$project_id\"}", |
| 191 | "format": "time_series", |
| 192 | "instant": true, |
| 193 | "interval": "", |
| 194 | "intervalFactor": 1, |
| 195 | "legendFormat": "{{sdnc_id}}", |
| 196 | "refId": "A" |
| 197 | } |
| 198 | ], |
| 199 | "timeFrom": null, |
| 200 | "timeShift": null, |
| 201 | "title": "SDN Controller Status", |
| 202 | "transform": "timeseries_to_rows", |
| 203 | "type": "table" |
| 204 | }, |
| 205 | { |
| 206 | "cacheTimeout": null, |
| 207 | "colorBackground": false, |
| 208 | "colorValue": true, |
| 209 | "colors": [ |
| 210 | "#d44a3a", |
| 211 | "rgba(237, 129, 40, 0.89)", |
| 212 | "#299c46" |
| 213 | ], |
| 214 | "datasource": "osm_prometheus", |
| 215 | "format": "none", |
| 216 | "gauge": { |
| 217 | "maxValue": 100, |
| 218 | "minValue": 0, |
| 219 | "show": false, |
| 220 | "thresholdLabels": false, |
| 221 | "thresholdMarkers": true |
| 222 | }, |
| 223 | "gridPos": { |
| 224 | "h": 6, |
| 225 | "w": 4, |
| 226 | "x": 0, |
| 227 | "y": 5 |
| 228 | }, |
| 229 | "id": 15, |
| 230 | "interval": null, |
| 231 | "links": [], |
| 232 | "mappingType": 1, |
| 233 | "mappingTypes": [ |
| 234 | { |
| 235 | "name": "value to text", |
| 236 | "value": 1 |
| 237 | }, |
| 238 | { |
| 239 | "name": "range to text", |
| 240 | "value": 2 |
| 241 | } |
| 242 | ], |
| 243 | "maxDataPoints": 100, |
| 244 | "nullPointMode": "connected", |
| 245 | "nullText": null, |
| 246 | "options": {}, |
| 247 | "postfix": "", |
| 248 | "postfixFontSize": "50%", |
| 249 | "prefix": "", |
| 250 | "prefixFontSize": "50%", |
| 251 | "rangeMaps": [ |
| 252 | { |
| 253 | "from": "null", |
| 254 | "text": "N/A", |
| 255 | "to": "null" |
| 256 | } |
| 257 | ], |
| 258 | "sparkline": { |
| 259 | "fillColor": "rgba(31, 118, 189, 0.18)", |
| 260 | "full": false, |
| 261 | "lineColor": "rgb(31, 120, 193)", |
| 262 | "show": false, |
| 263 | "ymax": null, |
| 264 | "ymin": null |
| 265 | }, |
| 266 | "tableColumn": "", |
| 267 | "targets": [ |
| 268 | { |
| 269 | "expr": "count(max(osm_vm_status{project_id=\"$project_id\"}) by (ns_name))", |
| 270 | "instant": true, |
| 271 | "refId": "A" |
| 272 | } |
| 273 | ], |
| 274 | "thresholds": "0.1,1000", |
| 275 | "timeFrom": null, |
| 276 | "timeShift": null, |
| 277 | "title": "Network Services", |
| 278 | "type": "singlestat", |
| 279 | "valueFontSize": "150%", |
| 280 | "valueMaps": [ |
| 281 | { |
| 282 | "op": "=", |
| 283 | "text": "N/A", |
| 284 | "value": "null" |
| 285 | } |
| 286 | ], |
| 287 | "valueName": "total" |
| 288 | }, |
| 289 | { |
| 290 | "datasource": "osm_prometheus", |
| 291 | "gridPos": { |
| 292 | "h": 6, |
| 293 | "w": 8, |
| 294 | "x": 4, |
| 295 | "y": 5 |
| 296 | }, |
| 297 | "id": 11, |
| 298 | "links": [], |
| 299 | "options": { |
| 300 | "displayMode": "gradient", |
| 301 | "fieldOptions": { |
| 302 | "calcs": [ |
| 303 | "sum" |
| 304 | ], |
| 305 | "defaults": { |
| 306 | "mappings": [], |
| 307 | "max": 100, |
| 308 | "min": 0, |
| 309 | "thresholds": [ |
| 310 | { |
| 311 | "color": "yellow", |
| 312 | "value": null |
| 313 | }, |
| 314 | { |
| 315 | "color": "red", |
| 316 | "value": 80 |
| 317 | } |
| 318 | ], |
| 319 | "title": "" |
| 320 | }, |
| 321 | "override": {}, |
| 322 | "values": true |
| 323 | }, |
| 324 | "orientation": "horizontal" |
| 325 | }, |
| 326 | "pluginVersion": "6.4.4", |
| 327 | "targets": [ |
| 328 | { |
| 329 | "expr": "count(osm_vm_status{project_id=\"$project_id\"}) by (ns_name)", |
| 330 | "format": "time_series", |
| 331 | "instant": true, |
| 332 | "interval": "", |
| 333 | "intervalFactor": 1, |
| 334 | "legendFormat": "NS {{nsr_id}}", |
| 335 | "refId": "A" |
| 336 | } |
| 337 | ], |
| 338 | "timeFrom": null, |
| 339 | "timeShift": null, |
| 340 | "title": "VDUs per NS", |
| 341 | "type": "bargauge" |
| 342 | }, |
| 343 | { |
| 344 | "columns": [], |
| 345 | "datasource": "osm_prometheus", |
| 346 | "fontSize": "100%", |
| 347 | "gridPos": { |
| 348 | "h": 6, |
| 349 | "w": 12, |
| 350 | "x": 12, |
| 351 | "y": 5 |
| 352 | }, |
| 353 | "id": 4, |
| 354 | "links": [], |
| 355 | "options": {}, |
| 356 | "pageSize": null, |
| 357 | "showHeader": true, |
| 358 | "sort": { |
| 359 | "col": 2, |
| 360 | "desc": true |
| 361 | }, |
| 362 | "styles": [ |
| 363 | { |
| 364 | "alias": "Time", |
| 365 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 366 | "pattern": "[Time]*[__name__]*[instance]*[job]*", |
| 367 | "type": "hidden" |
| 368 | }, |
| 369 | { |
| 370 | "alias": "Status", |
| 371 | "colorMode": "cell", |
| 372 | "colors": [ |
| 373 | "rgba(245, 54, 54, 0.9)", |
| 374 | "rgba(237, 129, 40, 0.89)", |
| 375 | "rgba(50, 172, 45, 0.97)" |
| 376 | ], |
| 377 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 378 | "decimals": 2, |
| 379 | "link": false, |
| 380 | "mappingType": 1, |
| 381 | "pattern": "Value", |
| 382 | "sanitize": false, |
| 383 | "thresholds": [ |
| 384 | "0.1", |
| 385 | "1" |
| 386 | ], |
| 387 | "type": "string", |
| 388 | "unit": "short", |
| 389 | "valueMaps": [ |
| 390 | { |
| 391 | "text": "UP", |
| 392 | "value": "1" |
| 393 | }, |
| 394 | { |
| 395 | "text": "DOWN", |
| 396 | "value": "0" |
| 397 | } |
| 398 | ] |
| 399 | }, |
| 400 | { |
| 401 | "alias": "", |
| 402 | "colorMode": null, |
| 403 | "colors": [ |
| 404 | "rgba(245, 54, 54, 0.9)", |
| 405 | "rgba(237, 129, 40, 0.89)", |
| 406 | "rgba(50, 172, 45, 0.97)" |
| 407 | ], |
| 408 | "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 409 | "decimals": 2, |
| 410 | "mappingType": 1, |
| 411 | "pattern": "", |
| 412 | "thresholds": [], |
| 413 | "type": "number", |
| 414 | "unit": "short" |
| 415 | }, |
| 416 | { |
| 417 | "alias": "", |
| 418 | "colorMode": null, |
| 419 | "colors": [ |
| 420 | "rgba(245, 54, 54, 0.9)", |
| 421 | "rgba(237, 129, 40, 0.89)", |
| 422 | "rgba(50, 172, 45, 0.97)" |
| 423 | ], |
| 424 | "dateFormat": "MM/DD/YY h:mm:ss a", |
| 425 | "decimals": 2, |
| 426 | "mappingType": 1, |
| 427 | "pattern": "Time", |
| 428 | "thresholds": [], |
| 429 | "type": "date", |
| 430 | "unit": "short" |
| 431 | } |
| 432 | ], |
| 433 | "targets": [ |
| 434 | { |
| 435 | "expr": "min(osm_vm_status{project_id=\"$project_id\"}) by (ns_name)", |
| 436 | "format": "table", |
| 437 | "instant": true, |
| 438 | "interval": "", |
| 439 | "intervalFactor": 1, |
| 440 | "legendFormat": "NS {{nsr_id}} - VNF {{vnf_member_index}} - VDU {{vdur_name}}", |
| 441 | "refId": "A" |
| 442 | } |
| 443 | ], |
| 444 | "timeFrom": null, |
| 445 | "timeShift": null, |
| 446 | "title": "Network Service Status (based on VM State)", |
| 447 | "transform": "table", |
| 448 | "type": "table" |
| 449 | }, |
| 450 | { |
| 451 | "aliasColors": {}, |
| 452 | "bars": false, |
| 453 | "dashLength": 10, |
| 454 | "dashes": false, |
| 455 | "datasource": "osm_prometheus", |
| 456 | "fill": 0, |
| 457 | "fillGradient": 0, |
| 458 | "gridPos": { |
| 459 | "h": 5, |
| 460 | "w": 24, |
| 461 | "x": 0, |
| 462 | "y": 11 |
| 463 | }, |
| 464 | "id": 10, |
| 465 | "legend": { |
| 466 | "alignAsTable": false, |
| 467 | "avg": false, |
| 468 | "current": true, |
| 469 | "max": false, |
| 470 | "min": false, |
| 471 | "rightSide": true, |
| 472 | "show": false, |
| 473 | "sort": "current", |
| 474 | "sortDesc": false, |
| 475 | "total": false, |
| 476 | "values": true |
| 477 | }, |
| 478 | "lines": true, |
| 479 | "linewidth": 1, |
| 480 | "links": [], |
| 481 | "nullPointMode": "null", |
| 482 | "options": { |
| 483 | "dataLinks": [] |
| 484 | }, |
| 485 | "percentage": false, |
| 486 | "pointradius": 1, |
| 487 | "points": true, |
| 488 | "renderer": "flot", |
| 489 | "seriesOverrides": [], |
| 490 | "spaceLength": 10, |
| 491 | "stack": false, |
| lavado | 7a856f5 | 2019-12-06 08:53:40 -0500 | [diff] [blame] | 492 | "steppedLine": true, |
| lavado | 456d0f3 | 2019-11-15 17:04:02 -0500 | [diff] [blame] | 493 | "targets": [ |
| 494 | { |
| 495 | "expr": "osm_vm_status{project_id=\"$project_id\"}", |
| 496 | "format": "time_series", |
| 497 | "instant": false, |
| 498 | "interval": "", |
| 499 | "intervalFactor": 1, |
| 500 | "legendFormat": "{{nsr_id}} - {{vdur_name}}", |
| 501 | "refId": "A" |
| 502 | } |
| 503 | ], |
| 504 | "thresholds": [], |
| 505 | "timeFrom": null, |
| 506 | "timeRegions": [], |
| 507 | "timeShift": null, |
| 508 | "title": "VDU Status over time", |
| 509 | "tooltip": { |
| 510 | "shared": true, |
| 511 | "sort": 1, |
| 512 | "value_type": "individual" |
| 513 | }, |
| 514 | "type": "graph", |
| 515 | "xaxis": { |
| 516 | "buckets": null, |
| 517 | "mode": "time", |
| 518 | "name": null, |
| 519 | "show": true, |
| 520 | "values": [] |
| 521 | }, |
| 522 | "yaxes": [ |
| 523 | { |
| 524 | "decimals": 0, |
| 525 | "format": "none", |
| 526 | "label": "Status", |
| 527 | "logBase": 1, |
| 528 | "max": "1", |
| 529 | "min": "0", |
| 530 | "show": true |
| 531 | }, |
| 532 | { |
| 533 | "format": "none", |
| 534 | "label": "", |
| 535 | "logBase": 1, |
| 536 | "max": null, |
| 537 | "min": null, |
| 538 | "show": false |
| 539 | } |
| 540 | ], |
| 541 | "yaxis": { |
| 542 | "align": false, |
| 543 | "alignLevel": null |
| 544 | } |
| 545 | } |
| 546 | ], |
| 547 | "refresh": "5s", |
| 548 | "schemaVersion": 20, |
| 549 | "style": "dark", |
| lavado | e304bb8 | 2020-03-20 16:59:41 -0500 | [diff] [blame] | 550 | "tags": ["osm_automated"], |
| lavado | 456d0f3 | 2019-11-15 17:04:02 -0500 | [diff] [blame] | 551 | "templating": { |
| 552 | "list": [ |
| 553 | { |
| 554 | "current": { |
| 555 | "text": "OSM_ID", |
| 556 | "value": "OSM_ID" |
| 557 | }, |
| 558 | "hide": 2, |
| 559 | "label": "Project ID", |
| 560 | "name": "project_id", |
| 561 | "options": [ |
| 562 | { |
| 563 | "selected": true, |
| 564 | "text": "OSM_ID", |
| 565 | "value": "OSM_ID" |
| 566 | } |
| 567 | ], |
| 568 | "query": "OSM_ID", |
| 569 | "skipUrlSync": false, |
| 570 | "type": "constant" |
| 571 | } |
| 572 | ] |
| 573 | }, |
| 574 | "time": { |
| 575 | "from": "now-5m", |
| 576 | "to": "now" |
| 577 | }, |
| 578 | "timepicker": { |
| 579 | "refresh_intervals": [ |
| 580 | "5s", |
| 581 | "10s", |
| 582 | "30s", |
| 583 | "1m", |
| 584 | "5m", |
| 585 | "15m", |
| 586 | "30m", |
| 587 | "1h", |
| 588 | "2h", |
| 589 | "1d" |
| 590 | ], |
| 591 | "time_options": [ |
| 592 | "5m", |
| 593 | "15m", |
| 594 | "1h", |
| 595 | "6h", |
| 596 | "12h", |
| 597 | "24h", |
| 598 | "2d", |
| 599 | "7d", |
| 600 | "30d" |
| 601 | ] |
| 602 | }, |
| 603 | "timezone": "", |
| 604 | "title": "OSM Project Status - OSM_NAME", |
| 605 | "uid": "OSM_ID", |
| 606 | "version": 2 |
| 607 | } |
| 608 | } |