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

Feature Request: Quota Support #31

Open
nickyruggs opened this issue Jun 15, 2017 · 1 comment
Open

Feature Request: Quota Support #31

nickyruggs opened this issue Jun 15, 2017 · 1 comment

Comments

@nickyruggs
Copy link
Contributor

Can we get a feature to track quota usage, directory quotas at first. I figure a quota dashboard for visualization, maybe just adding the list of directories in the .cfg file like we do for the stats. The time history of this would be powerful for capacity planning. (i.e. access zone based multi-tenancy)

@eschek87
Copy link

eschek87 commented May 28, 2018

Maybe you can write a script on your own, what I had done in powershell:

  1. You need to query the namespace to get your folders at: https://clusterip:8080/namespace/ifs/.../.../abc
  2. Take that output, loop through each entry and check/query for quotas: https://clusterip:8080/platform/3/quota/quotas?path=/ifs.../.../abc

or if you would like to get all sub directories quotas too you could add "&recurse_path_children=true"

and safe it in influxdb or graphite.

All possible option for quotas could be found at: https://cluster-ip:8080/platform/3/quota/quotas?describe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants