Skip to content
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

Feat: Add Stats APIs for per provider stats (for Provider Console) #307

Open
13 tasks
anilmurty opened this issue Aug 14, 2024 · 2 comments
Open
13 tasks
Assignees
Labels
P1 priority 1 feature/ enhancement

Comments

@anilmurty
Copy link

Problem Statement

For the work happening in #220 - one of the things we would like to do is offer a per provider dashboard. For the first iteration of the provider console dashboard, we intend to keep it simple and offer a subset of what is available in https://stats.akash.network/ but filtered to the specific provider.

Requirement

Offer APIs to query the following stats per provider - ideally available for 7d, 1m or ALL time (similar to stats page):

Network Summary Stats

  • USD Spent (24h)
  • Total USD Spent
  • New Leases (24h)
  • Total Leases

Resources Leased Stats

  • Active Leases
  • Compute
  • Graphics
  • Memory
  • Storage

Spent Assets Stats

  • AKT Spent (24h)
  • Total AKT Spent
  • USDC Spent (24h)
  • Total Spent USDC

Note that this is just using the labels for the stats as they appear on the stats page. The labels we will use in the UI will be different (for example "AKT Earned")

@anilmurty
Copy link
Author

@jigar-arc10 - please add anything I missed

@jigar-arc10 jigar-arc10 mentioned this issue Aug 16, 2024
2 tasks
@Redm4x
Copy link
Contributor

Redm4x commented Sep 17, 2024

September 17th, 2024

The first iteration of this is almost done and should be available this week. It will include all the listed stats for the current day. Providing historical data (7d, 1m, all) will be a bit more challenging and will come as a second iteration later on as it will probably require changes to the indexer.

@baktun14 baktun14 added the P1 priority 1 feature/ enhancement label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 priority 1 feature/ enhancement
Projects
Status: In Progress (prioritized)
Development

No branches or pull requests

3 participants