mirror of
https://github.com/fluxcd/flux2-monitoring-example.git
synced 2024-12-14 10:47:31 +00:00
Merge pull request #13 from knutgoetz/refactor/use-filter-transformation-in-dashboards
Filter labels explicitly in table panels of cluster dashboard
This commit is contained in:
commit
b99583d361
1 changed files with 63 additions and 47 deletions
|
@ -557,32 +557,32 @@
|
||||||
"id": "organize",
|
"id": "organize",
|
||||||
"options": {
|
"options": {
|
||||||
"excludeByName": {
|
"excludeByName": {
|
||||||
"Time": true,
|
"Time": false,
|
||||||
"Value": true,
|
"Value": false,
|
||||||
"__name__": true,
|
"__name__": false,
|
||||||
"app": true,
|
"app": false,
|
||||||
"chart_name": true,
|
"chart_name": false,
|
||||||
"chart_source_name": true,
|
"chart_source_name": false,
|
||||||
"container": true,
|
"container": false,
|
||||||
"customresource_group": true,
|
"customresource_group": false,
|
||||||
"customresource_kind": false,
|
"customresource_kind": false,
|
||||||
"customresource_version": true,
|
"customresource_version": false,
|
||||||
"endpoint": true,
|
"endpoint": false,
|
||||||
"exported_namespace": false,
|
"exported_namespace": false,
|
||||||
"gotk_type": true,
|
"gotk_type": false,
|
||||||
"instance": true,
|
"instance": false,
|
||||||
"job": true,
|
"job": false,
|
||||||
"kubernetes_namespace": true,
|
"kubernetes_namespace": false,
|
||||||
"kubernetes_pod_name": true,
|
"kubernetes_pod_name": false,
|
||||||
"namespace": true,
|
"namespace": false,
|
||||||
"pod": true,
|
"pod": false,
|
||||||
"pod_template_hash": true,
|
"pod_template_hash": false,
|
||||||
"revision": true,
|
"revision": false,
|
||||||
"service": true,
|
"service": false,
|
||||||
"source_name": true,
|
"source_name": false,
|
||||||
"status": true,
|
"status": false,
|
||||||
"suspended": true,
|
"suspended": false,
|
||||||
"type": true
|
"type": false
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
"Time": 0,
|
||||||
|
@ -612,6 +612,14 @@
|
||||||
"ready": "Status"
|
"ready": "Status"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"include": {
|
||||||
|
"pattern": "(Namespace|Kind|Name|Status)"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "table"
|
"type": "table"
|
||||||
|
@ -747,32 +755,32 @@
|
||||||
"id": "organize",
|
"id": "organize",
|
||||||
"options": {
|
"options": {
|
||||||
"excludeByName": {
|
"excludeByName": {
|
||||||
"Time": true,
|
"Time": false,
|
||||||
"Value": true,
|
"Value": false,
|
||||||
"__name__": true,
|
"__name__": false,
|
||||||
"app": true,
|
"app": false,
|
||||||
"bucket_name": true,
|
"bucket_name": false,
|
||||||
"container": true,
|
"container": false,
|
||||||
"customresource_group": true,
|
"customresource_group": false,
|
||||||
"customresource_kind": false,
|
"customresource_kind": false,
|
||||||
"customresource_version": true,
|
"customresource_version": false,
|
||||||
"endpoint": true,
|
"endpoint": false,
|
||||||
"exported_namespace": false,
|
"exported_namespace": false,
|
||||||
"gotk_type": true,
|
"gotk_type": false,
|
||||||
"instance": true,
|
"instance": false,
|
||||||
"job": true,
|
"job": false,
|
||||||
"kubernetes_namespace": true,
|
"kubernetes_namespace": false,
|
||||||
"kubernetes_pod_name": true,
|
"kubernetes_pod_name": false,
|
||||||
"namespace": true,
|
"namespace": false,
|
||||||
"pod": true,
|
"pod": false,
|
||||||
"pod_template_hash": true,
|
"pod_template_hash": false,
|
||||||
"ready": false,
|
"ready": false,
|
||||||
"revision": true,
|
"revision": false,
|
||||||
"service": true,
|
"service": false,
|
||||||
"status": true,
|
"status": false,
|
||||||
"suspended": true,
|
"suspended": false,
|
||||||
"type": true,
|
"type": false,
|
||||||
"url": true
|
"url": false
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
"Time": 0,
|
||||||
|
@ -802,6 +810,14 @@
|
||||||
"ready": "Status"
|
"ready": "Status"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"include": {
|
||||||
|
"pattern": "(Namespace|Kind|Name|Status)"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "table"
|
"type": "table"
|
||||||
|
|
Loading…
Reference in a new issue