-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cluster Object Storage Space usage page #39
Comments
Dependent on basho/riak_cs#612. |
Edited description to reflect a clarification from customer -- preferably include top users (who are taking up 10+% of the cluster) in the overview pie chart. |
I think it's important to put this information into the associated riak_cs request, if the customer has any expectation that the usage data should matched, as these may be generated on different schedules. |
Looks like I misinterpreted the data being asked for. Let me refine this. |
This need to be revised to show the correct presentation for the users who are > 10%, or derivation of. |
First pass at calculating free disk space for the whole cluster (Riak CS basho/riak_cs#612) can be found here: dmitrizagidulin/riak_cs@basho:master...feature/cluster_stats_demo (riak-cs@127.0.0.1)1> riak_cs_riak_stats:get_riak_cluster_disk_usage().
{struct,[{<<"cluster_capacity">>,230398124},
{<<"cluster_disk_usage_kb">>,32255737},
{<<"cluster_disk_free_kb">>,198142387},
{<<"cluster_node_count">>,1},
{<<"n_val">>,3},
{<<"object_storage_capacity_remaining_kb">>,66047462}]} or via rest:
On the Riak CS Control side, that's implemented here (calls out to the riak cs disk usage rest api): https://github.com/dmitrizagidulin/riak_cs_control/compare/feature;cluster_stats_demo I'm working on the user storage statistics part at the moment (porting a proof of concept ruby Fog script to erlang), and then it should be ready to graph. |
Hi @jgnewman It is just a screenshot or functionality exists ? is this project active any more ? |
A significant portion of this functionality appeared in https://github.com/TI-Tokyo/riak_cs/releases/tag/3.2.3. |
And more, in 3.2.4. |
Create a page where a user can tell overall cluster storage usage.
A pie chart or some other visual element, denoting:
(obviously, substitute appropriate magnitudes for gigabytes, terabytes, etc).
Specifically, this is an overview of objects stored, not raw disk space (meaning, it needs to take into account the n_val, # of nodes, free disk space remaining on each node, etc, and perform the appropriate calculations).
The text was updated successfully, but these errors were encountered: