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 provider stats endpoint #402

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Redm4x
Copy link
Contributor

@Redm4x Redm4x commented Oct 11, 2024

Add stats api for provider console (#307)

Added the /internal/provider-dashboard/{owner} endpoint that returns similar stats as stats.akash.network, but filtered for a single provider. The logic and response structure was kept similar to make it easy to reuse the same code/components.

Persistent and ephemeral storage were split into separate values so that they can be represented in different tiles if necessary.

This PR only adds the endpoint for the dashboard, a separate PR will include the endpoint for the graphs.

feat: add provider stats endpoint
@Redm4x Redm4x force-pushed the feat/provider-stats-endpoints branch from 4d7b4bb to 66e11a6 Compare October 15, 2024 13:58
@Redm4x Redm4x marked this pull request as ready for review October 15, 2024 14:59
@Redm4x Redm4x requested a review from a team as a code owner October 15, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants