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

Closed
13 tasks
anilmurty opened this issue Aug 14, 2024 · 3 comments
Closed
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

@github-project-automation github-project-automation bot moved this to Backlog (not prioritized) in Core Product and Engineering Roadmap Aug 14, 2024
@anilmurty anilmurty moved this from Backlog (not prioritized) to Up Next (prioritized) in Core Product and Engineering Roadmap Aug 14, 2024
@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.

@Redm4x
Copy link
Contributor

Redm4x commented Nov 14, 2024

Closing this as the basic dashboard endpoint is done & merged. The remaining graph endpoint has a lower priority and will be tracked in #473

@Redm4x Redm4x closed this as completed Nov 14, 2024
@github-project-automation github-project-automation bot moved this from In Progress (prioritized) to Released (in Prod) in Core Product and Engineering Roadmap Nov 14, 2024
@github-project-automation github-project-automation bot moved this to Backlog (not prioritized) in Client Product and Engineering Roadmap Dec 3, 2024
@anilmurty anilmurty moved this from Backlog (not prioritized) to Released (in Prod) in Client Product and Engineering Roadmap Dec 3, 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: Released (in Prod)
Status: Released (in Prod)
Development

No branches or pull requests

3 participants