[grafana dashboard] display exported namespace, slight resizing, default sorting by state

Signed-off-by: Cristian Chiru <cristi.chiru@gmail.com>
pull/2727/head
Cristian Chiru 3 years ago
parent b1ac3a26f4
commit 38c62d46c7

@ -15,7 +15,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1636369574387, "iteration": 1652337714814,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -290,6 +290,8 @@
"id": 8, "id": 8,
"options": { "options": {
"displayMode": "gradient", "displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal", "orientation": "horizontal",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
@ -352,6 +354,8 @@
"id": 31, "id": 31,
"options": { "options": {
"displayMode": "gradient", "displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal", "orientation": "horizontal",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
@ -398,25 +402,21 @@
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": { "custom": {
"align": null, "displayMode": "auto",
"filterable": true "filterable": true,
"inspect": false
}, },
"mappings": [ "mappings": [
{ {
"from": "", "options": {
"id": 1, "0": {
"text": "Ready", "text": "Ready"
"to": "", },
"type": 1, "1": {
"value": "0" "text": "Not Ready"
}, }
{ },
"from": "", "type": "value"
"id": 2,
"text": "Not Ready",
"to": "",
"type": 1,
"value": "1"
} }
], ],
"thresholds": { "thresholds": {
@ -453,14 +453,27 @@
] ]
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 11,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 10 "y": 10
}, },
"id": 33, "id": 33,
"options": { "options": {
"showHeader": true "footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Status"
}
]
}, },
"pluginVersion": "7.5.5", "pluginVersion": "7.5.5",
"targets": [ "targets": [
@ -487,11 +500,12 @@
"app": true, "app": true,
"container": true, "container": true,
"endpoint": true, "endpoint": true,
"exported_namespace": true, "exported_namespace": false,
"instance": true, "instance": true,
"job": true, "job": true,
"kubernetes_namespace": true, "kubernetes_namespace": true,
"kubernetes_pod_name": true, "kubernetes_pod_name": true,
"namespace": true,
"pod": true, "pod": true,
"pod_template_hash": true, "pod_template_hash": true,
"status": true, "status": true,
@ -500,9 +514,10 @@
"indexByName": {}, "indexByName": {},
"renameByName": { "renameByName": {
"Value": "Status", "Value": "Status",
"exported_namespace": "Namespace",
"kind": "Kind", "kind": "Kind",
"name": "Name", "name": "Name",
"namespace": "Namespace" "namespace": "Operator Namespace"
} }
} }
} }
@ -515,25 +530,21 @@
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": { "custom": {
"align": null, "displayMode": "auto",
"filterable": true "filterable": true,
"inspect": false
}, },
"mappings": [ "mappings": [
{ {
"from": "", "options": {
"id": 1, "0": {
"text": "Ready", "text": "Ready"
"to": "", },
"type": 1, "1": {
"value": "0" "text": "Not Ready"
}, }
{ },
"from": "", "type": "value"
"id": 2,
"text": "Not Ready",
"to": "",
"type": 1,
"value": "1"
} }
], ],
"thresholds": { "thresholds": {
@ -570,14 +581,27 @@
] ]
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 11,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 10 "y": 10
}, },
"id": 34, "id": 34,
"options": { "options": {
"showHeader": true "footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Status"
}
]
}, },
"pluginVersion": "7.5.5", "pluginVersion": "7.5.5",
"targets": [ "targets": [
@ -604,11 +628,12 @@
"app": true, "app": true,
"container": true, "container": true,
"endpoint": true, "endpoint": true,
"exported_namespace": true, "exported_namespace": false,
"instance": true, "instance": true,
"job": true, "job": true,
"kubernetes_namespace": true, "kubernetes_namespace": true,
"kubernetes_pod_name": true, "kubernetes_pod_name": true,
"namespace": true,
"pod": true, "pod": true,
"pod_template_hash": true, "pod_template_hash": true,
"status": true, "status": true,
@ -617,9 +642,10 @@
"indexByName": {}, "indexByName": {},
"renameByName": { "renameByName": {
"Value": "Status", "Value": "Status",
"exported_namespace": "Namespace",
"kind": "Kind", "kind": "Kind",
"name": "Name", "name": "Name",
"namespace": "Namespace" "namespace": "Operator Namespace"
} }
} }
} }
@ -633,7 +659,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 18 "y": 21
}, },
"id": 17, "id": 17,
"panels": [], "panels": [],
@ -657,7 +683,7 @@
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 19 "y": 22
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 27, "id": 27,
@ -757,7 +783,7 @@
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 27 "y": 30
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 35, "id": 35,
@ -841,34 +867,14 @@
} }
} }
], ],
"refresh": "", "refresh": "30s",
"schemaVersion": 27, "schemaVersion": 36,
"style": "light", "style": "light",
"tags": [ "tags": [
"flux" "flux"
], ],
"templating": { "templating": {
"list": [ "list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{ {
"allValue": "", "allValue": "",
"current": { "current": {
@ -916,7 +922,7 @@
"$__all" "$__all"
] ]
}, },
"datasource": null, "datasource": "$DS_PROMETHEUS",
"definition": "label_values(gotk_reconcile_condition, exported_namespace)", "definition": "label_values(gotk_reconcile_condition, exported_namespace)",
"description": null, "description": null,
"error": null, "error": null,
@ -939,6 +945,24 @@
"tagsQuery": "", "tagsQuery": "",
"type": "query", "type": "query",
"useTags": false "useTags": false
},
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
} }
] ]
}, },
@ -959,8 +983,7 @@
"1d" "1d"
] ]
}, },
"timezone": "",
"title": "Flux Cluster Stats", "title": "Flux Cluster Stats",
"uid": "flux-cluster", "uid": "flux-cluster",
"version": 1 "version": 3
} }

Loading…
Cancel
Save