Skip to content

Commit

Permalink
feat: update qtree template doc - collect quotas when no qtrees (#3056)
Browse files Browse the repository at this point in the history
* feat: update qtree template doc -  collect quotas when no qtrees

* feat: update qtree template doc -  collect quotas when no qtrees

* feat: handled review comments
  • Loading branch information
Hardikl authored Jul 22, 2024
1 parent 7b5a0f5 commit f952764
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conf/rest/9.12.0/qtree.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# If you need to collect quotas from a cluster that has no qtrees, remove the filter lines below.
# Refer https://github.com/NetApp/harvest/discussions/3057 for more details.
name: Qtree
query: api/storage/qtrees
object: qtree
Expand All @@ -11,7 +13,7 @@ counters:
- ^export_policy.name => export_policy
- ^security_style => security_style
- id => id
- filter:
- filter: # If you need to collect quotas from a cluster with no qtrees, remove this line and the next one.
- name=!""


Expand All @@ -23,7 +25,7 @@ endpoints:
- ^^vserver => svm
- ^oplock_mode => oplocks
- ^status => status
- filter:
- filter: # If you need to collect quotas from a cluster with no qtrees, remove this line and the next one.
- qtree=!""
plugins:
- Qtree:
Expand Down

0 comments on commit f952764

Please sign in to comment.