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.
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.