Skip to content
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

Merged
merged 14 commits into from
Jun 28, 2021
Prev Previous commit
Next Next commit
Resolved grafana version error for dashboard
Signed-off-by: Sahil Raja <[email protected]>
  • Loading branch information
rajaSahil committed Jun 24, 2021
commit 502c8ee1fa3b4678cb7d51351ef475ca77ad7fce
Original file line number Diff line number Diff line change
Expand Up @@ -3012,7 +3012,7 @@
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Device: {{device}} ,Path: $Path - Read merged",
"legendFormat": "Pvc: $pvcName, Device: {{device}} ,Path: $Path - Read merged",
"refId": "A",
"step": 240
},
Expand Down Expand Up @@ -4113,10 +4113,7 @@
"multi": false,
"name": "cluster",
"options": [],
"query": {
"query": "label_values(kube_pod_info, cluster)",
"refId": "Prometheus-cluster-Variable-Query"
},
"query": "label_values(kube_pod_info, cluster)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4140,10 +4137,7 @@
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)",
"refId": "Prometheus-namespace-Variable-Query"
},
"query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4167,10 +4161,7 @@
"multi": false,
"name": "workload",
"options": [],
"query": {
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\"}, workload)",
"refId": "StandardVariableQuery"
},
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\"}, workload)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4194,10 +4185,7 @@
"multi": false,
"name": "type",
"options": [],
"query": {
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{workload=\"$workload\"}, workload_type)",
"refId": "StandardVariableQuery"
},
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{workload=\"$workload\"}, workload_type)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4221,10 +4209,7 @@
"multi": false,
"name": "pod",
"options": [],
"query": {
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{workload=\"$workload\"},pod)",
"refId": "StandardVariableQuery"
},
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{workload=\"$workload\"},pod)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4248,10 +4233,7 @@
"multi": false,
"name": "pvcName",
"options": [],
"query": {
"query": "label_values(kube_pod_spec_volumes_persistentvolumeclaims_info{pod=~'$pod'},persistentvolumeclaim)",
"refId": "StandardVariableQuery"
},
"query": "label_values(kube_pod_spec_volumes_persistentvolumeclaims_info{pod=~'$pod'},persistentvolumeclaim)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4275,10 +4257,7 @@
"multi": false,
"name": "pvName",
"options": [],
"query": {
"query": "label_values(kube_persistentvolumeclaim_info{persistentvolumeclaim='$pvcName'},volumename)",
"refId": "StandardVariableQuery"
},
"query": "label_values(kube_persistentvolumeclaim_info{persistentvolumeclaim='$pvcName'},volumename)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4302,10 +4281,7 @@
"multi": false,
"name": "lvmDevice",
"options": [],
"query": {
"query": "label_values(lvm_lv_total_size_bytes{name='$pvName'},device)",
"refId": "StandardVariableQuery"
},
"query": "label_values(lvm_lv_total_size_bytes{name='$pvName'},device)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4329,10 +4305,7 @@
"multi": false,
"name": "Path",
"options": [],
"query": {
"query": "label_values(lvm_lv_total_size_bytes{device='$lvmDevice'},path)",
"refId": "StandardVariableQuery"
},
"query": "label_values(lvm_lv_total_size_bytes{device='$lvmDevice'},path)",
"refresh": 0,
"regex": "",
"skipUrlSync": false,
Expand All @@ -4356,10 +4329,7 @@
"multi": false,
"name": "dmPath",
"options": [],
"query": {
"query": "label_values(lvm_lv_total_size_bytes{name='$pvName'},dm_path)",
"refId": "StandardVariableQuery"
},
"query": "label_values(lvm_lv_total_size_bytes{name='$pvName'},dm_path)",
"refresh": 0,
"regex": "",
"skipUrlSync": false,
Expand Down