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

feat: data protection dashboard - part1 - snapshots #664

Merged
merged 9 commits into from
Dec 2, 2021
Prev Previous commit
Next Next commit
feat: data protection dashboard - part1 - small correction
  • Loading branch information
Hardikl committed Nov 24, 2021
commit 6a87c214c7eb57c818575d1d96b5c3deefd96f0d
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
"targets": [
{
"exemplar": false,
"expr": "label_replace(label_replace(volume_labels{cluster=~\"$Cluster\", snapshot_policy!=\"\", volume!~\"MDV.*\"}, \"Status\", \"Protected\", \"snapshot_policy\", \"(.*)\") , \"Status\", \"Unprotected\", \"snapshot_policy\", \"(none.*)\") * on (snapshot_policy) group_left () group by (snapshot_policy) (snapshot_total_schedules{})",
"expr": "label_replace(label_replace(volume_labels{datacenter=\"$Datacenter\", cluster=~\"$Cluster\", snapshot_policy!=\"\", volume!~\"MDV.*\"}, \"Status\", \"Protected\", \"snapshot_policy\", \"(.*)\") , \"Status\", \"Unprotected\", \"snapshot_policy\", \"(none.*)\") * on (snapshot_policy) group_left () group by (snapshot_policy) (snapshot_total_schedules{})",
"format": "table",
"instant": true,
"interval": "",
Expand Down Expand Up @@ -855,10 +855,10 @@
"targets": [
{
"exemplar": true,
"expr": "volume_labels{datacenter=\"$Datacenter\", cluster=~\"$Cluster\", snapshot_policy!=\"\", snapshot_policy!~\"none.*\"} * on (snapshot_policy) group_left () group by (snapshot_policy) (snapshot_total_schedules{}) * on (volume, svm, cluster) group_right() ( volume_snapshot_reserve_size{} >= 0 and volume_snapshots_size_used{} >= 0)",
"expr": "volume_labels{datacenter=\"$Datacenter\", cluster=~\"$Cluster\", snapshot_policy!=\"\", snapshot_policy!~\"none.*\"} * on (snapshot_policy) group_left () group by (snapshot_policy) (snapshot_total_schedules{}) * on (volume, svm, cluster) group_right() ( volume_snapshot_reserve_size{datacenter=\"$Datacenter\", cluster=~\"$Cluster\"} >= 0 and volume_snapshots_size_used{datacenter=\"$Datacenter\", cluster=~\"$Cluster\"} >= 0)",
"format": "table",
"hide": false,
"instant": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
Expand All @@ -869,6 +869,7 @@
"expr": "volume_snapshots_size_used{datacenter=\"$Datacenter\", cluster=~\"$Cluster\"}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
Expand Down