Skip to content

Commit 85cd69a

Browse files
committed
add module status to fleet inventory
1 parent 6c4c18b commit 85cd69a

File tree

1 file changed

+144
-8
lines changed

1 file changed

+144
-8
lines changed

services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json

Lines changed: 144 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "grafana",
1616
"id": "grafana",
1717
"name": "Grafana",
18-
"version": "11.2.0"
18+
"version": "11.5.1"
1919
},
2020
{
2121
"type": "panel",
@@ -107,11 +107,13 @@
107107
"values": false
108108
},
109109
"tooltip": {
110+
"hideZeros": false,
110111
"maxHeight": 600,
111112
"mode": "single",
112113
"sort": "none"
113114
}
114115
},
116+
"pluginVersion": "11.5.1",
115117
"targets": [
116118
{
117119
"datasource": {
@@ -172,11 +174,13 @@
172174
"values": false
173175
},
174176
"tooltip": {
177+
"hideZeros": false,
175178
"maxHeight": 600,
176179
"mode": "single",
177180
"sort": "none"
178181
}
179182
},
183+
"pluginVersion": "11.5.1",
180184
"targets": [
181185
{
182186
"datasource": {
@@ -237,11 +241,13 @@
237241
"values": false
238242
},
239243
"tooltip": {
244+
"hideZeros": false,
240245
"maxHeight": 600,
241246
"mode": "single",
242247
"sort": "none"
243248
}
244249
},
250+
"pluginVersion": "11.5.1",
245251
"targets": [
246252
{
247253
"datasource": {
@@ -334,11 +340,13 @@
334340
"showLegend": true
335341
},
336342
"tooltip": {
343+
"hideZeros": false,
337344
"maxHeight": 600,
338345
"mode": "single",
339346
"sort": "none"
340347
}
341348
},
349+
"pluginVersion": "11.5.1",
342350
"targets": [
343351
{
344352
"datasource": {
@@ -356,6 +364,136 @@
356364
"title": "Online Inventory By Version",
357365
"type": "timeseries"
358366
},
367+
{
368+
"datasource": {
369+
"type": "prometheus",
370+
"uid": "${datasource}"
371+
},
372+
"fieldConfig": {
373+
"defaults": {
374+
"color": {
375+
"mode": "thresholds"
376+
},
377+
"custom": {
378+
"align": "auto",
379+
"cellOptions": {
380+
"type": "color-text"
381+
},
382+
"filterable": false,
383+
"inspect": false
384+
},
385+
"mappings": [
386+
{
387+
"options": {
388+
"0": {
389+
"color": "#434344",
390+
"index": 0,
391+
"text": "Disabled"
392+
},
393+
"1": {
394+
"color": "dark-green",
395+
"index": 1,
396+
"text": "Enabled"
397+
}
398+
},
399+
"type": "value"
400+
}
401+
],
402+
"thresholds": {
403+
"mode": "absolute",
404+
"steps": [
405+
{
406+
"color": "green",
407+
"value": null
408+
},
409+
{
410+
"color": "#EAB839",
411+
"value": 1
412+
}
413+
]
414+
}
415+
},
416+
"overrides": [
417+
{
418+
"matcher": {
419+
"id": "byName",
420+
"options": "Device"
421+
},
422+
"properties": [
423+
{
424+
"id": "color",
425+
"value": {
426+
"fixedColor": "text",
427+
"mode": "fixed"
428+
}
429+
}
430+
]
431+
}
432+
]
433+
},
434+
"gridPos": {
435+
"h": 8,
436+
"w": 24,
437+
"x": 0,
438+
"y": 8
439+
},
440+
"id": 6,
441+
"options": {
442+
"cellHeight": "sm",
443+
"footer": {
444+
"countRows": false,
445+
"fields": "",
446+
"reducer": [
447+
"sum"
448+
],
449+
"show": false
450+
},
451+
"showHeader": true,
452+
"sortBy": []
453+
},
454+
"pluginVersion": "11.5.1",
455+
"targets": [
456+
{
457+
"editorMode": "code",
458+
"exemplar": false,
459+
"expr": "f5_module_provision_generation{level!=\"none\"}",
460+
"format": "table",
461+
"instant": true,
462+
"legendFormat": "__auto",
463+
"range": false,
464+
"refId": "A",
465+
"datasource": {
466+
"type": "prometheus",
467+
"uid": "${datasource}"
468+
}
469+
}
470+
],
471+
"title": "Module Status",
472+
"transformations": [
473+
{
474+
"id": "groupingToMatrix",
475+
"options": {
476+
"columnField": "f5_module_name",
477+
"emptyValue": "zero",
478+
"rowField": "job",
479+
"valueField": "Value"
480+
}
481+
},
482+
{
483+
"id": "organize",
484+
"options": {
485+
"excludeByName": {},
486+
"includeByName": {},
487+
"indexByName": {},
488+
"renameByName": {
489+
"asm": "",
490+
"job\\f5_module_name": "Device"
491+
}
492+
}
493+
}
494+
],
495+
"type": "table"
496+
},
359497
{
360498
"datasource": {
361499
"default": false,
@@ -401,7 +539,7 @@
401539
"h": 16,
402540
"w": 24,
403541
"x": 0,
404-
"y": 8
542+
"y": 16
405543
},
406544
"id": 1,
407545
"options": {
@@ -416,7 +554,7 @@
416554
},
417555
"showHeader": true
418556
},
419-
"pluginVersion": "11.2.0",
557+
"pluginVersion": "11.5.1",
420558
"targets": [
421559
{
422560
"datasource": {
@@ -529,22 +667,20 @@
529667
"type": "table"
530668
}
531669
],
532-
"schemaVersion": 39,
670+
"refresh": "",
671+
"schemaVersion": 40,
533672
"tags": [],
534673
"templating": {
535674
"list": [
536675
{
537676
"current": {},
538-
"hide": 0,
539677
"includeAll": false,
540678
"label": "Prometheus",
541-
"multi": false,
542679
"name": "datasource",
543680
"options": [],
544681
"query": "prometheus",
545682
"refresh": 1,
546683
"regex": "",
547-
"skipUrlSync": false,
548684
"type": "datasource"
549685
}
550686
]
@@ -557,6 +693,6 @@
557693
"timezone": "browser",
558694
"title": "Fleet Inventory",
559695
"uid": "bdpz4za42wnb4a",
560-
"version": 6,
696+
"version": 2,
561697
"weekStart": ""
562698
}

0 commit comments

Comments
 (0)