-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add localPV workload dashboard #29
Conversation
7d1e9bc
to
f3034da
Compare
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
… filesystem Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
f3034da
to
fd72355
Compare
@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. |
Signed-off-by: Sahil Raja <[email protected]>
@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 <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
Signed-off-by: Sahil Raja <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Signed-off-by: Sahil Raja [email protected]
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