Add an admin api
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start by reviewing the proposed HubAdminService and the configured hub services it would coordinate, including lbcd, lbrycrd, and the database. Break the requested operations into defined API responsibilities, then verify that the design covers component settings, status, diagnostics, usage data, resource information, direct daemon information, and regtest generation for the docker stack.
Written by the indexing model from the issue text.
Description
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
generateon 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.
- Dominant language
- Python
- Stars
- 15
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lbryio/hub
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Bump to protobuf==3.18.3 within lbry-sdk repo causes MacOS unit test failuresMay be free again @moodyjon claimed this 1350 days ago, and no pull request is open. Openpriority: high
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Herald needs to accept ipv6 ping and reply with an ipv6 pongMay be free again @moodyjon claimed this 1376 days ago, and no pull request is open. Openarea: herald new feature
-
area: herald type: bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-2 days Newbie friendliness 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroOpen
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 7 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pyiron/bagofholding#166 ·