Skip to content

Commit

Permalink
fix: handle aggr_space_used_percent in aggr (NetApp#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardikl authored Nov 10, 2022
1 parent 24e4c2b commit acb956b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/rest/9.10.0/aggr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ plugins:
- total_physical_used SUBTRACT space.efficiency.logical_used space.efficiency.savings
- physical_used_wo_snapshots SUBTRACT space.efficiency_without_snapshots.logical_used space.efficiency_without_snapshots.savings
- physical_used_wo_snapshots_flexclones SUBTRACT space.efficiency_without_snapshots_flexclones.logical_used space.efficiency_without_snapshots_flexclones.savings
- space_used_percent DIVIDE space.block_storage.used space.block_storage.size
- space_used_percent MULTIPLY space_used_percent 100


export_options:
instance_keys:
Expand Down
2 changes: 2 additions & 0 deletions conf/rest/9.12.0/aggr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ plugins:
- total_physical_used SUBTRACT space.efficiency.logical_used space.efficiency.savings
- physical_used_wo_snapshots SUBTRACT space.efficiency_without_snapshots.logical_used space.efficiency_without_snapshots.savings
- physical_used_wo_snapshots_flexclones SUBTRACT space.efficiency_without_snapshots_flexclones.logical_used space.efficiency_without_snapshots_flexclones.savings
- space_used_percent DIVIDE space.block_storage.used space.block_storage.size
- space_used_percent MULTIPLY space_used_percent 100

export_options:
instance_keys:
Expand Down
4 changes: 4 additions & 0 deletions grafana/dashboards/cmode/aggregate.json
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,10 @@
}
]
}
},
{
"id": "decimals",
"value": 0
}
]
},
Expand Down

0 comments on commit acb956b

Please sign in to comment.