Feature Request: API endpoint for Praefect Dataloss
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
Currently admins must SSH into a Praefect server and the CLI command praefect dataloss to determine if there are outdated repositories / potential dataloss. This is slow and difficult to automate, particularly because the output is not in a machine-readable format.
An API endpoint to report this data would be useful to allow admins to setup automatic health checks on their Gitaly Cluster.
This would require a number of changes to implement:
- Add a new API endpoint to
gitlab - Create a new RPC for this type of request in
gitlabandgitaly - Implement the new RPC in
gitaly
Edited by 🤖 GitLab Bot 🤖