Skip to content

Commit

Permalink
Merge pull request #904 from skl/skl/grafana11-multi-cluster
Browse files Browse the repository at this point in the history
fix(dashboards): Port multi-cluster dashboard to new grafonnet library
  • Loading branch information
povilasv authored Apr 9, 2024
2 parents 346bef2 + 31ff388 commit b247371
Show file tree
Hide file tree
Showing 2 changed files with 319 additions and 118 deletions.
46 changes: 23 additions & 23 deletions config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,29 @@

// Grafana dashboard IDs are necessary for stable links for dashboards
grafanaDashboardIDs: {
'k8s-resources-multicluster.json': '1gBgaexoVZ4TpBNAt2eGRsc4LNjNhdjcZd6cqU6S',
'k8s-resources-cluster.json': 'ZnbvYbcXkob7GLqcDPLTj1ZL4MRX87tOh8xdr831',
'k8s-resources-namespace.json': 'XaY4UCP3J51an4ikqtkUGBSjLpDW4pg39xe2FuxP',
'k8s-resources-pod.json': 'wU56sdGSNYZTL3eO0db3pONtVmTvsyV7w8aadbYF',
'k8s-multicluster-rsrc-use.json': 'NJ9AlnsObVgj9uKiJMeAqfzMi1wihOMupcsDhlhR',
'k8s-cluster-rsrc-use.json': 'uXQldxzqUNgIOUX6FyZNvqgP2vgYb78daNu4GiDc',
'k8s-node-rsrc-use.json': 'E577CMUOwmPsxVVqM9lj40czM1ZPjclw7hGa7OT7',
'nodes.json': 'kcb9C2QDe4IYcjiTOmYyfhsImuzxRcvwWC3YLJPS',
'persistentvolumesusage.json': 'AhCeikee0xoa6faec0Weep2nee6shaiquigahw8b',
'pods.json': 'AMK9hS0rSbSz7cKjPHcOtk6CGHFjhSHwhbQ3sedK',
'statefulset.json': 'dPiBt0FRG5BNYo0XJ4L0Meoc7DWs9eL40c1CRc1g',
'k8s-resources-windows-cluster.json': '4d08557fd9391b100730f2494bccac68',
'k8s-resources-windows-namespace.json': '490b402361724ab1d4c45666c1fa9b6f',
'k8s-resources-windows-pod.json': '40597a704a610e936dc6ed374a7ce023',
'k8s-windows-cluster-rsrc-use.json': '53a43377ec9aaf2ff64dfc7a1f539334',
'k8s-windows-node-rsrc-use.json': '96e7484b0bb53b74fbc2bcb7723cd40b',
'k8s-resources-workloads-namespace.json': 'L29WgMrccBDauPs3Xsti3fwaKjMB6fReufWj6Gl1',
'k8s-resources-workload.json': 'hZCNbUPfUqjc95N3iumVsaEVHXzaBr3IFKRFvUJf',
'apiserver.json': 'eswbt59QCroA3XLdKFvdOHlKB8Iks3h7d2ohstxr',
'controller-manager.json': '5g73oHG0pCRz4X1t6gNYouVUv9urrQd4wCdHR2mI',
'scheduler.json': '4uMPZ9jmwvYJcM5fcNcNrrt9Sf6ufQL4IKFri2Gp',
'proxy.json': 'hhT4orXD1Ott4U1bNNps0R26EHTwMypdcaCjDRPM',
'kubelet.json': 'B1azll2ETo7DTiM8CysrH6g4s5NCgkOz6ZdU8Q0j',
'k8s-resources-multicluster.json': std.md5('k8s-resources-multicluster.json'),
'k8s-resources-cluster.json': std.md5('k8s-resources-cluster.json'),
'k8s-resources-namespace.json': std.md5('k8s-resources-namespace.json'),
'k8s-resources-pod.json': std.md5('k8s-resources-pod.json'),
'k8s-multicluster-rsrc-use.json': std.md5('k8s-multicluster-rsrc-use.json'),
'k8s-cluster-rsrc-use.json': std.md5('k8s-cluster-rsrc-use.json'),
'k8s-node-rsrc-use.json': std.md5('k8s-node-rsrc-use.json'),
'nodes.json': std.md5('nodes.json'),
'persistentvolumesusage.json': std.md5('persistentvolumesusage.json'),
'pods.json': std.md5('pods.json'),
'statefulset.json': std.md5('statefulset.json'),
'k8s-resources-windows-cluster.json': std.md5('k8s-resources-windows-cluster.json'),
'k8s-resources-windows-namespace.json': std.md5('k8s-resources-windows-namespace.json'),
'k8s-resources-windows-pod.json': std.md5('k8s-resources-windows-pod.json'),
'k8s-windows-cluster-rsrc-use.json': std.md5('k8s-windows-cluster-rsrc-use.json'),
'k8s-windows-node-rsrc-use.json': std.md5('k8s-windows-node-rsrc-use.json'),
'k8s-resources-workloads-namespace.json': std.md5('k8s-resources-workloads-namespace.json'),
'k8s-resources-workload.json': std.md5('k8s-resources-workload.json'),
'apiserver.json': std.md5('apiserver.json'),
'controller-manager.json': std.md5('controller-manager.json'),
'scheduler.json': std.md5('scheduler.json'),
'proxy.json': std.md5('proxy.json'),
'kubelet.json': std.md5('kubelet.json'),
},

// Support for Grafana 7.2+ `$__rate_interval` instead of `$__interval`
Expand Down
Loading

0 comments on commit b247371

Please sign in to comment.