Add an admin api #52

Open
opened 2022-06-17 17:50:38 +02:00 by jackrobison · 0 comments
jackrobison commented 2022-06-17 17:50:38 +02:00 (Migrated from github.com)

As a hub operator, it would be useful to be able to:

  • change values of hub component settings without restarting the components
  • check the status of hub components
  • run diagnostics and maintenance on the database (scan for integrity errors, repair damaged dbs, rebuild indexes, drop optional indexes, etc)
  • request usage statistics
  • request hub component resource usage information
  • request mempool / other information from either lbcd or lbrycrd directly
  • call generate on lbcd/lbrycrd on regtest so that the docker stack can be used for integration tests

A new HubAdminService can be added that can expose a single admin api to do these things across the other running and configured hub services.

As a hub operator, it would be useful to be able to: - change values of hub component settings without restarting the components - check the status of hub components - run diagnostics and maintenance on the database (scan for integrity errors, repair damaged dbs, rebuild indexes, drop optional indexes, etc) - request usage statistics - request hub component resource usage information - request mempool / other information from either lbcd or lbrycrd directly - call `generate` on lbcd/lbrycrd on regtest so that the docker stack can be used for integration tests A new `HubAdminService` can be added that can expose a single admin api to do these things across the other running and configured hub services.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/hub#52
No description provided.