Feature #11904
openceph-cli: let "ceph report" support compressed json dump
0%
Description
ceph report is very useful to monitor the status of ceph whatever io statistic or cluster status. But for a large cluster(>100 osds) ceph report is a heavy operation because it will dump nearly 30MB data. Lots of white space is filled. Maybe we can support command like "ceph report --compressed" to make output less?
Updated by John Spray almost 9 years ago
There has been discussion about making Formatter provide streaming output instead of composing everything into one big bufferlist before output. If that was done, then folks could compress things however they wanted.
More specifically about "ceph report", it is not a good idea to poll this because it includes status for all PGs, and in large systems there can be millions. There are various "ceph pg ls..." variants that let you query a subset to avoid having to dump all at once.