question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display info on repo usage/space remaining

See original GitHub issue

Is there any interest in some UI which displays how much space is remaining in the repo? I currently don’t see this information available from anywhere within the UI.

We could use the /api/v0/stats/repo API to display some sort of bar for RepoSize / StorageMax.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
lidelcommented, Feb 14, 2018

Yup, actually, it is currently being designed! Status widget will be initially introduced in IPFS Desktop, but will eventually also land in WebUI (when we get back to refreshing it).

See initial mockup of such “stats gauge” at: https://github.com/ipfs-shipyard/pm-ipfs-gui/issues/12#issuecomment-361733414 (last one). FYI there are even more mockups for various parts of new UI Kit at https://github.com/ipfs-shipyard/pm-ipfs-gui/issues/7#issuecomment-364497449 (note this is not final, just work in progress 😃)

2reactions
olizillacommented, Dec 20, 2018

Comment from @lidel in https://github.com/ipfs-shipyard/ipfs-webui/issues/887#issuecomment-440330288


Here’s an idea: replace CountryChart with a “StorageChart” – a pie chart composed from various sources:

  • RepoSize vs StorageMax from ipfs stats repo --size-only
  • CumulativeSize('/') from ipfs files stat / --size (and maybe lazy-loaded ipfs files stat / --size --with-local which is expensive)

How is this useful?

  • If GC is ON: You see actual size of your repo, available space etc.
    • Each segment could be clickable (cursor: help) and open docs explaining IPFS concepts (opportunity to improve docs, as we don’t have “ipfs repository” on the concepts page yet)
    • Could be a good opportunity to identify missing APIs to make it even more useful.
  • If GC is OFF: People may have GC disabled but not know it. We could compare (StorageMax&RepoSize) and if RepoSize is bigger, use it as 100% and display the chunk over StorageMax in red. Clicking on it or hovering could display information about GC (how it works, how to enable it).

I would like to hear your thoughts on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Viewing your GitHub Packages usage
You can view details of your usage of storage and data transfer for GitHub Packages.
Read more >
How can I tell how much LFS storage space is used
The simplest way to identify the amount of LFS space used by any one repo would be to fetch the files and then...
Read more >
Analyse disk usage - Tutorials, Tips & Tricks - GitLab Forum
If it is not the backups directory consuming space, then it will most likely be your repository data.
Read more >
9.6.6 Monitoring Fast Recovery Area Space Usage
It is important to monitor space usage in the fast recovery area to ensure that it is large enough to contain backups and...
Read more >
How to Check Disk Space in Linux - groovyPost
As you can see, Disks provides you with the size of the volume, free space remaining, and the percentage of disk space used....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found