We should add metrics for the amount of storage used by topics with remote write enabled:
Current size for data stored in the cloud. This metric should account for compaction and retention.
Total size which includes data stored both locally and in the cloud. The overlap between the two should be subtracted, leaving in the total number of bytes accessible to clients.
https://github.com/redpanda-data/redpanda/issues/7920 is about admin API for live data, suitable for GUIs like Console to fetch on demand, and also providing a bit more detail so that GUIs can do things like showing the user what offset range is in local vs. remote storage.
We should add metrics for the amount of storage used by topics with remote write enabled:
JIRA Link: CORE-1060