Closed rajaSahil closed 3 years ago
@kmova @rajaSahil Is it possible to directly import the dashboard json in grafana without doing helm install? I was trying to add above dashboard in my local cluster, but there seems to be some helm template vars being used in dashboard json as well.
@iyashu There are no helm template vars used in the json. However, there were few links used that might have caused the error. I have removed those links. So can you please try again to import the updated json in grafana?
Signed-off-by: Sahil Raja sahil.raja@mayadata.io
What this PR does?
NOTE
To map persistentvolume_claim with localPV device using join, use this expression
kube_persistentvolumeclaim_info * on(volumename) group_left openebs_size_of_volume
To map workload with localPV device using join, use this expression
openebs_size_of_volume * on(volumename) group_right(device) kube_persistentvolumeclaim_info * on(persistentvolumeclaim) group_left kube_pod_spec_volumes_persistentvolumeclaims_info * on(pod) group_left namespace_workload_pod:kube_pod_owner:relabel
How dashboards mapping are done?
To map workload to mountPoint for filesystem dashboards:
To map workload to localPV device for disk dashboards:
Variable dependencies:
Screenshots
Note
Ref