Skip to content

Commit

Permalink
Merge pull request #13 from knutgoetz/refactor/use-filter-transformat…
Browse files Browse the repository at this point in the history
…ion-in-dashboards

Filter labels explicitly in table panels of cluster dashboard
  • Loading branch information
darkowlzz authored Nov 1, 2023
2 parents eb3bb8d + ea8545f commit b99583d
Showing 1 changed file with 63 additions and 47 deletions.
110 changes: 63 additions & 47 deletions monitoring/configs/dashboards/cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,32 +557,32 @@
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"app": true,
"chart_name": true,
"chart_source_name": true,
"container": true,
"customresource_group": true,
"Time": false,
"Value": false,
"__name__": false,
"app": false,
"chart_name": false,
"chart_source_name": false,
"container": false,
"customresource_group": false,
"customresource_kind": false,
"customresource_version": true,
"endpoint": true,
"customresource_version": false,
"endpoint": false,
"exported_namespace": false,
"gotk_type": true,
"instance": true,
"job": true,
"kubernetes_namespace": true,
"kubernetes_pod_name": true,
"namespace": true,
"pod": true,
"pod_template_hash": true,
"revision": true,
"service": true,
"source_name": true,
"status": true,
"suspended": true,
"type": true
"gotk_type": false,
"instance": false,
"job": false,
"kubernetes_namespace": false,
"kubernetes_pod_name": false,
"namespace": false,
"pod": false,
"pod_template_hash": false,
"revision": false,
"service": false,
"source_name": false,
"status": false,
"suspended": false,
"type": false
},
"indexByName": {
"Time": 0,
Expand Down Expand Up @@ -612,6 +612,14 @@
"ready": "Status"
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "(Namespace|Kind|Name|Status)"
}
}
}
],
"type": "table"
Expand Down Expand Up @@ -747,32 +755,32 @@
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"app": true,
"bucket_name": true,
"container": true,
"customresource_group": true,
"Time": false,
"Value": false,
"__name__": false,
"app": false,
"bucket_name": false,
"container": false,
"customresource_group": false,
"customresource_kind": false,
"customresource_version": true,
"endpoint": true,
"customresource_version": false,
"endpoint": false,
"exported_namespace": false,
"gotk_type": true,
"instance": true,
"job": true,
"kubernetes_namespace": true,
"kubernetes_pod_name": true,
"namespace": true,
"pod": true,
"pod_template_hash": true,
"gotk_type": false,
"instance": false,
"job": false,
"kubernetes_namespace": false,
"kubernetes_pod_name": false,
"namespace": false,
"pod": false,
"pod_template_hash": false,
"ready": false,
"revision": true,
"service": true,
"status": true,
"suspended": true,
"type": true,
"url": true
"revision": false,
"service": false,
"status": false,
"suspended": false,
"type": false,
"url": false
},
"indexByName": {
"Time": 0,
Expand Down Expand Up @@ -802,6 +810,14 @@
"ready": "Status"
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "(Namespace|Kind|Name|Status)"
}
}
}
],
"type": "table"
Expand Down

0 comments on commit b99583d

Please sign in to comment.