ceph / ceph-telemetry

GNU General Public License v3.0
4 stars 9 forks source link

add capacity_by_version stored procedure #20

Closed yaarith closed 2 years ago

yaarith commented 3 years ago

Allow breakdown by (major / minor) version for total & used capacity in the public dashboard.

Since reported telemetry statistics are aggregated by daemons, we cannot tell exactly how many bytes / used bytes represent a certain version in each cluster. A good heuristic is to calculate for each cluster an average of total (and used) bytes per osd, and multiply it by the number of osds per version in that cluster.

Signed-off-by: Yaarit Hatuka yaarit@redhat.com