blob: 49455e72b68a7889db424decd93f975fcd571a85 [file] [log] [blame]
lavado456d0f32019-11-15 17:04:02 -05001{
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,
Rahul Zamreb132dd42024-05-14 12:12:46 +0100104 "legendFormat": " {{vim_name}} / {{vim_account_id}}",
lavado456d0f32019-11-15 17:04:02 -0500105 "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"
Rahul Zamreb132dd42024-05-14 12:12:46 +0100272 },
273 {
274 "expr": "count(max(vm_status_extended{project_id=\"$project_id\"}) by (ns_name))",
275 "instant": true,
276 "refId": "B"
lavado456d0f32019-11-15 17:04:02 -0500277 }
278 ],
279 "thresholds": "0.1,1000",
280 "timeFrom": null,
281 "timeShift": null,
282 "title": "Network Services",
283 "type": "singlestat",
284 "valueFontSize": "150%",
285 "valueMaps": [
286 {
287 "op": "=",
288 "text": "N/A",
289 "value": "null"
290 }
291 ],
292 "valueName": "total"
293 },
294 {
295 "datasource": "osm_prometheus",
296 "gridPos": {
297 "h": 6,
298 "w": 8,
299 "x": 4,
300 "y": 5
301 },
302 "id": 11,
303 "links": [],
304 "options": {
305 "displayMode": "gradient",
306 "fieldOptions": {
307 "calcs": [
308 "sum"
309 ],
310 "defaults": {
311 "mappings": [],
312 "max": 100,
313 "min": 0,
314 "thresholds": [
315 {
316 "color": "yellow",
317 "value": null
318 },
319 {
320 "color": "red",
321 "value": 80
322 }
323 ],
324 "title": ""
325 },
326 "override": {},
327 "values": true
328 },
329 "orientation": "horizontal"
330 },
331 "pluginVersion": "6.4.4",
332 "targets": [
333 {
334 "expr": "count(osm_vm_status{project_id=\"$project_id\"}) by (ns_name)",
335 "format": "time_series",
336 "instant": true,
337 "interval": "",
338 "intervalFactor": 1,
339 "legendFormat": "NS {{nsr_id}}",
340 "refId": "A"
Rahul Zamreb132dd42024-05-14 12:12:46 +0100341 },
342 {
343 "expr": "count(vm_status_extended{project_id=\"$project_id\"}) by (ns_name)",
344 "format": "time_series",
345 "instant": true,
346 "interval": "",
347 "intervalFactor": 1,
348 "legendFormat": "NS {{ns_name}}",
349 "refId": "B"
lavado456d0f32019-11-15 17:04:02 -0500350 }
351 ],
352 "timeFrom": null,
353 "timeShift": null,
354 "title": "VDUs per NS",
355 "type": "bargauge"
356 },
357 {
358 "columns": [],
359 "datasource": "osm_prometheus",
360 "fontSize": "100%",
361 "gridPos": {
362 "h": 6,
363 "w": 12,
364 "x": 12,
365 "y": 5
366 },
367 "id": 4,
368 "links": [],
369 "options": {},
370 "pageSize": null,
371 "showHeader": true,
372 "sort": {
373 "col": 2,
374 "desc": true
375 },
376 "styles": [
377 {
378 "alias": "Time",
379 "dateFormat": "YYYY-MM-DD HH:mm:ss",
380 "pattern": "[Time]*[__name__]*[instance]*[job]*",
381 "type": "hidden"
382 },
383 {
384 "alias": "Status",
385 "colorMode": "cell",
386 "colors": [
387 "rgba(245, 54, 54, 0.9)",
388 "rgba(237, 129, 40, 0.89)",
389 "rgba(50, 172, 45, 0.97)"
390 ],
391 "dateFormat": "YYYY-MM-DD HH:mm:ss",
392 "decimals": 2,
393 "link": false,
394 "mappingType": 1,
395 "pattern": "Value",
396 "sanitize": false,
397 "thresholds": [
398 "0.1",
399 "1"
400 ],
401 "type": "string",
402 "unit": "short",
403 "valueMaps": [
404 {
405 "text": "UP",
406 "value": "1"
407 },
408 {
409 "text": "DOWN",
410 "value": "0"
411 }
412 ]
413 },
414 {
415 "alias": "",
416 "colorMode": null,
417 "colors": [
418 "rgba(245, 54, 54, 0.9)",
419 "rgba(237, 129, 40, 0.89)",
420 "rgba(50, 172, 45, 0.97)"
421 ],
422 "dateFormat": "YYYY-MM-DD HH:mm:ss",
423 "decimals": 2,
424 "mappingType": 1,
425 "pattern": "",
426 "thresholds": [],
427 "type": "number",
428 "unit": "short"
429 },
430 {
431 "alias": "",
432 "colorMode": null,
433 "colors": [
434 "rgba(245, 54, 54, 0.9)",
435 "rgba(237, 129, 40, 0.89)",
436 "rgba(50, 172, 45, 0.97)"
437 ],
438 "dateFormat": "MM/DD/YY h:mm:ss a",
439 "decimals": 2,
440 "mappingType": 1,
441 "pattern": "Time",
442 "thresholds": [],
443 "type": "date",
444 "unit": "short"
445 }
446 ],
447 "targets": [
448 {
449 "expr": "min(osm_vm_status{project_id=\"$project_id\"}) by (ns_name)",
450 "format": "table",
451 "instant": true,
452 "interval": "",
453 "intervalFactor": 1,
454 "legendFormat": "NS {{nsr_id}} - VNF {{vnf_member_index}} - VDU {{vdur_name}}",
455 "refId": "A"
Rahul Zamreb132dd42024-05-14 12:12:46 +0100456 },
457 {
458 "expr": "min(vm_status_extended{project_id=\"$project_id\"}) by (ns_name)",
459 "format": "table",
460 "instant": true,
461 "interval": "",
462 "intervalFactor": 1,
463 "legendFormat": "NS {{ns_name}} - VNF {{vnf_member_index}} - VDU {{vdu_name}}",
464 "refId": "B"
lavado456d0f32019-11-15 17:04:02 -0500465 }
466 ],
467 "timeFrom": null,
468 "timeShift": null,
469 "title": "Network Service Status (based on VM State)",
470 "transform": "table",
471 "type": "table"
472 },
473 {
474 "aliasColors": {},
475 "bars": false,
476 "dashLength": 10,
477 "dashes": false,
478 "datasource": "osm_prometheus",
479 "fill": 0,
480 "fillGradient": 0,
481 "gridPos": {
482 "h": 5,
483 "w": 24,
484 "x": 0,
485 "y": 11
486 },
487 "id": 10,
488 "legend": {
489 "alignAsTable": false,
490 "avg": false,
491 "current": true,
492 "max": false,
493 "min": false,
494 "rightSide": true,
495 "show": false,
496 "sort": "current",
497 "sortDesc": false,
498 "total": false,
499 "values": true
500 },
501 "lines": true,
502 "linewidth": 1,
503 "links": [],
504 "nullPointMode": "null",
505 "options": {
506 "dataLinks": []
507 },
508 "percentage": false,
509 "pointradius": 1,
510 "points": true,
511 "renderer": "flot",
512 "seriesOverrides": [],
513 "spaceLength": 10,
514 "stack": false,
lavado7a856f52019-12-06 08:53:40 -0500515 "steppedLine": true,
lavado456d0f32019-11-15 17:04:02 -0500516 "targets": [
517 {
518 "expr": "osm_vm_status{project_id=\"$project_id\"}",
519 "format": "time_series",
520 "instant": false,
521 "interval": "",
522 "intervalFactor": 1,
523 "legendFormat": "{{nsr_id}} - {{vdur_name}}",
524 "refId": "A"
Rahul Zamreb132dd42024-05-14 12:12:46 +0100525 },
526 {
527 "expr": "vm_status_extended{project_id=\"$project_id\"}",
528 "format": "time_series",
529 "instant": false,
530 "interval": "",
531 "intervalFactor": 1,
532 "legendFormat": "{{nsr_id}} - {{vdu_name}}",
533 "refId": "B"
lavado456d0f32019-11-15 17:04:02 -0500534 }
535 ],
536 "thresholds": [],
537 "timeFrom": null,
538 "timeRegions": [],
539 "timeShift": null,
540 "title": "VDU Status over time",
541 "tooltip": {
542 "shared": true,
543 "sort": 1,
544 "value_type": "individual"
545 },
546 "type": "graph",
547 "xaxis": {
548 "buckets": null,
549 "mode": "time",
550 "name": null,
551 "show": true,
552 "values": []
553 },
554 "yaxes": [
555 {
556 "decimals": 0,
557 "format": "none",
558 "label": "Status",
559 "logBase": 1,
560 "max": "1",
561 "min": "0",
562 "show": true
563 },
564 {
565 "format": "none",
566 "label": "",
567 "logBase": 1,
568 "max": null,
569 "min": null,
570 "show": false
571 }
572 ],
573 "yaxis": {
574 "align": false,
575 "alignLevel": null
576 }
577 }
578 ],
579 "refresh": "5s",
580 "schemaVersion": 20,
581 "style": "dark",
lavadoe304bb82020-03-20 16:59:41 -0500582 "tags": ["osm_automated"],
lavado456d0f32019-11-15 17:04:02 -0500583 "templating": {
584 "list": [
585 {
586 "current": {
587 "text": "OSM_ID",
588 "value": "OSM_ID"
589 },
590 "hide": 2,
591 "label": "Project ID",
592 "name": "project_id",
593 "options": [
594 {
595 "selected": true,
596 "text": "OSM_ID",
597 "value": "OSM_ID"
598 }
599 ],
600 "query": "OSM_ID",
601 "skipUrlSync": false,
602 "type": "constant"
603 }
604 ]
605 },
606 "time": {
607 "from": "now-5m",
608 "to": "now"
609 },
610 "timepicker": {
611 "refresh_intervals": [
612 "5s",
613 "10s",
614 "30s",
615 "1m",
616 "5m",
617 "15m",
618 "30m",
619 "1h",
620 "2h",
621 "1d"
622 ],
623 "time_options": [
624 "5m",
625 "15m",
626 "1h",
627 "6h",
628 "12h",
629 "24h",
630 "2d",
631 "7d",
632 "30d"
633 ]
634 },
635 "timezone": "",
636 "title": "OSM Project Status - OSM_NAME",
637 "uid": "OSM_ID",
638 "version": 2
639}
640}